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.002014/0.002013, allocations: 189 kB / 8.013 MB, free: 1.062 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.115/2.115, allocations: 205.3 MB / 213.7 MB, free: 1.746 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001126/0.001125, allocations: 78.64 kB / 261.8 MB, free: 1.684 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.2656/0.2656, allocations: 38 MB / 347.7 MB, free: 5.758 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.68e-05/1.699e-05, allocations: 0 / 409.9 MB, free: 35.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1075, allocations: 56.33 MB / 466.2 MB, free: 10.82 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.492/0.5995, allocations: 86.29 MB / 0.5395 GB, free: 11.32 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002659/0.5999, allocations: 83.47 kB / 0.5396 GB, free: 11.31 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00679/0.6067, allocations: 1.651 MB / 0.5412 GB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.6067, allocations: 0 / 0.5412 GB, free: 10.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.043e-05/0.6067, allocations: 3.844 kB / 0.5412 GB, free: 10.91 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.0003162/0.6071, allocations: 415.2 kB / 0.5416 GB, free: 10.51 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.6071, allocations: 8.906 kB / 0.5416 GB, free: 10.51 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.115e-05/0.6072, allocations: 8.625 kB / 0.5416 GB, free: 10.51 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001913/0.6074, allocations: 193.3 kB / 0.5418 GB, free: 10.29 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.6074, allocations: 2.156 kB / 0.5418 GB, free: 10.29 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.452e-05/0.6074, allocations: 0 / 0.5418 GB, free: 10.29 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001339/0.6076, allocations: 58.47 kB / 0.5419 GB, free: 10.29 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/0.6077, allocations: 90.86 kB / 0.542 GB, free: 10.26 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.6078, allocations: 3.938 kB / 0.542 GB, free: 10.26 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.6078, allocations: 0 / 0.542 GB, free: 10.26 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.6078, allocations: 0 / 0.542 GB, free: 10.26 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001254/0.6079, allocations: 151.9 kB / 0.5421 GB, free: 10.09 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000124/0.6081, allocations: 103.5 kB / 0.5422 GB, free: 10.06 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.825e-05/0.6082, allocations: 91.3 kB / 0.5423 GB, free: 10.05 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.027e-06/0.6082, allocations: 0 / 0.5423 GB, free: 10.05 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/0.6082, allocations: 35.98 kB / 0.5423 GB, free: 10.01 MB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 1.403e-06/0.6082, allocations: 0 / 0.5423 GB, free: 10.01 MB / 362.7 MB Notification: Performance of matching and sorting (n=24): time 0.0003709/0.6086, allocations: 181.3 kB / 0.5425 GB, free: 9.965 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/0.6087, allocations: 96.08 kB / 0.5426 GB, free: 9.871 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.346e-05/0.6088, allocations: 120.8 kB / 0.5427 GB, free: 9.773 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.6088, allocations: 25.7 kB / 0.5427 GB, free: 9.742 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.071e-05/0.6089, allocations: 156.5 kB / 0.5429 GB, free: 9.594 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.825e-05/0.6089, allocations: 78.23 kB / 0.543 GB, free: 9.543 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.681e-06/0.6089, allocations: 0 / 0.543 GB, free: 9.543 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.141e-05/0.609, allocations: 320.7 kB / 0.5433 GB, free: 9.23 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.919e-05/0.6091, allocations: 58.98 kB / 0.5433 GB, free: 9.23 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.447e-05/0.6092, allocations: 50.38 kB / 0.5434 GB, free: 9.23 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/0.6094, allocations: 88.89 kB / 0.5435 GB, free: 9.223 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.6094, allocations: 7.938 kB / 0.5435 GB, free: 9.215 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000283/0.6097, allocations: 174.6 kB / 0.5436 GB, free: 9.176 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.256e-05/0.6098, allocations: 64.47 kB / 0.5437 GB, free: 9.145 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.6098, allocations: 0 / 0.5437 GB, free: 9.145 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/0.6098, allocations: 0 / 0.5437 GB, free: 9.145 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.545e-06/0.6098, allocations: 2.438 kB / 0.5437 GB, free: 9.145 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.6098, allocations: 0 / 0.5437 GB, free: 9.145 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.049e-05/0.6099, allocations: 11.69 kB / 0.5437 GB, free: 9.137 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-05/0.61, allocations: 7.625 kB / 0.5437 GB, free: 9.137 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 () * 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.0001298/0.6101, allocations: 173.8 kB / 0.5439 GB, free: 8.996 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.149e-05/0.6102, allocations: 22.25 kB / 0.5439 GB, free: 8.984 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.354e-05/0.6102, allocations: 8.469 kB / 0.5439 GB, free: 8.98 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.6102, allocations: 0 / 0.5439 GB, free: 8.98 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.6102, allocations: 0 / 0.5439 GB, free: 8.98 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.6102, allocations: 0 / 0.5439 GB, free: 8.98 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000118/0.6103, allocations: 172.7 kB / 0.5441 GB, free: 8.812 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.6104, allocations: 3.938 kB / 0.5441 GB, free: 8.809 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.102e-06/0.6104, allocations: 0 / 0.5441 GB, free: 8.809 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.6104, allocations: 0 / 0.5441 GB, free: 8.809 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.987e-05/0.6104, allocations: 10.16 kB / 0.5441 GB, free: 8.805 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.6104, allocations: 4 kB / 0.5441 GB, free: 8.801 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.6104, allocations: 0 / 0.5441 GB, free: 8.801 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005786/0.611, allocations: 362.6 kB / 0.5444 GB, free: 8.723 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.404e-05/0.6111, allocations: 88.77 kB / 0.5445 GB, free: 8.621 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.256e-05/0.6111, allocations: 3.875 kB / 0.5445 GB, free: 8.621 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.779e-05/0.6112, allocations: 7.766 kB / 0.5445 GB, free: 8.617 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.099e-05/0.6112, allocations: 6.219 kB / 0.5445 GB, free: 8.617 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.286e-05/0.6113, allocations: 11.72 kB / 0.5445 GB, free: 8.613 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.959e-05/0.6113, allocations: 98.28 kB / 0.5446 GB, free: 8.539 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.6113, allocations: 3.844 kB / 0.5446 GB, free: 8.539 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003339/0.6117, allocations: 42.56 kB / 0.5447 GB, free: 8.535 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 () * 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.000183/0.6119, allocations: 113.2 kB / 0.5448 GB, free: 8.445 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007701/0.6127, allocations: 0.6817 MB / 0.5455 GB, free: 8.383 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.696e-06/0.6127, allocations: 3.906 kB / 0.5455 GB, free: 8.383 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000505/0.6132, allocations: 0.5642 MB / 0.546 GB, free: 8.316 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002582/0.6135, allocations: 22.83 kB / 0.546 GB, free: 8.309 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000621/0.6141, allocations: 358 kB / 0.5464 GB, free: 8.188 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001818/0.6143, allocations: 0.7278 MB / 0.5471 GB, free: 7.484 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.309e-05/0.6143, allocations: 7.438 kB / 0.5471 GB, free: 7.477 MB / 362.7 MB Notification: Performance of SimCode: time 8.52e-07/0.6143, allocations: 0 / 0.5471 GB, free: 7.477 MB / 362.7 MB Notification: Performance of Templates: time 0.004548/0.6189, allocations: 1.692 MB / 0.5487 GB, free: 7.102 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=7 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/cpp/" -I. -I"." -I"." -I"." -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'