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.002326/0.002325, allocations: 184.6 kB / 13.19 MB, free: 2.125 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 1.984/1.984, allocations: 205.2 MB / 218.9 MB, free: 9.215 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.001644/0.001644, allocations: 92 kB / 267.1 MB, free: 9.277 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.3087/0.3087, allocations: 37.98 MB / 353.1 MB, free: 3.059 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.282e-05/3.296e-05, allocations: 4 kB / 416.8 MB, free: 41.3 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.105, allocations: 56.31 MB / 473.1 MB, free: 0.9258 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4463/0.5514, allocations: 86.96 MB / 0.547 GB, free: 0.8047 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002935/0.5518, allocations: 79.95 kB / 0.547 GB, free: 0.7266 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007379/0.5591, allocations: 1.664 MB / 0.5487 GB, free: 15.07 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5592, allocations: 0 / 0.5487 GB, free: 15.07 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.758e-06/0.5592, allocations: 4 kB / 0.5487 GB, free: 15.07 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0004054/0.5596, allocations: 420.8 kB / 0.5491 GB, free: 14.61 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.5597, allocations: 8.031 kB / 0.5491 GB, free: 14.6 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.379e-05/0.5598, allocations: 8.891 kB / 0.5491 GB, free: 14.59 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002256/0.56, allocations: 194.8 kB / 0.5493 GB, free: 14.36 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.56, allocations: 0 / 0.5493 GB, free: 14.36 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.188e-05/0.56, allocations: 0 / 0.5493 GB, free: 14.36 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001937/0.5602, allocations: 89.67 kB / 0.5493 GB, free: 14.27 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.5603, allocations: 3.938 kB / 0.5494 GB, free: 14.27 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.5603, allocations: 0 / 0.5494 GB, free: 14.27 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.5603, allocations: 4 kB / 0.5494 GB, free: 14.26 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001195/0.5604, allocations: 59.97 kB / 0.5494 GB, free: 14.2 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002138/0.5607, allocations: 186.3 kB / 0.5496 GB, free: 13.97 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001657/0.5608, allocations: 98.55 kB / 0.5497 GB, free: 13.87 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001433/0.561, allocations: 89.67 kB / 0.5498 GB, free: 13.78 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.887e-06/0.561, allocations: 0 / 0.5498 GB, free: 13.78 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.561, allocations: 30.56 kB / 0.5498 GB, free: 13.74 MB / 394.7 MB Notification: Performance of pre-optimization done (n=24): time 1.593e-06/0.5611, allocations: 7.938 kB / 0.5498 GB, free: 13.73 MB / 394.7 MB Notification: Performance of matching and sorting (n=24): time 0.0004362/0.5615, allocations: 231.2 kB / 0.55 GB, free: 13.49 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.43e-05/0.5616, allocations: 93.09 kB / 0.5501 GB, free: 13.38 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.5617, allocations: 125.1 kB / 0.5502 GB, free: 13.25 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.5618, allocations: 25.7 kB / 0.5503 GB, free: 13.22 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.178e-05/0.5619, allocations: 159 kB / 0.5504 GB, free: 13.06 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.995e-05/0.562, allocations: 78.81 kB / 0.5505 GB, free: 12.98 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.671e-06/0.562, allocations: 0 / 0.5505 GB, free: 12.98 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.5622, allocations: 322.9 kB / 0.5508 GB, free: 12.66 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/0.5623, allocations: 51.97 kB / 0.5508 GB, free: 12.61 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001041/0.5624, allocations: 59.97 kB / 0.5509 GB, free: 12.55 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001897/0.5626, allocations: 121.6 kB / 0.551 GB, free: 12.43 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.5626, allocations: 0 / 0.551 GB, free: 12.43 MB / 394.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003681/0.563, allocations: 215.2 kB / 0.5512 GB, free: 12.2 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.366e-05/0.5631, allocations: 65.66 kB / 0.5513 GB, free: 12.13 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.5631, allocations: 0 / 0.5513 GB, free: 12.13 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.5631, allocations: 0 / 0.5513 GB, free: 12.13 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.707e-06/0.5631, allocations: 3.938 kB / 0.5513 GB, free: 12.13 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.5632, allocations: 8.062 kB / 0.5513 GB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.447e-05/0.5632, allocations: 19.83 kB / 0.5513 GB, free: 12.1 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.632e-05/0.5633, allocations: 4 kB / 0.5513 GB, free: 12.1 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.0001715/0.5635, allocations: 172.5 kB / 0.5515 GB, free: 11.92 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.856e-05/0.5635, allocations: 19.81 kB / 0.5515 GB, free: 11.9 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.623e-05/0.5635, allocations: 8.75 kB / 0.5515 GB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.5636, allocations: 0 / 0.5515 GB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.5636, allocations: 0 / 0.5515 GB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.573e-06/0.5636, allocations: 4 kB / 0.5515 GB, free: 11.88 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001962/0.5638, allocations: 205.4 kB / 0.5517 GB, free: 11.63 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.5638, allocations: 3.953 kB / 0.5517 GB, free: 11.63 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.457e-06/0.5638, allocations: 4 kB / 0.5517 GB, free: 11.62 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.5638, allocations: 0 / 0.5517 GB, free: 11.62 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.128e-05/0.5639, allocations: 4 kB / 0.5517 GB, free: 11.62 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.5639, allocations: 0 / 0.5517 GB, free: 11.62 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.5639, allocations: 0 / 0.5517 GB, free: 11.62 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008896/0.5648, allocations: 0.5062 MB / 0.5522 GB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.197e-05/0.5649, allocations: 88.91 kB / 0.5523 GB, free: 10.98 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.283e-05/0.5649, allocations: 11.97 kB / 0.5523 GB, free: 10.97 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.656e-05/0.565, allocations: 8 kB / 0.5523 GB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.027e-05/0.565, allocations: 4 kB / 0.5523 GB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.147e-05/0.565, allocations: 4 kB / 0.5523 GB, free: 10.96 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.756e-05/0.5651, allocations: 107.3 kB / 0.5524 GB, free: 10.85 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5652, allocations: 0 / 0.5524 GB, free: 10.85 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003304/0.5655, allocations: 47.92 kB / 0.5525 GB, free: 10.8 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.0002168/0.5657, allocations: 112.1 kB / 0.5526 GB, free: 10.69 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001053/0.5668, allocations: 0.6984 MB / 0.5533 GB, free: 9.977 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.5668, allocations: 0 / 0.5533 GB, free: 9.977 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007474/0.5676, allocations: 0.5696 MB / 0.5538 GB, free: 9.395 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000224/0.5678, allocations: 12 kB / 0.5538 GB, free: 9.383 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007398/0.5686, allocations: 367.4 kB / 0.5542 GB, free: 8.996 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003521/0.5689, allocations: 0.7241 MB / 0.5549 GB, free: 8.246 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.843e-05/0.569, allocations: 15.56 kB / 0.5549 GB, free: 8.23 MB / 394.7 MB Notification: Performance of SimCode: time 7.01e-07/0.569, allocations: 3.938 kB / 0.5549 GB, free: 8.227 MB / 394.7 MB Notification: Performance of Templates: time 0.004941/0.5739, allocations: 1.706 MB / 0.5566 GB, free: 6.527 MB / 394.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'