Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTest2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Test.GeneratorTest2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|generator.p.1.|generator.p.2.|generator.phi|generator1.p.1.|generator1.p.2.|generator1.phi",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTest2") translateModel(PowerSystems.Examples.Generic.Test.GeneratorTest2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|generator.p.1.|generator.p.2.|generator.phi|generator1.p.1.|generator1.p.2.|generator1.phi",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTest2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009724/0.0009726, allocations: 107 kB / 17.16 MB, free: 6.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009486/0.0009486, allocations: 198.9 kB / 18.08 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 222.9 MB / 241.7 MB, free: 15.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1657/0.1657, allocations: 38.04 MB / 329.9 MB, free: 9.016 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001032/0.001032, allocations: 58.86 kB / 398.7 MB, free: 34.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.138, allocations: 58.05 MB / 456.8 MB, free: 8.551 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.GeneratorTest2): time 0.007915/0.1459, allocations: 5.352 MB / 462.1 MB, free: 3.168 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004963/0.1509, allocations: 2.617 MB / 464.8 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004008/0.1514, allocations: 19.94 kB / 464.8 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001422/0.1529, allocations: 416 kB / 465.2 MB, free: 116 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00164/0.1545, allocations: 486.3 kB / 465.7 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001032/0.1556, allocations: 255.4 kB / 465.9 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001446/0.157, allocations: 1.134 MB / 467 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007976/0.1579, allocations: 308.2 kB / 467.3 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005405/0.1584, allocations: 278.8 kB / 467.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006043/0.159, allocations: 338.8 kB / 467.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.453e-05/0.1591, allocations: 28 kB / 468 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001905/0.161, allocations: 0.7716 MB / 468.7 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002895/0.1613, allocations: 195.5 kB / 468.9 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000365/0.1617, allocations: 234.8 kB / 469.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001112/0.1628, allocations: 0.5652 MB / 469.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.1629, allocations: 7.938 kB / 469.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1629, allocations: 0 / 469.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.245e-06/0.1629, allocations: 0 / 469.7 MB, free: 11.55 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001472/0.1644, allocations: 0.7645 MB / 470.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.424e-05/0.1645, allocations: 12.03 kB / 470.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002536/0.167, allocations: 212.1 kB / 470.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006353/0.1677, allocations: 362.3 kB / 471.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.023e-05/0.1678, allocations: 29.36 kB / 471.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/0.1679, allocations: 44.38 kB / 471.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001295/0.1692, allocations: 0.6266 MB / 471.8 MB, free: 9.391 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.271e-05/0.1692, allocations: 11.91 kB / 471.8 MB, free: 9.379 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.542e-05/0.1693, allocations: 15.98 kB / 471.8 MB, free: 9.363 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-05/0.1694, allocations: 36.98 kB / 471.8 MB, free: 9.328 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001262/0.1707, allocations: 0.6089 MB / 472.4 MB, free: 8.719 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004337/0.175, allocations: 2.257 MB / 474.7 MB, free: 6.344 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007943/0.1758, allocations: 486.5 kB / 475.2 MB, free: 5.832 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004919/0.1763, allocations: 233.7 kB / 475.4 MB, free: 5.598 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.504e-05/0.1764, allocations: 11.98 kB / 475.4 MB, free: 5.586 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.286e-05/0.1765, allocations: 38.56 kB / 475.5 MB, free: 5.539 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 3.517e-06/0.1765, allocations: 0 / 475.5 MB, free: 5.539 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.005112/0.1816, allocations: 1.705 MB / 477.2 MB, free: 3.758 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.786e-05/0.1817, allocations: 81.11 kB / 477.2 MB, free: 3.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000436/0.1822, allocations: 283.1 kB / 477.5 MB, free: 3.371 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.113e-05/0.1822, allocations: 29.7 kB / 477.5 MB, free: 3.336 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001995/0.1824, allocations: 228 kB / 477.8 MB, free: 3.105 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001846/0.1826, allocations: 157.7 kB / 477.9 MB, free: 2.949 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001955/0.1828, allocations: 86.19 kB / 478 MB, free: 2.859 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000209/0.183, allocations: 350.7 kB / 478.3 MB, free: 2.508 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004178/0.1835, allocations: 180.9 kB / 478.5 MB, free: 2.328 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006009/0.1841, allocations: 294.4 kB / 478.8 MB, free: 2 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001035/0.1851, allocations: 0.5044 MB / 479.3 MB, free: 1.449 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.1852, allocations: 0 / 479.3 MB, free: 1.449 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001786/0.187, allocations: 0.6886 MB / 480 MB, free: 0.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.962e-05/0.187, allocations: 8 kB / 480 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.187, allocations: 4 kB / 480 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008096/0.1878, allocations: 173 kB / 480.2 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005091/0.1884, allocations: 95.83 kB / 480.3 MB, free: 484 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004715/0.1931, allocations: 2.532 MB / 482.8 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004003/0.1935, allocations: 23.98 kB / 482.8 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-05/0.1936, allocations: 16 kB / 482.9 MB, free: 13.78 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0003452/0.1939, allocations: 203.5 kB / 483.1 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001169/0.1941, allocations: 31.62 kB / 483.1 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001633/0.1957, allocations: 0.6414 MB / 483.7 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/0.1957, allocations: 4 kB / 483.7 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.1957, allocations: 4 kB / 483.7 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/0.1958, allocations: 3.984 kB / 483.7 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003158/0.1989, allocations: 1.347 MB / 485.1 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/0.1989, allocations: 8.062 kB / 485.1 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005073/0.1995, allocations: 79.89 kB / 485.2 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006379/0.2001, allocations: 144.7 kB / 485.3 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.233e-05/0.2002, allocations: 11.98 kB / 485.3 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003173/0.2034, allocations: 2.307 MB / 487.6 MB, free: 8.766 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.2034, allocations: 160 / 487.6 MB, free: 8.766 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001453/0.2048, allocations: 0.9569 MB / 488.6 MB, free: 7.777 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001353/0.205, allocations: 112.7 kB / 488.7 MB, free: 7.648 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.579e-05/0.2051, allocations: 12 kB / 488.7 MB, free: 7.637 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002216/0.2053, allocations: 11.98 kB / 488.7 MB, free: 7.625 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.279e-05/0.2054, allocations: 39.89 kB / 488.8 MB, free: 7.586 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.295e-05/0.2054, allocations: 16 kB / 488.8 MB, free: 7.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002462/0.2057, allocations: 201.9 kB / 489 MB, free: 7.371 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2057, allocations: 0 / 489 MB, free: 7.371 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006749/0.2063, allocations: 140 kB / 489.1 MB, free: 7.234 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (inertia.w,constantTorque.phi,inertia1.w,constantTorque1.phi) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001604/0.2065, allocations: 111.2 kB / 489.2 MB, free: 7.113 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001307/0.2078, allocations: 0.6729 MB / 489.9 MB, free: 6.426 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.686e-06/0.2078, allocations: 0.875 kB / 489.9 MB, free: 6.426 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006927/0.2085, allocations: 418.5 kB / 490.3 MB, free: 6.004 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005062/0.2091, allocations: 67.7 kB / 490.4 MB, free: 5.941 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002238/0.2113, allocations: 1.353 MB / 491.7 MB, free: 4.547 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005253/0.2119, allocations: 0.871 MB / 492.6 MB, free: 3.652 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001163/0.212, allocations: 35.42 kB / 492.6 MB, free: 3.621 MB / 366.1 MB Notification: Performance of SimCode: time 7.61e-07/0.212, allocations: 0 / 492.6 MB, free: 3.621 MB / 366.1 MB Notification: Performance of Templates: time 0.01118/0.2232, allocations: 6.876 MB / 499.5 MB, free: 12.74 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTest2.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTest2.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTest2CalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTest2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTest2CalcHelperMain.o] Error 1