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.001414/0.001414, allocations: 185.7 kB / 8.011 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.484/2.484, allocations: 205.3 MB / 213.7 MB, free: 1.73 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.001535/0.001535, allocations: 90.64 kB / 261.8 MB, free: 1.652 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.2642/0.2642, allocations: 37.99 MB / 347.7 MB, free: 5.746 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.999e-05/2.01e-05, allocations: 4 kB / 409.9 MB, free: 35.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1248, allocations: 56.33 MB / 466.2 MB, free: 10.8 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4884/0.6132, allocations: 86.33 MB / 0.5396 GB, free: 11.37 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002697/0.6135, allocations: 77.28 kB / 0.5396 GB, free: 11.37 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006193/0.6197, allocations: 1.549 MB / 0.5411 GB, free: 10.99 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.6198, allocations: 0 / 0.5411 GB, free: 10.99 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.708e-06/0.6198, allocations: 1.969 kB / 0.5411 GB, free: 10.99 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.0002724/0.6201, allocations: 381.9 kB / 0.5415 GB, free: 10.6 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.6201, allocations: 7.719 kB / 0.5415 GB, free: 10.6 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.501e-05/0.6202, allocations: 7.75 kB / 0.5415 GB, free: 10.59 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001584/0.6203, allocations: 192.4 kB / 0.5417 GB, free: 10.38 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.6204, allocations: 0 / 0.5417 GB, free: 10.38 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.394e-05/0.6204, allocations: 0 / 0.5417 GB, free: 10.38 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.511e-05/0.6205, allocations: 33.88 kB / 0.5417 GB, free: 10.38 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.709e-05/0.6206, allocations: 56.58 kB / 0.5418 GB, free: 10.35 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.6206, allocations: 3.875 kB / 0.5418 GB, free: 10.35 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.6206, allocations: 0 / 0.5418 GB, free: 10.35 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.6206, allocations: 3.984 kB / 0.5418 GB, free: 10.34 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001111/0.6208, allocations: 143.4 kB / 0.5419 GB, free: 10.18 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.82e-05/0.6209, allocations: 57.69 kB / 0.542 GB, free: 10.15 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.063e-05/0.6209, allocations: 42.23 kB / 0.542 GB, free: 10.14 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.117e-06/0.621, allocations: 0 / 0.542 GB, free: 10.14 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/0.621, allocations: 42.19 kB / 0.5421 GB, free: 10.1 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 1.473e-06/0.621, allocations: 0 / 0.5421 GB, free: 10.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002809/0.6213, allocations: 108.7 kB / 0.5422 GB, free: 10.06 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/0.6213, allocations: 87.62 kB / 0.5423 GB, free: 9.969 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.832e-05/0.6214, allocations: 117.8 kB / 0.5424 GB, free: 9.867 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.6215, allocations: 25.7 kB / 0.5424 GB, free: 9.836 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.608e-05/0.6215, allocations: 158.1 kB / 0.5425 GB, free: 9.688 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.735e-05/0.6216, allocations: 38.75 kB / 0.5426 GB, free: 9.664 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.631e-06/0.6216, allocations: 0 / 0.5426 GB, free: 9.664 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.668e-05/0.6217, allocations: 310.8 kB / 0.5429 GB, free: 9.352 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.031e-05/0.6217, allocations: 32.14 kB / 0.5429 GB, free: 9.352 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.743e-05/0.6218, allocations: 28.61 kB / 0.5429 GB, free: 9.352 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001081/0.6219, allocations: 40.77 kB / 0.543 GB, free: 9.352 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.6219, allocations: 4.031 kB / 0.543 GB, free: 9.348 MB / 362.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002053/0.6221, allocations: 118.4 kB / 0.5431 GB, free: 9.305 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.382e-05/0.6222, allocations: 47.44 kB / 0.5431 GB, free: 9.273 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.6222, allocations: 3.844 kB / 0.5431 GB, free: 9.273 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.6222, allocations: 0 / 0.5431 GB, free: 9.273 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.264e-06/0.6222, allocations: 0 / 0.5431 GB, free: 9.273 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.6223, allocations: 3.938 kB / 0.5431 GB, free: 9.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.069e-05/0.6223, allocations: 7.781 kB / 0.5432 GB, free: 9.266 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.533e-05/0.6223, allocations: 3.844 kB / 0.5432 GB, free: 9.266 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 9.345e-05/0.6224, allocations: 148.4 kB / 0.5433 GB, free: 9.125 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.221e-05/0.6225, allocations: 15.45 kB / 0.5433 GB, free: 9.117 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.033e-05/0.6225, allocations: 10.83 kB / 0.5433 GB, free: 9.113 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.6225, allocations: 0.875 kB / 0.5433 GB, free: 9.113 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.6225, allocations: 0 / 0.5433 GB, free: 9.113 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.6225, allocations: 3.844 kB / 0.5433 GB, free: 9.113 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.615e-05/0.6226, allocations: 145.9 kB / 0.5435 GB, free: 8.953 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.6226, allocations: 0 / 0.5435 GB, free: 8.953 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.152e-06/0.6227, allocations: 0 / 0.5435 GB, free: 8.953 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.6227, allocations: 2.75 kB / 0.5435 GB, free: 8.953 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.6227, allocations: 7.766 kB / 0.5435 GB, free: 8.949 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.6227, allocations: 7.141 kB / 0.5435 GB, free: 8.945 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.6227, allocations: 0 / 0.5435 GB, free: 8.945 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003448/0.6231, allocations: 213.3 kB / 0.5437 GB, free: 8.875 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.649e-05/0.6231, allocations: 81.02 kB / 0.5438 GB, free: 8.777 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.382e-05/0.6231, allocations: 3.844 kB / 0.5438 GB, free: 8.777 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.251e-05/0.6232, allocations: 7.797 kB / 0.5438 GB, free: 8.773 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.966e-05/0.6232, allocations: 0 / 0.5438 GB, free: 8.773 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.575e-05/0.6232, allocations: 10.94 kB / 0.5438 GB, free: 8.77 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.133e-05/0.6233, allocations: 92.89 kB / 0.5439 GB, free: 8.691 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.6233, allocations: 3.938 kB / 0.5439 GB, free: 8.688 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003092/0.6236, allocations: 38.27 kB / 0.5439 GB, free: 8.684 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.0001719/0.6238, allocations: 110 kB / 0.544 GB, free: 8.59 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003532/0.6242, allocations: 277 kB / 0.5443 GB, free: 8.527 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.6242, allocations: 0 / 0.5443 GB, free: 8.527 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002039/0.6244, allocations: 220.7 kB / 0.5445 GB, free: 8.465 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001967/0.6246, allocations: 15.86 kB / 0.5445 GB, free: 8.457 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004071/0.625, allocations: 220.3 kB / 0.5447 GB, free: 8.348 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001468/0.6252, allocations: 0.6979 MB / 0.5454 GB, free: 7.652 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.249e-05/0.6252, allocations: 11.41 kB / 0.5454 GB, free: 7.645 MB / 362.7 MB Notification: Performance of SimCode: time 1.193e-06/0.6252, allocations: 0 / 0.5454 GB, free: 7.645 MB / 362.7 MB Notification: Performance of Templates: time 0.003447/0.6287, allocations: 1.233 MB / 0.5466 GB, free: 7.562 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=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_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'