Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001512/0.001512, allocations: 185.8 kB / 13.19 MB, free: 2.125 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.131/2.131, allocations: 205.2 MB / 218.9 MB, free: 9.215 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001105/0.001104, allocations: 87.88 kB / 267.1 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.4198/0.4198, allocations: 37.97 MB / 353.1 MB, free: 3.062 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.73e-05/4.741e-05, allocations: 4 kB / 416.8 MB, free: 41.3 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1044, allocations: 56.31 MB / 473.1 MB, free: 0.9258 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4675/0.572, allocations: 86.97 MB / 0.547 GB, free: 0.8164 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002955/0.5723, allocations: 83.94 kB / 0.547 GB, free: 0.7344 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00811/0.5804, allocations: 1.794 MB / 0.5488 GB, free: 14.95 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.5805, allocations: 0 / 0.5488 GB, free: 14.95 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.496e-05/0.5805, allocations: 4 kB / 0.5488 GB, free: 14.95 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0004714/0.581, allocations: 456.6 kB / 0.5492 GB, free: 14.45 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/0.5811, allocations: 12.03 kB / 0.5492 GB, free: 14.44 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.839e-05/0.5811, allocations: 11.81 kB / 0.5493 GB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002533/0.5814, allocations: 207.2 kB / 0.5494 GB, free: 14.18 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.5814, allocations: 4 kB / 0.5495 GB, free: 14.18 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.534e-05/0.5815, allocations: 7.938 kB / 0.5495 GB, free: 14.17 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002592/0.5817, allocations: 130.6 kB / 0.5496 GB, free: 14.03 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.5817, allocations: 0 / 0.5496 GB, free: 14.03 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.5818, allocations: 0 / 0.5496 GB, free: 14.03 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.5818, allocations: 0 / 0.5496 GB, free: 14.03 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001611/0.5819, allocations: 88.3 kB / 0.5497 GB, free: 13.95 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002252/0.5822, allocations: 205.9 kB / 0.5499 GB, free: 13.7 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000242/0.5824, allocations: 154.9 kB / 0.55 GB, free: 13.54 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002077/0.5827, allocations: 153.1 kB / 0.5502 GB, free: 13.38 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.936e-06/0.5827, allocations: 0 / 0.5502 GB, free: 13.38 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/0.5827, allocations: 34.56 kB / 0.5502 GB, free: 13.34 MB / 394.7 MB Notification: Performance of pre-optimization done (n=40): time 1.703e-06/0.5827, allocations: 3.938 kB / 0.5502 GB, free: 13.34 MB / 394.7 MB Notification: Performance of matching and sorting (n=40): time 0.0005867/0.5833, allocations: 321 kB / 0.5505 GB, free: 13.01 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.751e-05/0.5834, allocations: 105.1 kB / 0.5506 GB, free: 12.89 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001632/0.5836, allocations: 134.1 kB / 0.5507 GB, free: 12.75 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.5837, allocations: 25.7 kB / 0.5508 GB, free: 12.71 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.554e-05/0.5837, allocations: 167.4 kB / 0.5509 GB, free: 12.55 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001421/0.5839, allocations: 126 kB / 0.551 GB, free: 12.43 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.593e-06/0.5839, allocations: 0 / 0.551 GB, free: 12.43 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.5841, allocations: 322.8 kB / 0.5513 GB, free: 12.1 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001577/0.5842, allocations: 95.95 kB / 0.5514 GB, free: 12.01 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001533/0.5844, allocations: 95.89 kB / 0.5515 GB, free: 11.91 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002781/0.5847, allocations: 189.8 kB / 0.5517 GB, free: 11.72 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.5847, allocations: 0 / 0.5517 GB, free: 11.72 MB / 394.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005361/0.5852, allocations: 319.2 kB / 0.552 GB, free: 11.4 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001251/0.5854, allocations: 85.64 kB / 0.5521 GB, free: 11.31 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.5854, allocations: 0 / 0.5521 GB, free: 11.31 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.5854, allocations: 0 / 0.5521 GB, free: 11.31 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.644e-06/0.5854, allocations: 0 / 0.5521 GB, free: 11.31 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.5855, allocations: 0 / 0.5521 GB, free: 11.31 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.256e-05/0.5856, allocations: 27.67 kB / 0.5521 GB, free: 11.28 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.301e-05/0.5856, allocations: 19.94 kB / 0.5521 GB, free: 11.26 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0002277/0.5859, allocations: 196.5 kB / 0.5523 GB, free: 11.06 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.385e-05/0.5859, allocations: 23.8 kB / 0.5523 GB, free: 11.04 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.257e-05/0.586, allocations: 17.88 kB / 0.5524 GB, free: 11.02 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.586, allocations: 0 / 0.5524 GB, free: 11.02 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.586, allocations: 0 / 0.5524 GB, free: 11.02 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.586, allocations: 0 / 0.5524 GB, free: 11.02 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002369/0.5863, allocations: 225.3 kB / 0.5526 GB, free: 10.75 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.5863, allocations: 3.953 kB / 0.5526 GB, free: 10.74 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.298e-06/0.5863, allocations: 0 / 0.5526 GB, free: 10.74 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.5863, allocations: 7.938 kB / 0.5526 GB, free: 10.73 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.564e-05/0.5864, allocations: 7.984 kB / 0.5526 GB, free: 10.73 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.5864, allocations: 0 / 0.5526 GB, free: 10.73 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.5864, allocations: 0 / 0.5526 GB, free: 10.73 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001522/0.5879, allocations: 0.8965 MB / 0.5535 GB, free: 9.805 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.953e-05/0.588, allocations: 108.7 kB / 0.5536 GB, free: 9.68 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.597e-05/0.5881, allocations: 4 kB / 0.5536 GB, free: 9.676 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.045e-05/0.5882, allocations: 8 kB / 0.5536 GB, free: 9.668 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.666e-05/0.5882, allocations: 0 / 0.5536 GB, free: 9.668 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.783e-05/0.5882, allocations: 12 kB / 0.5536 GB, free: 9.656 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001147/0.5884, allocations: 116.5 kB / 0.5537 GB, free: 9.543 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.5884, allocations: 4.031 kB / 0.5537 GB, free: 9.539 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003683/0.5888, allocations: 71.94 kB / 0.5538 GB, free: 9.469 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0002263/0.589, allocations: 111.2 kB / 0.5539 GB, free: 9.352 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002119/0.5911, allocations: 1.581 MB / 0.5554 GB, free: 7.758 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.5912, allocations: 0 / 0.5554 GB, free: 7.758 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001656/0.5928, allocations: 1.366 MB / 0.5568 GB, free: 6.379 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002943/0.5931, allocations: 24.11 kB / 0.5568 GB, free: 6.355 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.5943, allocations: 0.5468 MB / 0.5573 GB, free: 5.781 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004304/0.5948, allocations: 0.761 MB / 0.5581 GB, free: 4.996 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.74e-05/0.5948, allocations: 7.438 kB / 0.5581 GB, free: 4.988 MB / 394.7 MB Notification: Performance of SimCode: time 1.603e-06/0.5948, allocations: 0 / 0.5581 GB, free: 4.988 MB / 394.7 MB Notification: Performance of Templates: time 0.006219/0.6011, allocations: 2.288 MB / 0.5603 GB, free: 2.707 MB / 394.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.makefile make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.makefile b'clang++ -fopenmp=libomp -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=2 -DSUNDIALS_MINOR_VERSION=6 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3CalcHelperMain.o OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3CalcHelperMain.cpp\nIn file included from OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3CalcHelperMain.cpp:28:\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3Functions.cpp:37:3: error: unknown type name \'diagonalRetType\'\n diagonalRetType /* undefined */ tmp7;\n ^\n1 error generated.\n: recipe for target \'OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3CalcHelperMain.o\' failed\nmake: *** [OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3CalcHelperMain.o] Error 1\n'