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.001577/0.001577, allocations: 181.9 kB / 15.76 MB, free: 6.34 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.046/2.046, allocations: 205.4 MB / 221.9 MB, free: 13.8 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.001112/0.001112, allocations: 94.7 kB / 270.2 MB, free: 13.35 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.267/0.267, allocations: 38.07 MB / 356.6 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004659/0.0004659, allocations: 12 kB / 422.7 MB, free: 26.42 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.111, allocations: 56.32 MB / 479 MB, free: 2.035 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5149/0.626, allocations: 87.09 MB / 0.5529 GB, free: 11.48 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002837/0.6264, allocations: 82.27 kB / 0.5529 GB, free: 11.43 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006501/0.6329, allocations: 1.547 MB / 0.5545 GB, free: 10.13 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.6329, allocations: 0 / 0.5545 GB, free: 10.13 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.119e-05/0.6329, allocations: 0 / 0.5545 GB, free: 10.13 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003199/0.6333, allocations: 397.3 kB / 0.5548 GB, free: 9.695 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.6333, allocations: 8.031 kB / 0.5548 GB, free: 9.688 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.27e-05/0.6334, allocations: 11.91 kB / 0.5549 GB, free: 9.676 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001805/0.6336, allocations: 186.5 kB / 0.555 GB, free: 9.457 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.6336, allocations: 2.516 kB / 0.555 GB, free: 9.457 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.287e-05/0.6336, allocations: 4 kB / 0.555 GB, free: 9.453 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/0.6338, allocations: 56.98 kB / 0.5551 GB, free: 9.395 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.6338, allocations: 0 / 0.5551 GB, free: 9.395 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.6338, allocations: 4 kB / 0.5551 GB, free: 9.391 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.6338, allocations: 0 / 0.5551 GB, free: 9.391 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.064e-05/0.6339, allocations: 31.55 kB / 0.5551 GB, free: 9.363 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001326/0.634, allocations: 173.3 kB / 0.5553 GB, free: 9.152 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.636e-05/0.6341, allocations: 52.44 kB / 0.5553 GB, free: 9.102 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.569e-06/0.6341, allocations: 0 / 0.5553 GB, free: 9.102 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.22e-05/0.6342, allocations: 34.06 kB / 0.5554 GB, free: 9.062 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 1.383e-06/0.6342, allocations: 4.031 kB / 0.5554 GB, free: 9.059 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003586/0.6346, allocations: 267.3 kB / 0.5556 GB, free: 8.781 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.341e-05/0.6346, allocations: 85.11 kB / 0.5557 GB, free: 8.68 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.774e-05/0.6347, allocations: 116.8 kB / 0.5558 GB, free: 8.566 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.096e-05/0.6347, allocations: 25.7 kB / 0.5558 GB, free: 8.535 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.513e-05/0.6348, allocations: 153.4 kB / 0.556 GB, free: 8.387 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.789e-05/0.6348, allocations: 38.38 kB / 0.556 GB, free: 8.355 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.17e-06/0.6348, allocations: 0 / 0.556 GB, free: 8.355 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.577e-05/0.6349, allocations: 322.3 kB / 0.5563 GB, free: 8.035 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.48e-05/0.635, allocations: 27.55 kB / 0.5564 GB, free: 8.012 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.097e-05/0.635, allocations: 31.05 kB / 0.5564 GB, free: 7.988 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.054e-05/0.6351, allocations: 75.42 kB / 0.5565 GB, free: 7.914 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.6352, allocations: 7.984 kB / 0.5565 GB, free: 7.906 MB / 362.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001951/0.6354, allocations: 152.1 kB / 0.5566 GB, free: 7.758 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.228e-05/0.6354, allocations: 48.5 kB / 0.5567 GB, free: 7.707 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.6354, allocations: 0 / 0.5567 GB, free: 7.707 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.6355, allocations: 3.984 kB / 0.5567 GB, free: 7.703 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.573e-06/0.6355, allocations: 0 / 0.5567 GB, free: 7.703 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.6355, allocations: 3.984 kB / 0.5567 GB, free: 7.699 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.218e-05/0.6355, allocations: 8.625 kB / 0.5567 GB, free: 7.691 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.666e-05/0.6356, allocations: 4 kB / 0.5567 GB, free: 7.688 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.0001177/0.6357, allocations: 171.1 kB / 0.5568 GB, free: 7.508 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.109e-05/0.6357, allocations: 11.86 kB / 0.5569 GB, free: 7.496 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.986e-05/0.6358, allocations: 11.38 kB / 0.5569 GB, free: 7.488 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.6358, allocations: 0 / 0.5569 GB, free: 7.488 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.6358, allocations: 0 / 0.5569 GB, free: 7.488 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.6358, allocations: 0 / 0.5569 GB, free: 7.488 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001084/0.6359, allocations: 178.1 kB / 0.557 GB, free: 7.273 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.6359, allocations: 0 / 0.557 GB, free: 7.273 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.953e-06/0.6359, allocations: 3.953 kB / 0.557 GB, free: 7.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.6359, allocations: 0 / 0.557 GB, free: 7.27 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.636, allocations: 11.98 kB / 0.5571 GB, free: 7.258 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.636, allocations: 0 / 0.5571 GB, free: 7.258 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.636, allocations: 0 / 0.5571 GB, free: 7.258 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003745/0.6364, allocations: 279.4 kB / 0.5573 GB, free: 6.992 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.804e-05/0.6364, allocations: 84.95 kB / 0.5574 GB, free: 6.891 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.69e-05/0.6364, allocations: 11.94 kB / 0.5574 GB, free: 6.879 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.008e-05/0.6365, allocations: 0 / 0.5574 GB, free: 6.879 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.408e-05/0.6365, allocations: 4.875 kB / 0.5574 GB, free: 6.875 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.6365, allocations: 8.031 kB / 0.5574 GB, free: 6.867 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.022e-05/0.6366, allocations: 93.45 kB / 0.5575 GB, free: 6.781 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.6366, allocations: 0 / 0.5575 GB, free: 6.781 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002987/0.6369, allocations: 28 kB / 0.5575 GB, free: 6.754 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.0001737/0.6371, allocations: 111.2 kB / 0.5576 GB, free: 6.637 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000416/0.6375, allocations: 288.1 kB / 0.5579 GB, free: 6.414 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.6376, allocations: 0 / 0.5579 GB, free: 6.414 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002131/0.6378, allocations: 230 kB / 0.5581 GB, free: 6.238 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002022/0.638, allocations: 19.02 kB / 0.5582 GB, free: 6.223 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005167/0.6385, allocations: 319.5 kB / 0.5585 GB, free: 5.898 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001538/0.6387, allocations: 0.7043 MB / 0.5592 GB, free: 5.168 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.259e-05/0.6387, allocations: 11.44 kB / 0.5592 GB, free: 5.156 MB / 362.7 MB Notification: Performance of SimCode: time 9.82e-07/0.6387, allocations: 0 / 0.5592 GB, free: 5.156 MB / 362.7 MB Notification: Performance of Templates: time 0.00338/0.6421, allocations: 1.253 MB / 0.5604 GB, free: 3.91 MB / 362.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'