Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.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_matrixEqCirc2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00158/0.001579, allocations: 184.5 kB / 15.76 MB, free: 6.363 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.126/2.126, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001148/0.001148, allocations: 102.7 kB / 270.3 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2753/0.2753, allocations: 38.06 MB / 356.6 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004549/0.0004549, allocations: 12 kB / 422.7 MB, free: 26.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1289, allocations: 56.32 MB / 479 MB, free: 2.043 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4907/0.6196, allocations: 87.05 MB / 0.5528 GB, free: 11.45 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002802/0.62, allocations: 78.27 kB / 0.5529 GB, free: 11.41 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007094/0.6271, allocations: 1.672 MB / 0.5545 GB, free: 9.996 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.305e-06/0.6272, allocations: 0 / 0.5545 GB, free: 9.996 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.137e-05/0.6272, allocations: 0 / 0.5545 GB, free: 9.996 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0003626/0.6276, allocations: 431.2 kB / 0.5549 GB, free: 9.531 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.6276, allocations: 8.031 kB / 0.5549 GB, free: 9.523 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.85e-05/0.6277, allocations: 15.75 kB / 0.555 GB, free: 9.508 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001716/0.6279, allocations: 193.2 kB / 0.5551 GB, free: 9.285 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.6279, allocations: 4 kB / 0.5552 GB, free: 9.281 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.691e-05/0.6279, allocations: 0 / 0.5552 GB, free: 9.281 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001815/0.6281, allocations: 93.16 kB / 0.5552 GB, free: 9.195 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.6281, allocations: 4 kB / 0.5552 GB, free: 9.191 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.6281, allocations: 0 / 0.5552 GB, free: 9.191 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.6282, allocations: 0 / 0.5552 GB, free: 9.191 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.593e-05/0.6283, allocations: 56.16 kB / 0.5553 GB, free: 9.148 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001721/0.6284, allocations: 187.1 kB / 0.5555 GB, free: 8.926 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.6286, allocations: 101.4 kB / 0.5556 GB, free: 8.848 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.065e-05/0.6286, allocations: 0 / 0.5556 GB, free: 8.848 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/0.6286, allocations: 30.56 kB / 0.5556 GB, free: 8.809 MB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 1.543e-06/0.6287, allocations: 0 / 0.5556 GB, free: 8.809 MB / 362.7 MB Notification: Performance of matching and sorting (n=24): time 0.0005321/0.6292, allocations: 394.5 kB / 0.556 GB, free: 8.43 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.814e-05/0.6293, allocations: 102.5 kB / 0.5561 GB, free: 8.316 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.6294, allocations: 116.6 kB / 0.5562 GB, free: 8.199 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/0.6294, allocations: 29.72 kB / 0.5562 GB, free: 8.164 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.374e-05/0.6295, allocations: 162.1 kB / 0.5564 GB, free: 8.012 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.87e-05/0.6295, allocations: 77.77 kB / 0.5564 GB, free: 7.941 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.572e-06/0.6296, allocations: 0 / 0.5564 GB, free: 7.941 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.603e-05/0.6296, allocations: 322.6 kB / 0.5568 GB, free: 7.621 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.812e-05/0.6297, allocations: 55.03 kB / 0.5568 GB, free: 7.578 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.381e-05/0.6298, allocations: 62.47 kB / 0.5569 GB, free: 7.531 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001512/0.63, allocations: 116.6 kB / 0.557 GB, free: 7.422 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.63, allocations: 3.953 kB / 0.557 GB, free: 7.418 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003159/0.6303, allocations: 228.6 kB / 0.5572 GB, free: 7.211 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.61e-05/0.6304, allocations: 65.59 kB / 0.5573 GB, free: 7.145 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.6305, allocations: 0 / 0.5573 GB, free: 7.145 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/0.6305, allocations: 3.938 kB / 0.5573 GB, free: 7.141 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.613e-06/0.6305, allocations: 0 / 0.5573 GB, free: 7.141 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.6305, allocations: 0 / 0.5573 GB, free: 7.141 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.093e-05/0.6306, allocations: 15.78 kB / 0.5573 GB, free: 7.125 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.85e-05/0.6306, allocations: 11.98 kB / 0.5573 GB, free: 7.113 MB / 362.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 () * Number of clocked 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.0001735/0.6308, allocations: 194.4 kB / 0.5575 GB, free: 6.914 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.996e-05/0.6309, allocations: 15.89 kB / 0.5575 GB, free: 6.898 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.387e-05/0.6309, allocations: 11.88 kB / 0.5575 GB, free: 6.891 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.6309, allocations: 0 / 0.5575 GB, free: 6.891 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.6309, allocations: 4 kB / 0.5575 GB, free: 6.887 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.6309, allocations: 0 / 0.5575 GB, free: 6.887 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001376/0.6311, allocations: 196.4 kB / 0.5577 GB, free: 6.656 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.6311, allocations: 4 kB / 0.5577 GB, free: 6.652 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.974e-06/0.6311, allocations: 3.953 kB / 0.5577 GB, free: 6.648 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.6311, allocations: 0 / 0.5577 GB, free: 6.648 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.905e-05/0.6311, allocations: 4 kB / 0.5577 GB, free: 6.645 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.6311, allocations: 0 / 0.5577 GB, free: 6.645 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.572e-06/0.6312, allocations: 4 kB / 0.5577 GB, free: 6.641 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007377/0.6319, allocations: 0.5112 MB / 0.5582 GB, free: 6.176 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.039e-05/0.632, allocations: 96.84 kB / 0.5583 GB, free: 6.062 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.476e-05/0.632, allocations: 7.953 kB / 0.5583 GB, free: 6.055 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.925e-05/0.6321, allocations: 4 kB / 0.5583 GB, free: 6.051 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.772e-05/0.6321, allocations: 3.875 kB / 0.5583 GB, free: 6.051 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-05/0.6321, allocations: 11.98 kB / 0.5583 GB, free: 6.039 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.223e-05/0.6322, allocations: 105.4 kB / 0.5584 GB, free: 5.941 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.6322, allocations: 0 / 0.5584 GB, free: 5.941 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003191/0.6326, allocations: 40 kB / 0.5585 GB, free: 5.902 MB / 362.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 () * Number of clocked 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.0001938/0.6328, allocations: 118.7 kB / 0.5586 GB, free: 5.785 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007877/0.6336, allocations: 0.6982 MB / 0.5593 GB, free: 5.344 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.6336, allocations: 0 / 0.5593 GB, free: 5.344 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000524/0.6341, allocations: 0.5697 MB / 0.5598 GB, free: 5.008 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002621/0.6344, allocations: 23 kB / 0.5598 GB, free: 4.988 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007664/0.6352, allocations: 498.3 kB / 0.5603 GB, free: 4.508 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001817/0.6354, allocations: 0.7241 MB / 0.561 GB, free: 3.758 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.314e-05/0.6354, allocations: 7.438 kB / 0.561 GB, free: 3.75 MB / 362.7 MB Notification: Performance of SimCode: time 9.11e-07/0.6354, allocations: 0 / 0.561 GB, free: 3.75 MB / 362.7 MB Notification: Performance of Templates: time 0.004308/0.6397, allocations: 1.702 MB / 0.5627 GB, free: 2.062 MB / 362.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.makefile make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.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_matrixEqCirc2CalcHelperMain.o OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2CalcHelperMain.cpp\nIn file included from OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2CalcHelperMain.cpp:28:\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2Functions.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_matrixEqCirc2CalcHelperMain.o\' failed\nmake: *** [OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2CalcHelperMain.o] Error 1\n'