Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.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_matrixEqCirc1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002352/0.002352, allocations: 184.4 kB / 13.19 MB, free: 2.121 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.19/2.19, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.001111/0.001111, allocations: 94.7 kB / 267.1 MB, free: 9.281 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.3333/0.3333, allocations: 37.97 MB / 353.1 MB, free: 3.066 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.513e-05/3.528e-05, allocations: 7.984 kB / 416.8 MB, free: 41.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.174/0.1741, allocations: 56.31 MB / 473.1 MB, free: 0.918 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4692/0.6433, allocations: 87 MB / 0.547 GB, free: 0.7461 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003015/0.6437, allocations: 79.95 kB / 0.5471 GB, free: 0.668 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007196/0.6509, allocations: 1.555 MB / 0.5486 GB, free: 15.12 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.063e-06/0.651, allocations: 0 / 0.5486 GB, free: 15.12 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.056e-05/0.651, allocations: 1.859 kB / 0.5486 GB, free: 15.12 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004109/0.6514, allocations: 385 kB / 0.549 GB, free: 14.7 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.6515, allocations: 12.03 kB / 0.549 GB, free: 14.69 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.142e-05/0.6515, allocations: 7.906 kB / 0.549 GB, free: 14.68 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002299/0.6518, allocations: 188.3 kB / 0.5491 GB, free: 14.46 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.6518, allocations: 4 kB / 0.5492 GB, free: 14.45 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.55e-05/0.6518, allocations: 0 / 0.5492 GB, free: 14.45 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.652, allocations: 57.69 kB / 0.5492 GB, free: 14.39 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.652, allocations: 0 / 0.5492 GB, free: 14.39 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.652, allocations: 0 / 0.5492 GB, free: 14.39 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.6521, allocations: 0 / 0.5492 GB, free: 14.39 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.392e-05/0.6521, allocations: 31.98 kB / 0.5492 GB, free: 14.36 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001882/0.6523, allocations: 177.5 kB / 0.5494 GB, free: 14.14 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001084/0.6525, allocations: 58.5 kB / 0.5495 GB, free: 14.07 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.754e-05/0.6526, allocations: 44.88 kB / 0.5495 GB, free: 14.02 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.819e-06/0.6526, allocations: 0 / 0.5495 GB, free: 14.02 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.6526, allocations: 30.56 kB / 0.5495 GB, free: 13.98 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 1.563e-06/0.6526, allocations: 0 / 0.5495 GB, free: 13.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003249/0.653, allocations: 143.3 kB / 0.5497 GB, free: 13.83 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.046e-05/0.653, allocations: 93.34 kB / 0.5498 GB, free: 13.72 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.6532, allocations: 113.4 kB / 0.5499 GB, free: 13.61 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.6532, allocations: 29.64 kB / 0.5499 GB, free: 13.57 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.118e-05/0.6533, allocations: 154.6 kB / 0.55 GB, free: 13.42 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.06e-05/0.6534, allocations: 39.45 kB / 0.5501 GB, free: 13.38 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.58e-06/0.6534, allocations: 0 / 0.5501 GB, free: 13.38 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.6535, allocations: 318.8 kB / 0.5504 GB, free: 13.06 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.824e-05/0.6536, allocations: 31.98 kB / 0.5504 GB, free: 13.03 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.495e-05/0.6537, allocations: 31.98 kB / 0.5504 GB, free: 13 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001187/0.6538, allocations: 77.62 kB / 0.5505 GB, free: 12.91 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.6538, allocations: 0 / 0.5505 GB, free: 12.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002626/0.6541, allocations: 143.3 kB / 0.5507 GB, free: 12.76 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.977e-05/0.6542, allocations: 45.69 kB / 0.5507 GB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.6542, allocations: 0 / 0.5507 GB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.6542, allocations: 0 / 0.5507 GB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.096e-06/0.6543, allocations: 4.812 kB / 0.5507 GB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/0.6543, allocations: 3.984 kB / 0.5507 GB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.904e-05/0.6544, allocations: 7.938 kB / 0.5507 GB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.905e-05/0.6544, allocations: 12 kB / 0.5507 GB, free: 12.68 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.000147/0.6546, allocations: 156.4 kB / 0.5509 GB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.88e-05/0.6546, allocations: 11.91 kB / 0.5509 GB, free: 12.51 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.315e-05/0.6546, allocations: 8.609 kB / 0.5509 GB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.6546, allocations: 0 / 0.5509 GB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.6547, allocations: 0 / 0.5509 GB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.6547, allocations: 4 kB / 0.5509 GB, free: 12.49 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001677/0.6548, allocations: 177.5 kB / 0.5511 GB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.6549, allocations: 3.953 kB / 0.5511 GB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.132e-06/0.6549, allocations: 0 / 0.5511 GB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.6549, allocations: 4 kB / 0.5511 GB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.747e-05/0.6549, allocations: 4 kB / 0.5511 GB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.6549, allocations: 0 / 0.5511 GB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.6549, allocations: 0 / 0.5511 GB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004898/0.6554, allocations: 270.6 kB / 0.5513 GB, free: 11.97 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.021e-05/0.6555, allocations: 96.95 kB / 0.5514 GB, free: 11.86 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.464e-05/0.6555, allocations: 0 / 0.5514 GB, free: 11.86 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.134e-05/0.6556, allocations: 4 kB / 0.5514 GB, free: 11.85 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.891e-05/0.6556, allocations: 4.031 kB / 0.5514 GB, free: 11.85 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.521e-05/0.6557, allocations: 7.938 kB / 0.5514 GB, free: 11.84 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.166e-05/0.6557, allocations: 99.75 kB / 0.5515 GB, free: 11.74 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6558, allocations: 0 / 0.5515 GB, free: 11.74 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003007/0.6561, allocations: 31.94 kB / 0.5516 GB, free: 11.71 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.0002196/0.6563, allocations: 111.2 kB / 0.5517 GB, free: 11.59 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004906/0.6568, allocations: 287.3 kB / 0.552 GB, free: 11.3 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.6568, allocations: 8.062 kB / 0.552 GB, free: 11.29 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003033/0.6571, allocations: 215.3 kB / 0.5522 GB, free: 11.07 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001943/0.6574, allocations: 12 kB / 0.5522 GB, free: 11.06 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004866/0.6579, allocations: 219.2 kB / 0.5524 GB, free: 10.82 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003414/0.6582, allocations: 0.7004 MB / 0.5531 GB, free: 10.09 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.684e-05/0.6582, allocations: 11.44 kB / 0.5531 GB, free: 10.08 MB / 394.7 MB Notification: Performance of SimCode: time 8.31e-07/0.6583, allocations: 3.938 kB / 0.5531 GB, free: 10.07 MB / 394.7 MB Notification: Performance of Templates: time 0.00395/0.6622, allocations: 1.258 MB / 0.5543 GB, free: 8.824 MB / 394.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.makefile make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.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_matrixEqCirc1CalcHelperMain.o OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1CalcHelperMain.cpp\nIn file included from OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1CalcHelperMain.cpp:28:\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1Functions.cpp:37:3: error: unknown type name \'diagonalRetType\'\n diagonalRetType /* undefined */ tmp8;\n ^\n1 error generated.\n: recipe for target \'OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1CalcHelperMain.o\' failed\nmake: *** [OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1CalcHelperMain.o] Error 1\n'