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.002132/0.002132, 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.444/2.444, allocations: 205.3 MB / 213.7 MB, free: 1.738 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.001074/0.001074, allocations: 82.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.2808/0.2808, allocations: 38 MB / 347.7 MB, free: 5.758 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.633e-05/1.644e-05, allocations: 0 / 409.9 MB, free: 35.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1053, allocations: 56.33 MB / 466.2 MB, free: 10.81 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4798/0.5851, allocations: 86.29 MB / 0.5395 GB, free: 11.52 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000264/0.5855, allocations: 77.61 kB / 0.5396 GB, free: 11.52 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007135/0.5926, allocations: 1.786 MB / 0.5413 GB, free: 11.1 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.5927, allocations: 0 / 0.5413 GB, free: 11.1 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.129e-05/0.5927, allocations: 0 / 0.5413 GB, free: 11.1 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.0003394/0.5931, allocations: 466.5 kB / 0.5418 GB, free: 10.68 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.5931, allocations: 11.69 kB / 0.5418 GB, free: 10.68 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.726e-05/0.5932, allocations: 11.66 kB / 0.5418 GB, free: 10.67 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001945/0.5934, allocations: 216 kB / 0.542 GB, free: 10.44 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.5934, allocations: 0 / 0.542 GB, free: 10.44 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.234e-05/0.5934, allocations: 0 / 0.542 GB, free: 10.44 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001646/0.5936, allocations: 91.5 kB / 0.5421 GB, free: 10.43 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.5938, allocations: 130.9 kB / 0.5422 GB, free: 10.4 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.5938, allocations: 0 / 0.5422 GB, free: 10.4 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.5938, allocations: 4 kB / 0.5422 GB, free: 10.39 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.405e-06/0.5938, allocations: 0 / 0.5422 GB, free: 10.39 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000144/0.594, allocations: 167.5 kB / 0.5424 GB, free: 10.22 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001837/0.5942, allocations: 151.2 kB / 0.5425 GB, free: 10.2 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001553/0.5943, allocations: 140.8 kB / 0.5427 GB, free: 10.19 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.518e-06/0.5944, allocations: 3.875 kB / 0.5427 GB, free: 10.19 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.953e-05/0.5944, allocations: 30.56 kB / 0.5427 GB, free: 10.15 MB / 362.7 MB Notification: Performance of pre-optimization done (n=40): time 2.104e-06/0.5944, allocations: 7.984 kB / 0.5427 GB, free: 10.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=40): time 0.0004974/0.5949, allocations: 270.6 kB / 0.543 GB, free: 10.09 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.25e-05/0.595, allocations: 107.1 kB / 0.5431 GB, free: 10 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.5951, allocations: 129.8 kB / 0.5432 GB, free: 9.902 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.5951, allocations: 25.7 kB / 0.5432 GB, free: 9.871 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.1e-05/0.5952, allocations: 158 kB / 0.5434 GB, free: 9.723 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.691e-05/0.5953, allocations: 128.7 kB / 0.5435 GB, free: 9.637 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.831e-06/0.5953, allocations: 0 / 0.5435 GB, free: 9.637 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.66e-05/0.5954, allocations: 333 kB / 0.5438 GB, free: 9.32 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001123/0.5955, allocations: 90.97 kB / 0.5439 GB, free: 9.32 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/0.5956, allocations: 93.36 kB / 0.544 GB, free: 9.316 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000204/0.5958, allocations: 133.6 kB / 0.5441 GB, free: 9.312 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.5959, allocations: 0 / 0.5441 GB, free: 9.312 MB / 362.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003928/0.5963, allocations: 264.6 kB / 0.5444 GB, free: 9.266 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.723e-05/0.5964, allocations: 82.39 kB / 0.5444 GB, free: 9.234 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.5964, allocations: 3.844 kB / 0.5444 GB, free: 9.234 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.5964, allocations: 0 / 0.5444 GB, free: 9.234 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.412e-06/0.5964, allocations: 3.938 kB / 0.5445 GB, free: 9.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.5964, allocations: 4.062 kB / 0.5445 GB, free: 9.227 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.45e-05/0.5965, allocations: 27.12 kB / 0.5445 GB, free: 9.207 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.556e-05/0.5966, allocations: 7.75 kB / 0.5445 GB, free: 9.207 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.0001663/0.5968, allocations: 197.2 kB / 0.5447 GB, free: 9.07 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.204e-05/0.5968, allocations: 23.42 kB / 0.5447 GB, free: 9.059 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.796e-05/0.5969, allocations: 15.28 kB / 0.5447 GB, free: 9.051 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.5969, allocations: 0 / 0.5447 GB, free: 9.051 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.5969, allocations: 0 / 0.5447 GB, free: 9.051 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.5969, allocations: 0 / 0.5447 GB, free: 9.051 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001444/0.597, allocations: 193.5 kB / 0.5449 GB, free: 8.879 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.5971, allocations: 0 / 0.5449 GB, free: 8.879 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.713e-06/0.5971, allocations: 4.812 kB / 0.5449 GB, free: 8.875 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.5971, allocations: 0 / 0.5449 GB, free: 8.875 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.699e-05/0.5971, allocations: 17.52 kB / 0.5449 GB, free: 8.871 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.5971, allocations: 0 / 0.5449 GB, free: 8.871 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.5971, allocations: 0 / 0.5449 GB, free: 8.871 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000858/0.598, allocations: 0.5266 MB / 0.5454 GB, free: 8.797 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.144e-05/0.5981, allocations: 104.6 kB / 0.5455 GB, free: 8.684 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.387e-05/0.5981, allocations: 10.09 kB / 0.5455 GB, free: 8.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.644e-05/0.5982, allocations: 11.64 kB / 0.5456 GB, free: 8.676 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.808e-05/0.5982, allocations: 16.34 kB / 0.5456 GB, free: 8.672 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.867e-05/0.5983, allocations: 7.75 kB / 0.5456 GB, free: 8.672 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.039e-05/0.5984, allocations: 107.8 kB / 0.5457 GB, free: 8.598 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5984, allocations: 0 / 0.5457 GB, free: 8.598 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003646/0.5987, allocations: 58.44 kB / 0.5457 GB, free: 8.594 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.000238/0.599, allocations: 109.5 kB / 0.5458 GB, free: 8.504 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001511/0.6005, allocations: 1.569 MB / 0.5474 GB, free: 8.438 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.6006, allocations: 0 / 0.5474 GB, free: 8.438 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001158/0.6017, allocations: 1.358 MB / 0.5487 GB, free: 8.375 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/0.602, allocations: 21.78 kB / 0.5487 GB, free: 8.371 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009148/0.603, allocations: 0.5392 MB / 0.5492 GB, free: 8.238 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002243/0.6032, allocations: 0.7513 MB / 0.55 GB, free: 7.539 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.494e-05/0.6032, allocations: 15.38 kB / 0.55 GB, free: 7.527 MB / 362.7 MB Notification: Performance of SimCode: time 1.002e-06/0.6033, allocations: 0 / 0.55 GB, free: 7.527 MB / 362.7 MB Notification: Performance of Templates: time 0.005335/0.6086, allocations: 2.282 MB / 0.5522 GB, free: 6.602 MB / 362.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=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_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'