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.002161/0.002161, allocations: 185.8 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.964/1.964, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.001087/0.001087, allocations: 87.62 kB / 267.1 MB, free: 9.285 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.4233/0.4233, allocations: 37.97 MB / 353.1 MB, free: 3.062 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.94e-05/3.967e-05, allocations: 4 kB / 416.8 MB, free: 41.3 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1115, allocations: 56.31 MB / 473.1 MB, free: 0.9258 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4698/0.5813, allocations: 89.36 MB / 0.5493 GB, free: 14.41 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003145/0.5817, allocations: 83.94 kB / 0.5494 GB, free: 14.32 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03346/0.6152, allocations: 5.697 MB / 0.5549 GB, free: 8.637 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.6152, allocations: 4 kB / 0.5549 GB, free: 8.633 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.183e-05/0.6153, allocations: 0 / 0.5549 GB, free: 8.633 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0006179/0.6159, allocations: 452.4 kB / 0.5554 GB, free: 8.141 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/0.616, allocations: 8.031 kB / 0.5554 GB, free: 8.133 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.081e-05/0.616, allocations: 11.84 kB / 0.5554 GB, free: 8.121 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003437/0.6164, allocations: 206.7 kB / 0.5556 GB, free: 7.879 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.6164, allocations: 0 / 0.5556 GB, free: 7.879 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.176e-05/0.6164, allocations: 0 / 0.5556 GB, free: 7.879 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002525/0.6167, allocations: 97.66 kB / 0.5557 GB, free: 7.777 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.6167, allocations: 4 kB / 0.5557 GB, free: 7.773 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.6167, allocations: 0 / 0.5557 GB, free: 7.773 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.6168, allocations: 0 / 0.5557 GB, free: 7.773 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001526/0.6169, allocations: 67.86 kB / 0.5558 GB, free: 7.707 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002187/0.6172, allocations: 177.5 kB / 0.5559 GB, free: 7.484 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002394/0.6174, allocations: 126.5 kB / 0.556 GB, free: 7.352 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002077/0.6176, allocations: 120.9 kB / 0.5562 GB, free: 7.23 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.093e-05/0.6176, allocations: 0 / 0.5562 GB, free: 7.23 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.6177, allocations: 38.55 kB / 0.5562 GB, free: 7.184 MB / 394.7 MB Notification: Performance of pre-optimization done (n=20): time 1.774e-06/0.6177, allocations: 0 / 0.5562 GB, free: 7.184 MB / 394.7 MB Notification: Performance of matching and sorting (n=20): time 0.0005269/0.6182, allocations: 223.4 kB / 0.5564 GB, free: 6.953 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.142e-05/0.6183, allocations: 97.09 kB / 0.5565 GB, free: 6.84 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/0.6185, allocations: 117.1 kB / 0.5566 GB, free: 6.715 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.614e-05/0.6185, allocations: 29.7 kB / 0.5566 GB, free: 6.68 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.389e-05/0.6186, allocations: 158.9 kB / 0.5568 GB, free: 6.52 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.703e-05/0.6187, allocations: 63.05 kB / 0.5569 GB, free: 6.457 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.137e-06/0.6188, allocations: 0 / 0.5569 GB, free: 6.457 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.6189, allocations: 322.8 kB / 0.5572 GB, free: 6.133 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00014/0.6191, allocations: 55.97 kB / 0.5572 GB, free: 6.078 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001371/0.6192, allocations: 55.97 kB / 0.5573 GB, free: 6.023 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002106/0.6194, allocations: 113.6 kB / 0.5574 GB, free: 5.906 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.6195, allocations: 0 / 0.5574 GB, free: 5.906 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004455/0.6199, allocations: 207.2 kB / 0.5576 GB, free: 5.691 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.245e-05/0.62, allocations: 65.56 kB / 0.5576 GB, free: 5.621 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.62, allocations: 0 / 0.5576 GB, free: 5.621 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.253e-05/0.6201, allocations: 8.047 kB / 0.5576 GB, free: 5.613 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.929e-06/0.6201, allocations: 0 / 0.5576 GB, free: 5.613 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.6201, allocations: 3.938 kB / 0.5576 GB, free: 5.609 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001191/0.6203, allocations: 19.78 kB / 0.5577 GB, free: 5.59 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.363e-05/0.6203, allocations: 4 kB / 0.5577 GB, free: 5.586 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.0001773/0.6205, allocations: 164.5 kB / 0.5578 GB, free: 5.414 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.172e-05/0.6206, allocations: 11.91 kB / 0.5578 GB, free: 5.402 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.137e-05/0.6206, allocations: 16.69 kB / 0.5579 GB, free: 5.383 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.6206, allocations: 4 kB / 0.5579 GB, free: 5.379 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.6207, allocations: 4 kB / 0.5579 GB, free: 5.375 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.6207, allocations: 0 / 0.5579 GB, free: 5.375 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002222/0.6209, allocations: 193.5 kB / 0.558 GB, free: 5.137 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.6209, allocations: 0 / 0.558 GB, free: 5.137 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.352e-06/0.6209, allocations: 0 / 0.558 GB, free: 5.137 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.174e-06/0.6209, allocations: 4 kB / 0.5581 GB, free: 5.133 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.533e-05/0.621, allocations: 7.953 kB / 0.5581 GB, free: 5.125 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.621, allocations: 0 / 0.5581 GB, free: 5.125 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.621, allocations: 0 / 0.5581 GB, free: 5.125 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000823/0.6218, allocations: 398.5 kB / 0.5584 GB, free: 4.711 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.482e-05/0.6219, allocations: 88.95 kB / 0.5585 GB, free: 4.605 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.959e-05/0.622, allocations: 8 kB / 0.5585 GB, free: 4.598 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.234e-05/0.6221, allocations: 4 kB / 0.5585 GB, free: 4.594 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.349e-05/0.6221, allocations: 7.984 kB / 0.5585 GB, free: 4.586 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.307e-05/0.6222, allocations: 4 kB / 0.5585 GB, free: 4.582 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001127/0.6223, allocations: 107.3 kB / 0.5586 GB, free: 4.477 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6223, allocations: 0 / 0.5586 GB, free: 4.477 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006675/0.623, allocations: 139.9 kB / 0.5588 GB, free: 4.34 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.0006167/0.6236, allocations: 195.1 kB / 0.559 GB, free: 4.141 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001057/0.6247, allocations: 0.5695 MB / 0.5595 GB, free: 3.559 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.6247, allocations: 0 / 0.5595 GB, free: 3.559 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006392/0.6254, allocations: 467.2 kB / 0.56 GB, free: 3.09 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002774/0.6257, allocations: 12 kB / 0.56 GB, free: 3.078 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007522/0.6264, allocations: 327.5 kB / 0.5603 GB, free: 2.73 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003785/0.6268, allocations: 0.7199 MB / 0.561 GB, free: 1.984 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.124e-05/0.6269, allocations: 7.438 kB / 0.561 GB, free: 1.977 MB / 394.7 MB Notification: Performance of SimCode: time 9.71e-07/0.6269, allocations: 0 / 0.561 GB, free: 1.977 MB / 394.7 MB Notification: Performance of Templates: time 0.009156/0.636, allocations: 3.182 MB / 0.5641 GB, free: 14.8 MB / 410.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 \'D_24tmpVar11_\'; did you mean \'D_24tmpVar12_\'?\n tmp55 = D_24tmpVar11_;\n ^~~~~~~~~~~~~\n D_24tmpVar12_\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCircFunctions.cpp:423:14: note: \'D_24tmpVar12_\' declared here\n double D_24tmpVar12_;\n ^\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCircFunctions.cpp:510:36: error: use of undeclared identifier \'D_24tmpVar14_\'; did you mean \'D_24tmpVar15_\'?\n D_24tmpVar15_ = std::abs(D_24tmpVar14_);\n ^~~~~~~~~~~~~\n D_24tmpVar15_\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCircFunctions.cpp:482:14: note: \'D_24tmpVar15_\' declared here\n double D_24tmpVar15_;\n ^\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCircFunctions.cpp:573:36: error: use of undeclared identifier \'D_24tmpVar17_\'; did you mean \'D_24tmpVar18_\'?\n D_24tmpVar18_ = std::abs(D_24tmpVar17_);\n ^~~~~~~~~~~~~\n D_24tmpVar18_\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCircFunctions.cpp:545:14: note: \'D_24tmpVar18_\' declared here\n double D_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'