Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.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.TransDatFromEqCirc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc") translateModel(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002069/0.002068, allocations: 181.1 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.37/2.37, allocations: 205.3 MB / 213.7 MB, free: 1.742 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.001082/0.001082, allocations: 82.66 kB / 261.8 MB, free: 1.68 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.3182/0.3182, allocations: 38 MB / 347.7 MB, free: 5.762 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.61e-05/1.613e-05, allocations: 4 kB / 409.9 MB, free: 35.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1088, allocations: 56.32 MB / 466.2 MB, free: 10.81 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5201/0.629, allocations: 88.69 MB / 0.5419 GB, free: 11.3 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002906/0.6294, allocations: 77.33 kB / 0.5419 GB, free: 11.3 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0297/0.6591, allocations: 5.674 MB / 0.5475 GB, free: 9.523 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.592e-06/0.6592, allocations: 0 / 0.5475 GB, free: 9.523 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.303e-05/0.6592, allocations: 3.625 kB / 0.5475 GB, free: 9.523 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004634/0.6597, allocations: 449.8 kB / 0.5479 GB, free: 9.086 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.6597, allocations: 11.67 kB / 0.5479 GB, free: 9.082 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.728e-05/0.6598, allocations: 11.69 kB / 0.5479 GB, free: 9.074 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001956/0.66, allocations: 204.5 kB / 0.5481 GB, free: 8.852 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.66, allocations: 0 / 0.5481 GB, free: 8.852 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.812e-05/0.66, allocations: 0 / 0.5481 GB, free: 8.852 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001375/0.6602, allocations: 56.69 kB / 0.5482 GB, free: 8.844 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.6603, allocations: 94.33 kB / 0.5483 GB, free: 8.797 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.6604, allocations: 0 / 0.5483 GB, free: 8.797 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/0.6604, allocations: 0 / 0.5483 GB, free: 8.797 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.6604, allocations: 3.953 kB / 0.5483 GB, free: 8.793 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001299/0.6605, allocations: 156.6 kB / 0.5484 GB, free: 8.621 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001626/0.6607, allocations: 136.1 kB / 0.5486 GB, free: 8.578 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001414/0.6609, allocations: 114.3 kB / 0.5487 GB, free: 8.562 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.357e-06/0.6609, allocations: 0 / 0.5487 GB, free: 8.562 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/0.6609, allocations: 34.28 kB / 0.5487 GB, free: 8.523 MB / 362.7 MB Notification: Performance of pre-optimization done (n=20): time 1.473e-06/0.6609, allocations: 0 / 0.5487 GB, free: 8.523 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.0003974/0.6613, allocations: 171 kB / 0.5489 GB, free: 8.465 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.271e-05/0.6614, allocations: 92.59 kB / 0.549 GB, free: 8.367 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.91e-05/0.6615, allocations: 121.5 kB / 0.5491 GB, free: 8.266 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.6615, allocations: 25.7 kB / 0.5491 GB, free: 8.234 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.297e-05/0.6616, allocations: 157.1 kB / 0.5492 GB, free: 8.082 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.535e-05/0.6617, allocations: 64.81 kB / 0.5493 GB, free: 8.031 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.937e-06/0.6617, allocations: 3.781 kB / 0.5493 GB, free: 8.031 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.082e-05/0.6617, allocations: 313.8 kB / 0.5496 GB, free: 7.719 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001/0.6619, allocations: 63.48 kB / 0.5497 GB, free: 7.703 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.546e-05/0.662, allocations: 52.53 kB / 0.5497 GB, free: 7.695 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001523/0.6621, allocations: 72.53 kB / 0.5498 GB, free: 7.676 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.6621, allocations: 4.031 kB / 0.5498 GB, free: 7.672 MB / 362.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003409/0.6625, allocations: 169.1 kB / 0.55 GB, free: 7.613 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.816e-05/0.6626, allocations: 55.42 kB / 0.55 GB, free: 7.574 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.6626, allocations: 3.781 kB / 0.55 GB, free: 7.574 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/0.6626, allocations: 3.953 kB / 0.55 GB, free: 7.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.504e-06/0.6626, allocations: 0 / 0.55 GB, free: 7.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.6626, allocations: 3.938 kB / 0.55 GB, free: 7.566 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.114e-05/0.6627, allocations: 11.75 kB / 0.55 GB, free: 7.559 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.115e-05/0.6628, allocations: 7.844 kB / 0.55 GB, free: 7.559 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.0001193/0.6629, allocations: 162 kB / 0.5502 GB, free: 7.41 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.084e-05/0.663, allocations: 19.45 kB / 0.5502 GB, free: 7.402 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.285e-05/0.663, allocations: 4.75 kB / 0.5502 GB, free: 7.398 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.663, allocations: 0 / 0.5502 GB, free: 7.398 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.291e-06/0.663, allocations: 3.953 kB / 0.5502 GB, free: 7.395 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.663, allocations: 3.5 kB / 0.5502 GB, free: 7.395 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001192/0.6632, allocations: 172.3 kB / 0.5504 GB, free: 7.215 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.6632, allocations: 0 / 0.5504 GB, free: 7.215 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.094e-06/0.6632, allocations: 3.812 kB / 0.5504 GB, free: 7.215 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.6632, allocations: 0 / 0.5504 GB, free: 7.215 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.049e-05/0.6632, allocations: 11.86 kB / 0.5504 GB, free: 7.207 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.6632, allocations: 0 / 0.5504 GB, free: 7.207 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/0.6632, allocations: 1.016 kB / 0.5504 GB, free: 7.207 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005565/0.6638, allocations: 310.4 kB / 0.5507 GB, free: 7.082 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.768e-05/0.6639, allocations: 92.75 kB / 0.5508 GB, free: 6.977 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.351e-05/0.6639, allocations: 3.844 kB / 0.5508 GB, free: 6.977 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.912e-05/0.664, allocations: 3.844 kB / 0.5508 GB, free: 6.977 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.373e-05/0.664, allocations: 7.594 kB / 0.5508 GB, free: 6.977 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-05/0.6641, allocations: 15.7 kB / 0.5508 GB, free: 6.969 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.732e-05/0.6641, allocations: 98.95 kB / 0.5509 GB, free: 6.891 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.6641, allocations: 0 / 0.5509 GB, free: 6.891 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006268/0.6648, allocations: 135.3 kB / 0.551 GB, free: 6.867 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.000518/0.6653, allocations: 198.7 kB / 0.5512 GB, free: 6.742 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006636/0.666, allocations: 0.5571 MB / 0.5518 GB, free: 6.637 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.666, allocations: 64 / 0.5518 GB, free: 6.637 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004315/0.6665, allocations: 464.3 kB / 0.5522 GB, free: 6.543 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002451/0.6667, allocations: 22.83 kB / 0.5522 GB, free: 6.535 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005743/0.6673, allocations: 314.5 kB / 0.5525 GB, free: 6.367 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001732/0.6675, allocations: 0.7174 MB / 0.5532 GB, free: 5.652 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.553e-05/0.6675, allocations: 11.34 kB / 0.5532 GB, free: 5.645 MB / 362.7 MB Notification: Performance of SimCode: time 1.102e-06/0.6675, allocations: 64 / 0.5532 GB, free: 5.645 MB / 362.7 MB Notification: Performance of Templates: time 0.007432/0.675, allocations: 3.195 MB / 0.5564 GB, free: 4.023 MB / 362.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.makefile make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.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.TransDatFromEqCircCalcHelperMain.o OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCircCalcHelperMain.cpp\nIn file included from OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCircCalcHelperMain.cpp:28:\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCircFunctions.cpp:247:3: error: unknown type name \'diagonalRetType\'\n diagonalRetType /* undefined */ tmp23;\n ^\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCircFunctions.cpp:257:3: error: unknown type name \'diagonalRetType\'\n diagonalRetType /* undefined */ tmp33;\n ^\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCircFunctions.cpp:279:3: error: unknown type name \'diagonalRetType\'\n diagonalRetType /* undefined */ tmp60;\n ^\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCircFunctions.cpp:281:3: error: unknown type name \'diagonalRetType\'\n diagonalRetType /* undefined */ tmp62;\n ^\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCircFunctions.cpp:288:3: error: unknown type name \'diagonalRetType\'\n diagonalRetType /* undefined */ tmp74;\n ^\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCircFunctions.cpp:291:3: error: unknown type name \'diagonalRetType\'\n diagonalRetType /* undefined */ tmp77;\n ^\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCircFunctions.cpp:783:32: error: invalid argument type \'DynArrayDim1\' to unary expression\n y_(j_) = division((-tmp106),Tc_(j_),!_initial,"Tc[j]") /*stmtAssign*/;\n ^~~~~~~\n7 errors generated.\n: recipe for target \'OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCircCalcHelperMain.o\' failed\nmake: *** [OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCircCalcHelperMain.o] Error 1\n'