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.001509/0.001509, allocations: 182.4 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.16/2.16, allocations: 205.4 MB / 221.9 MB, free: 13.62 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.001116/0.001116, allocations: 102.8 kB / 270.2 MB, free: 13.15 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.2932/0.2932, allocations: 38.07 MB / 356.6 MB, free: 0.7383 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004531/0.0004531, allocations: 12 kB / 422.7 MB, free: 26.42 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1195, allocations: 56.33 MB / 479 MB, free: 2.023 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4838/0.6033, allocations: 87.05 MB / 0.5528 GB, free: 11.47 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002823/0.6037, allocations: 85.17 kB / 0.5529 GB, free: 11.42 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007272/0.611, allocations: 1.798 MB / 0.5547 GB, free: 9.898 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.434e-06/0.611, allocations: 0 / 0.5547 GB, free: 9.898 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.503e-05/0.611, allocations: 4 kB / 0.5547 GB, free: 9.895 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0004054/0.6115, allocations: 474.1 kB / 0.5551 GB, free: 9.391 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.6115, allocations: 11.97 kB / 0.5551 GB, free: 9.379 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.085e-05/0.6116, allocations: 19.72 kB / 0.5551 GB, free: 9.359 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001943/0.6118, allocations: 209.5 kB / 0.5553 GB, free: 9.117 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.6118, allocations: 0 / 0.5553 GB, free: 9.117 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/0.6118, allocations: 0 / 0.5553 GB, free: 9.117 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002274/0.6121, allocations: 127.8 kB / 0.5555 GB, free: 9.004 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.6121, allocations: 0 / 0.5555 GB, free: 9.004 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.6121, allocations: 4 kB / 0.5555 GB, free: 9 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.6121, allocations: 0 / 0.5555 GB, free: 9 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000127/0.6123, allocations: 94.03 kB / 0.5556 GB, free: 8.93 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001661/0.6124, allocations: 210.7 kB / 0.5558 GB, free: 8.691 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001721/0.6126, allocations: 153.1 kB / 0.5559 GB, free: 8.59 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.36e-06/0.6126, allocations: 0 / 0.5559 GB, free: 8.59 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.6127, allocations: 34.55 kB / 0.5559 GB, free: 8.547 MB / 362.7 MB Notification: Performance of pre-optimization done (n=40): time 1.383e-06/0.6127, allocations: 0 / 0.5559 GB, free: 8.547 MB / 362.7 MB Notification: Performance of matching and sorting (n=40): time 0.0007108/0.6134, allocations: 0.5669 MB / 0.5565 GB, free: 8.023 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.829e-05/0.6135, allocations: 108.2 kB / 0.5566 GB, free: 7.902 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.6136, allocations: 132.3 kB / 0.5567 GB, free: 7.77 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/0.6136, allocations: 29.73 kB / 0.5567 GB, free: 7.734 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.008e-05/0.6137, allocations: 157.5 kB / 0.5569 GB, free: 7.582 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.971e-05/0.6138, allocations: 126.3 kB / 0.557 GB, free: 7.469 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.694e-06/0.6138, allocations: 0 / 0.557 GB, free: 7.469 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.583e-05/0.6139, allocations: 330 kB / 0.5573 GB, free: 7.145 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001209/0.614, allocations: 88.72 kB / 0.5574 GB, free: 7.078 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001158/0.6141, allocations: 97.27 kB / 0.5575 GB, free: 7.008 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002073/0.6143, allocations: 188.9 kB / 0.5577 GB, free: 6.844 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.145e-06/0.6144, allocations: 3.953 kB / 0.5577 GB, free: 6.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004126/0.6148, allocations: 326.1 kB / 0.558 GB, free: 6.555 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.845e-05/0.6149, allocations: 87.19 kB / 0.5581 GB, free: 6.473 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.6149, allocations: 0 / 0.5581 GB, free: 6.473 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.6149, allocations: 0 / 0.5581 GB, free: 6.473 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.543e-06/0.6149, allocations: 3.938 kB / 0.5581 GB, free: 6.469 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.615, allocations: 4.859 kB / 0.5581 GB, free: 6.465 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.936e-05/0.615, allocations: 22.69 kB / 0.5581 GB, free: 6.445 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.232e-05/0.6151, allocations: 8 kB / 0.5581 GB, free: 6.438 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.0002179/0.6153, allocations: 225.8 kB / 0.5583 GB, free: 6.207 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.085e-05/0.6154, allocations: 27.8 kB / 0.5584 GB, free: 6.18 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.228e-05/0.6154, allocations: 13.41 kB / 0.5584 GB, free: 6.172 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.6154, allocations: 0 / 0.5584 GB, free: 6.172 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.6154, allocations: 7.312 kB / 0.5584 GB, free: 6.168 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.6154, allocations: 0 / 0.5584 GB, free: 6.168 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001674/0.6156, allocations: 233.2 kB / 0.5586 GB, free: 5.906 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.6156, allocations: 3.938 kB / 0.5586 GB, free: 5.902 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.164e-06/0.6156, allocations: 3.953 kB / 0.5586 GB, free: 5.898 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.6157, allocations: 0 / 0.5586 GB, free: 5.898 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.497e-05/0.6157, allocations: 8 kB / 0.5586 GB, free: 5.891 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.6157, allocations: 0 / 0.5586 GB, free: 5.891 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.6157, allocations: 4 kB / 0.5586 GB, free: 5.887 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001188/0.6169, allocations: 0.8909 MB / 0.5595 GB, free: 5.109 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.88e-05/0.617, allocations: 100.7 kB / 0.5596 GB, free: 4.992 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.473e-05/0.617, allocations: 11.95 kB / 0.5596 GB, free: 4.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.254e-05/0.6171, allocations: 4 kB / 0.5596 GB, free: 4.977 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.946e-05/0.6171, allocations: 11.05 kB / 0.5596 GB, free: 4.969 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.994e-05/0.6172, allocations: 8 kB / 0.5596 GB, free: 4.961 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.334e-05/0.6173, allocations: 116.3 kB / 0.5597 GB, free: 4.855 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6173, allocations: 0 / 0.5597 GB, free: 4.855 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003563/0.6176, allocations: 67.94 kB / 0.5598 GB, free: 4.793 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.0001979/0.6179, allocations: 122.7 kB / 0.5599 GB, free: 4.664 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00153/0.6194, allocations: 1.582 MB / 0.5615 GB, free: 3.828 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.6194, allocations: 0 / 0.5615 GB, free: 3.828 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001176/0.6206, allocations: 1.365 MB / 0.5628 GB, free: 3.164 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002973/0.6209, allocations: 31.86 kB / 0.5628 GB, free: 3.137 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00108/0.622, allocations: 0.7121 MB / 0.5635 GB, free: 2.461 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002263/0.6223, allocations: 0.7559 MB / 0.5643 GB, free: 1.68 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.44e-05/0.6223, allocations: 7.438 kB / 0.5643 GB, free: 1.672 MB / 362.7 MB Notification: Performance of SimCode: time 1.353e-06/0.6223, allocations: 0 / 0.5643 GB, free: 1.672 MB / 362.7 MB Notification: Performance of Templates: time 0.005402/0.6277, allocations: 2.291 MB / 0.5665 GB, free: 15.39 MB / 378.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'