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.001482/0.001482, allocations: 182 kB / 15.76 MB, free: 6.344 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 2.034/2.034, allocations: 205.4 MB / 221.9 MB, free: 13.82 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.001109/0.001109, allocations: 94.75 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2565/0.2565, allocations: 38.06 MB / 356.6 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004668/0.0004668, allocations: 12 kB / 422.7 MB, free: 26.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1085, allocations: 56.32 MB / 479 MB, free: 2.035 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4792/0.5878, allocations: 89.45 MB / 0.5552 GB, free: 9.613 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002854/0.5881, allocations: 85.45 kB / 0.5552 GB, free: 9.566 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02981/0.6179, allocations: 5.707 MB / 0.5608 GB, free: 4.883 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.618, allocations: 0 / 0.5608 GB, free: 4.883 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.075e-05/0.618, allocations: 4 kB / 0.5608 GB, free: 4.879 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.000498/0.6185, allocations: 471.2 kB / 0.5613 GB, free: 4.375 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.6186, allocations: 8.031 kB / 0.5613 GB, free: 4.367 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.705e-05/0.6186, allocations: 7.906 kB / 0.5613 GB, free: 4.359 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001795/0.6188, allocations: 193.6 kB / 0.5615 GB, free: 4.133 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.6188, allocations: 4 kB / 0.5615 GB, free: 4.129 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.6189, allocations: 3.984 kB / 0.5615 GB, free: 4.125 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001996/0.6191, allocations: 99.28 kB / 0.5616 GB, free: 4.035 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.6191, allocations: 4 kB / 0.5616 GB, free: 4.031 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.6191, allocations: 4 kB / 0.5616 GB, free: 4.027 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.6191, allocations: 0 / 0.5616 GB, free: 4.027 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001171/0.6193, allocations: 62.16 kB / 0.5616 GB, free: 3.977 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001508/0.6194, allocations: 184.2 kB / 0.5618 GB, free: 3.758 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001717/0.6196, allocations: 131.4 kB / 0.5619 GB, free: 3.676 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.939e-06/0.6196, allocations: 3.75 kB / 0.5619 GB, free: 3.676 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.6197, allocations: 38.59 kB / 0.562 GB, free: 3.629 MB / 362.7 MB Notification: Performance of pre-optimization done (n=20): time 1.563e-06/0.6197, allocations: 0 / 0.562 GB, free: 3.629 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.0005823/0.6203, allocations: 379.3 kB / 0.5623 GB, free: 3.266 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.6203, allocations: 97.03 kB / 0.5624 GB, free: 3.152 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.447e-05/0.6204, allocations: 123.1 kB / 0.5626 GB, free: 3.031 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.6204, allocations: 25.7 kB / 0.5626 GB, free: 3 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.906e-05/0.6205, allocations: 163.7 kB / 0.5627 GB, free: 2.84 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.408e-05/0.6206, allocations: 68.53 kB / 0.5628 GB, free: 2.781 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.028e-05/0.6206, allocations: 0 / 0.5628 GB, free: 2.781 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.768e-05/0.6207, allocations: 325.5 kB / 0.5631 GB, free: 2.457 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001089/0.6208, allocations: 54.03 kB / 0.5632 GB, free: 2.414 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000106/0.6209, allocations: 65.59 kB / 0.5632 GB, free: 2.363 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001562/0.6211, allocations: 104.3 kB / 0.5633 GB, free: 2.27 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.6211, allocations: 3.984 kB / 0.5633 GB, free: 2.266 MB / 362.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003332/0.6214, allocations: 215.6 kB / 0.5635 GB, free: 2.07 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.861e-05/0.6215, allocations: 53.48 kB / 0.5636 GB, free: 2.016 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.6215, allocations: 0 / 0.5636 GB, free: 2.016 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.6216, allocations: 0 / 0.5636 GB, free: 2.016 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.533e-06/0.6216, allocations: 64 / 0.5636 GB, free: 2.016 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.6216, allocations: 8 kB / 0.5636 GB, free: 2.008 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.461e-05/0.6217, allocations: 11.84 kB / 0.5636 GB, free: 1.996 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.104e-05/0.6217, allocations: 8 kB / 0.5636 GB, free: 1.988 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 () * Number of clocked 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.0001499/0.6219, allocations: 178.4 kB / 0.5638 GB, free: 1.801 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.254e-05/0.6219, allocations: 19.77 kB / 0.5638 GB, free: 1.781 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.035e-05/0.622, allocations: 12.38 kB / 0.5638 GB, free: 1.773 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.622, allocations: 4 kB / 0.5638 GB, free: 1.77 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.622, allocations: 0 / 0.5638 GB, free: 1.77 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.622, allocations: 0 / 0.5638 GB, free: 1.77 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001231/0.6221, allocations: 192.2 kB / 0.564 GB, free: 1.543 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.6221, allocations: 0 / 0.564 GB, free: 1.543 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.92e-07/0.6221, allocations: 0 / 0.564 GB, free: 1.543 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.6222, allocations: 4 kB / 0.564 GB, free: 1.539 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.124e-05/0.6222, allocations: 7.953 kB / 0.564 GB, free: 1.531 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.6222, allocations: 4.938 kB / 0.564 GB, free: 1.527 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.6222, allocations: 0 / 0.564 GB, free: 1.527 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000597/0.6228, allocations: 388.8 kB / 0.5644 GB, free: 1.184 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.316e-05/0.6229, allocations: 92.98 kB / 0.5645 GB, free: 1.074 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.335e-05/0.6229, allocations: 4 kB / 0.5645 GB, free: 1.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.579e-05/0.623, allocations: 4 kB / 0.5645 GB, free: 1.066 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.081e-05/0.623, allocations: 11.19 kB / 0.5645 GB, free: 1.059 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.256e-05/0.623, allocations: 8 kB / 0.5645 GB, free: 1.051 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.728e-05/0.6231, allocations: 109.2 kB / 0.5646 GB, free: 0.9531 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.342e-06/0.6231, allocations: 0 / 0.5646 GB, free: 0.9531 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005739/0.6237, allocations: 147.5 kB / 0.5647 GB, free: 0.8125 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 () * Number of clocked 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.0004925/0.6242, allocations: 196.5 kB / 0.5649 GB, free: 0.6211 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006891/0.6249, allocations: 0.5673 MB / 0.5655 GB, free: 304 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.6249, allocations: 3.938 kB / 0.5655 GB, free: 300 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000429/0.6254, allocations: 468.7 kB / 0.5659 GB, free: 56 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002689/0.6257, allocations: 14.92 kB / 0.566 GB, free: 44 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000912/0.6266, allocations: 472.5 kB / 0.5664 GB, free: 15.58 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003537/0.627, allocations: 0.7238 MB / 0.5671 GB, free: 14.83 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.897e-05/0.627, allocations: 11.44 kB / 0.5671 GB, free: 14.82 MB / 378.7 MB Notification: Performance of SimCode: time 9.72e-07/0.627, allocations: 0 / 0.5671 GB, free: 14.82 MB / 378.7 MB Notification: Performance of Templates: time 0.008769/0.6358, allocations: 3.183 MB / 0.5702 GB, free: 11.64 MB / 378.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=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.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:446:19: error: use of undeclared identifier \'_omcQ_24tmpVar11_\'; did you mean \'_omcQ_24tmpVar12_\'?\n tmp55 = _omcQ_24tmpVar11_;\n ^~~~~~~~~~~~~~~~~\n _omcQ_24tmpVar12_\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCircFunctions.cpp:423:14: note: \'_omcQ_24tmpVar12_\' declared here\n double _omcQ_24tmpVar12_;\n ^\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCircFunctions.cpp:510:40: error: use of undeclared identifier \'_omcQ_24tmpVar14_\'; did you mean \'_omcQ_24tmpVar15_\'?\n _omcQ_24tmpVar15_ = std::abs(_omcQ_24tmpVar14_);\n ^~~~~~~~~~~~~~~~~\n _omcQ_24tmpVar15_\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCircFunctions.cpp:482:14: note: \'_omcQ_24tmpVar15_\' declared here\n double _omcQ_24tmpVar15_;\n ^\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCircFunctions.cpp:573:40: error: use of undeclared identifier \'_omcQ_24tmpVar17_\'; did you mean \'_omcQ_24tmpVar18_\'?\n _omcQ_24tmpVar18_ = std::abs(_omcQ_24tmpVar17_);\n ^~~~~~~~~~~~~~~~~\n _omcQ_24tmpVar18_\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCircFunctions.cpp:545:14: note: \'_omcQ_24tmpVar18_\' declared here\n double _omcQ_24tmpVar18_;\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 ^~~~~~~\n10 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'