Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTest.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.GeneratorTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|generator.p.1.|generator.p.2.|generator.phi",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTest") translateModel(PowerSystems.Examples.Generic.Test.GeneratorTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|generator.p.1.|generator.p.2.|generator.phi",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 103 kB / 17.16 MB, free: 6.32 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.001031/0.001031, allocations: 190.9 kB / 18.07 MB, free: 5.414 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.292/1.292, allocations: 222.9 MB / 241.7 MB, free: 13.82 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1653/0.1653, allocations: 38.03 MB / 329.9 MB, free: 8.875 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001039/0.001039, allocations: 57.81 kB / 398.7 MB, free: 34.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1028, allocations: 58.06 MB / 456.8 MB, free: 8.523 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.GeneratorTest): time 0.00435/0.1072, allocations: 3.552 MB / 460.3 MB, free: 4.945 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001509/0.1088, allocations: 1.287 MB / 461.6 MB, free: 3.652 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001157/0.1089, allocations: 15.88 kB / 461.6 MB, free: 3.637 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005173/0.1094, allocations: 147.4 kB / 461.8 MB, free: 3.492 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003038/0.1097, allocations: 167.4 kB / 462 MB, free: 3.328 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002215/0.11, allocations: 119.7 kB / 462.1 MB, free: 3.211 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003409/0.1103, allocations: 382.8 kB / 462.4 MB, free: 2.836 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002548/0.1106, allocations: 110 kB / 462.6 MB, free: 2.73 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001489/0.1107, allocations: 107.5 kB / 462.7 MB, free: 2.625 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001466/0.1109, allocations: 111.6 kB / 462.8 MB, free: 2.516 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.129e-05/0.1109, allocations: 15.88 kB / 462.8 MB, free: 2.5 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003625/0.1113, allocations: 279.3 kB / 463.1 MB, free: 2.227 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.565e-05/0.1114, allocations: 63.8 kB / 463.1 MB, free: 2.164 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.923e-05/0.1115, allocations: 95.48 kB / 463.2 MB, free: 2.07 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002446/0.1117, allocations: 211.6 kB / 463.4 MB, free: 1.863 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1117, allocations: 0 / 463.4 MB, free: 1.863 MB / 334.1 MB Notification: Performance of FrontEnd: time 7.52e-07/0.1117, allocations: 4 kB / 463.4 MB, free: 1.859 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.1117, allocations: 0 / 463.4 MB, free: 1.859 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0005956/0.1123, allocations: 0.4988 MB / 463.9 MB, free: 1.312 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.1124, allocations: 12.03 kB / 463.9 MB, free: 1.301 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006176/0.113, allocations: 72.67 kB / 464 MB, free: 1.23 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000278/0.1133, allocations: 260.6 kB / 464.3 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.1133, allocations: 12.7 kB / 464.3 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.512e-05/0.1134, allocations: 16.38 kB / 464.3 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003851/0.1137, allocations: 272 kB / 464.6 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.1138, allocations: 4 kB / 464.6 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.32e-05/0.1138, allocations: 8 kB / 464.6 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.686e-05/0.1138, allocations: 20.31 kB / 464.6 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003283/0.1142, allocations: 220 kB / 464.8 MB, free: 384 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001444/0.1156, allocations: 1.206 MB / 466 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002083/0.1158, allocations: 141.2 kB / 466.1 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.767e-05/0.1159, allocations: 49.77 kB / 466.2 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.623e-05/0.1159, allocations: 0 / 466.2 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.116, allocations: 42.5 kB / 466.2 MB, free: 14.8 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.112e-06/0.116, allocations: 0 / 466.2 MB, free: 14.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003136/0.1163, allocations: 161.3 kB / 466.4 MB, free: 14.64 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.189e-05/0.1163, allocations: 89.17 kB / 466.5 MB, free: 14.54 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000174/0.1165, allocations: 206.9 kB / 466.7 MB, free: 14.32 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.1165, allocations: 25.7 kB / 466.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.216e-05/0.1166, allocations: 159.8 kB / 466.9 MB, free: 14.13 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.408e-05/0.1167, allocations: 43.36 kB / 466.9 MB, free: 14.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.406e-05/0.1167, allocations: 37.7 kB / 466.9 MB, free: 14.05 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.1169, allocations: 330.8 kB / 467.3 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.35e-05/0.1169, allocations: 47.98 kB / 467.3 MB, free: 13.67 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001163/0.1171, allocations: 121 kB / 467.4 MB, free: 13.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001967/0.1173, allocations: 186.1 kB / 467.6 MB, free: 13.3 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.1173, allocations: 0 / 467.6 MB, free: 13.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002645/0.1175, allocations: 205.1 kB / 467.8 MB, free: 13.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.1176, allocations: 8 kB / 467.8 MB, free: 13.08 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/0.1176, allocations: 4.344 kB / 467.8 MB, free: 13.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.1176, allocations: 15.88 kB / 467.8 MB, free: 13.06 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002165/0.1178, allocations: 51.91 kB / 467.9 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008942/0.1187, allocations: 1.325 MB / 469.2 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.668e-05/0.1189, allocations: 15.84 kB / 469.2 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.776e-05/0.1189, allocations: 12 kB / 469.2 MB, free: 11.53 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001188/0.119, allocations: 141.7 kB / 469.4 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.099e-05/0.119, allocations: 19.75 kB / 469.4 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002096/0.1193, allocations: 139 kB / 469.5 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.1193, allocations: 4 kB / 469.5 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-06/0.1193, allocations: 96 / 469.5 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.1193, allocations: 7.984 kB / 469.5 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005888/0.1199, allocations: 495.9 kB / 470 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.1199, allocations: 3.984 kB / 470 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001607/0.1201, allocations: 35.86 kB / 470.1 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.1201, allocations: 4 kB / 470.1 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.1201, allocations: 4 kB / 470.1 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007986/0.1209, allocations: 1.329 MB / 471.4 MB, free: 9.148 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.1209, allocations: 0 / 471.4 MB, free: 9.148 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003115/0.1212, allocations: 313.9 kB / 471.7 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.071e-05/0.1213, allocations: 88.95 kB / 471.8 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.376e-05/0.1213, allocations: 4 kB / 471.8 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.33e-05/0.1214, allocations: 11.92 kB / 471.8 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.895e-05/0.1215, allocations: 11.94 kB / 471.8 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/0.1215, allocations: 12.05 kB / 471.8 MB, free: 8.672 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001161/0.1216, allocations: 143.2 kB / 472 MB, free: 8.531 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1216, allocations: 0 / 472 MB, free: 8.531 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003003/0.1219, allocations: 47.94 kB / 472 MB, free: 8.484 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (inertia.w,constantTorque.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 (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.914e-05/0.122, allocations: 95.25 kB / 472.1 MB, free: 8.383 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002821/0.1223, allocations: 136.2 kB / 472.3 MB, free: 8.25 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.1223, allocations: 4 kB / 472.3 MB, free: 8.246 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001402/0.1225, allocations: 56 kB / 472.3 MB, free: 8.191 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003653/0.1229, allocations: 34.67 kB / 472.3 MB, free: 8.16 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009671/0.1238, allocations: 0.6143 MB / 473 MB, free: 7.508 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003135/0.1242, allocations: 0.744 MB / 473.7 MB, free: 6.734 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.507e-05/0.1242, allocations: 23.44 kB / 473.7 MB, free: 6.711 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1242, allocations: 0 / 473.7 MB, free: 6.711 MB / 350.1 MB Notification: Performance of Templates: time 0.004371/0.1286, allocations: 2.994 MB / 476.7 MB, free: 3.719 MB / 350.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTest.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTest.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.GeneratorTestCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTestCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTestCalcHelperMain.o] Error 1