Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.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.Introductory.ReferenceSynchron,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter_dq0.i.1.|meter_dq0.i.2.|meter_dq0.i.3.|meter_dq0.p.1.|meter_dq0.p.2.|meter_dq0.p.3.|meter_dq0.v.1.|meter_dq0.v.2.|meter_dq0.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron") translateModel(PowerSystems.Examples.Introductory.ReferenceSynchron,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter_dq0.i.1.|meter_dq0.i.2.|meter_dq0.i.3.|meter_dq0.p.1.|meter_dq0.p.2.|meter_dq0.p.3.|meter_dq0.v.1.|meter_dq0.v.2.|meter_dq0.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007918/0.0007919, allocations: 96.95 kB / 16.96 MB, free: 6.41 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.0008842/0.0008842, allocations: 179.7 kB / 17.84 MB, free: 5.969 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.431/1.431, allocations: 223.2 MB / 241.8 MB, free: 320 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.167/0.167, allocations: 38.1 MB / 331.1 MB, free: 8.855 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003054/0.0003054, allocations: 8 kB / 400.7 MB, free: 34.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09776/0.09808, allocations: 59.17 MB / 459.9 MB, free: 7.418 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceSynchron): time 0.00525/0.1034, allocations: 4.455 MB / 464.3 MB, free: 2.938 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002371/0.1058, allocations: 1.512 MB / 465.8 MB, free: 1.422 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002244/0.106, allocations: 23.81 kB / 465.9 MB, free: 1.398 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002456/0.1063, allocations: 87.38 kB / 465.9 MB, free: 1.312 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006246/0.1069, allocations: 262.7 kB / 466.2 MB, free: 1.055 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006742/0.1076, allocations: 235.6 kB / 466.4 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007124/0.1083, allocations: 0.6703 MB / 467.1 MB, free: 156 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008943/0.1092, allocations: 0.5231 MB / 467.6 MB, free: 15.6 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003035/0.1096, allocations: 207 kB / 467.8 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004714/0.11, allocations: 347.1 kB / 468.2 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.629e-05/0.1101, allocations: 24 kB / 468.2 MB, free: 15.03 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003853/0.1105, allocations: 183.6 kB / 468.4 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002085/0.1107, allocations: 223.5 kB / 468.6 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001003/0.1108, allocations: 109.5 kB / 468.7 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004855/0.1113, allocations: 498.8 kB / 469.2 MB, free: 14.03 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.1113, allocations: 0 / 469.2 MB, free: 14.03 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.145e-06/0.1113, allocations: 0 / 469.2 MB, free: 14.03 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.094e-06/0.1113, allocations: 0 / 469.2 MB, free: 14.03 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001171/0.1125, allocations: 0.6957 MB / 469.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.1126, allocations: 12.03 kB / 469.9 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004942/0.1131, allocations: 83.38 kB / 470 MB, free: 13.19 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005471/0.1136, allocations: 402 kB / 470.4 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.312e-05/0.1137, allocations: 32.98 kB / 470.4 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/0.1138, allocations: 47.98 kB / 470.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008905/0.1147, allocations: 0.6687 MB / 471.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.018e-05/0.1147, allocations: 0 / 471.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.189e-05/0.1148, allocations: 16 kB / 471.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001573/0.1149, allocations: 52.95 kB / 471.2 MB, free: 11.9 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000924/0.1159, allocations: 0.6713 MB / 471.8 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00321/0.1191, allocations: 2.517 MB / 474.4 MB, free: 8.586 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005406/0.1196, allocations: 345.2 kB / 474.7 MB, free: 8.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002994/0.12, allocations: 221.7 kB / 474.9 MB, free: 8.008 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.731e-05/0.12, allocations: 11.98 kB / 474.9 MB, free: 7.996 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/0.12, allocations: 38.56 kB / 475 MB, free: 7.949 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 1.894e-06/0.12, allocations: 0 / 475 MB, free: 7.949 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.00199/0.122, allocations: 1.341 MB / 476.3 MB, free: 6.551 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.029e-05/0.1221, allocations: 93.22 kB / 476.4 MB, free: 6.441 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002991/0.1224, allocations: 300.4 kB / 476.7 MB, free: 6.137 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.75e-05/0.1224, allocations: 33.7 kB / 476.7 MB, free: 6.098 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000156/0.1226, allocations: 251.6 kB / 477 MB, free: 5.844 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/0.1227, allocations: 149.8 kB / 477.1 MB, free: 5.695 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.085e-05/0.1228, allocations: 8 kB / 477.1 MB, free: 5.688 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.1229, allocations: 346.8 kB / 477.5 MB, free: 5.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002706/0.1232, allocations: 201 kB / 477.7 MB, free: 5.145 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000387/0.1236, allocations: 369 kB / 478 MB, free: 4.711 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003776/0.124, allocations: 265.1 kB / 478.3 MB, free: 4.453 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.124, allocations: 3.938 kB / 478.3 MB, free: 4.449 MB / 350.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0008718/0.1248, allocations: 0.6264 MB / 478.9 MB, free: 3.816 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.1249, allocations: 4.688 kB / 478.9 MB, free: 3.812 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.1249, allocations: 11.98 kB / 478.9 MB, free: 3.801 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/0.1249, allocations: 15.94 kB / 478.9 MB, free: 3.785 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003951/0.1253, allocations: 111.8 kB / 479.1 MB, free: 3.676 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.629e-05/0.1253, allocations: 15.94 kB / 479.1 MB, free: 3.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002084/0.1256, allocations: 23.98 kB / 479.1 MB, free: 3.637 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.195e-05/0.1256, allocations: 23.98 kB / 479.1 MB, free: 3.613 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (57): * Single equations (assignments): 55 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002372/0.1259, allocations: 217.6 kB / 479.3 MB, free: 3.391 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.197e-05/0.126, allocations: 39.48 kB / 479.4 MB, free: 3.352 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007372/0.1267, allocations: 0.4892 MB / 479.9 MB, free: 2.855 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.338e-05/0.1267, allocations: 12 kB / 479.9 MB, free: 2.844 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.1267, allocations: 0 / 479.9 MB, free: 2.844 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.1268, allocations: 3.984 kB / 479.9 MB, free: 2.84 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001686/0.1284, allocations: 1.104 MB / 481 MB, free: 1.672 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.1285, allocations: 0 / 481 MB, free: 1.672 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003199/0.1288, allocations: 67.89 kB / 481 MB, free: 1.605 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.1288, allocations: 4 kB / 481 MB, free: 1.602 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.878e-05/0.1288, allocations: 11.98 kB / 481.1 MB, free: 1.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.055e-05/0.1289, allocations: 4 kB / 481.1 MB, free: 1.586 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.1289, allocations: 0 / 481.1 MB, free: 1.586 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001071/0.1299, allocations: 0.8359 MB / 481.9 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.96e-05/0.13, allocations: 108.8 kB / 482 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.19e-05/0.1301, allocations: 8 kB / 482 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00018/0.1303, allocations: 15.98 kB / 482 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.208e-05/0.1303, allocations: 19.97 kB / 482 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.549e-05/0.1304, allocations: 8 kB / 482.1 MB, free: 0.543 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000207/0.1306, allocations: 219 kB / 482.3 MB, free: 340 kB / 350.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1306, allocations: 0 / 482.3 MB, free: 340 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004817/0.1311, allocations: 112 kB / 482.4 MB, free: 228 kB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.i[3]) * 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 (33): * Single equations (assignments): 30 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000225/0.1313, allocations: 126.9 kB / 482.5 MB, free: 92 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007242/0.132, allocations: 493.3 kB / 483 MB, free: 15.61 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1321, allocations: 0 / 483 MB, free: 15.61 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000289/0.1324, allocations: 223.8 kB / 483.2 MB, free: 15.39 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000526/0.1329, allocations: 71.19 kB / 483.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001981/0.1349, allocations: 1.403 MB / 484.7 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005553/0.1354, allocations: 0.8743 MB / 485.5 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001162/0.1356, allocations: 39.44 kB / 485.6 MB, free: 12.94 MB / 366.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1356, allocations: 0 / 485.6 MB, free: 12.94 MB / 366.1 MB Notification: Performance of Templates: time 0.008346/0.1439, allocations: 5.442 MB / 491 MB, free: 7.5 MB / 366.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchronCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchronCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchronCalcHelperMain.o] Error 1