Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001588/0.001588, allocations: 187.4 kB / 15.77 MB, free: 5.988 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.026/2.026, allocations: 205.4 MB / 221.9 MB, free: 13.8 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001117/0.001117, allocations: 82.88 kB / 270.2 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2641/0.2641, allocations: 38.06 MB / 356.6 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004565/0.0004567, allocations: 8 kB / 422.7 MB, free: 26.42 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.109, allocations: 56.32 MB / 479 MB, free: 2.043 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc): time 0.003079/0.1122, allocations: 1.803 MB / 480.8 MB, free: 224 kB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002251/0.1145, allocations: 1.03 MB / 481.9 MB, free: 15.18 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.566e-05/0.1146, allocations: 0 / 481.9 MB, free: 15.18 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001487/0.1148, allocations: 15.91 kB / 481.9 MB, free: 15.17 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 8.668e-05/0.1149, allocations: 15.95 kB / 481.9 MB, free: 15.15 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009148/0.1158, allocations: 199.5 kB / 482.1 MB, free: 14.96 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001106/0.1159, allocations: 55.84 kB / 482.1 MB, free: 14.9 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.721e-05/0.116, allocations: 4 kB / 482.2 MB, free: 14.9 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001042/0.1161, allocations: 35.89 kB / 482.2 MB, free: 14.86 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.117e-05/0.1162, allocations: 35.84 kB / 482.2 MB, free: 14.83 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.818e-05/0.1162, allocations: 4 kB / 482.2 MB, free: 14.82 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000662/0.1169, allocations: 291.5 kB / 482.5 MB, free: 14.54 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.4e-05/0.117, allocations: 27.91 kB / 482.5 MB, free: 14.51 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.215e-05/0.117, allocations: 41.64 kB / 482.6 MB, free: 14.46 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006244/0.1177, allocations: 379.4 kB / 482.9 MB, free: 14.09 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.1177, allocations: 0 / 482.9 MB, free: 14.09 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1177, allocations: 0 / 482.9 MB, free: 14.09 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.1177, allocations: 4 kB / 483 MB, free: 14.09 MB / 330.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.0005677/0.1183, allocations: 448.6 kB / 483.4 MB, free: 13.6 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.1183, allocations: 8.031 kB / 483.4 MB, free: 13.59 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.499e-05/0.1184, allocations: 15.77 kB / 483.4 MB, free: 13.57 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002202/0.1186, allocations: 186.9 kB / 483.6 MB, free: 13.35 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.1187, allocations: 0 / 483.6 MB, free: 13.35 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.138e-05/0.1187, allocations: 4 kB / 483.6 MB, free: 13.35 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002564/0.119, allocations: 93.66 kB / 483.7 MB, free: 13.25 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.119, allocations: 0 / 483.7 MB, free: 13.25 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.119, allocations: 8 kB / 483.7 MB, free: 13.24 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-06/0.119, allocations: 4 kB / 483.7 MB, free: 13.24 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000136/0.1192, allocations: 63.8 kB / 483.8 MB, free: 13.18 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002131/0.1194, allocations: 185.5 kB / 483.9 MB, free: 12.95 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002172/0.1196, allocations: 122.5 kB / 484.1 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.947e-06/0.1196, allocations: 4.031 kB / 484.1 MB, free: 12.81 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.725e-05/0.1197, allocations: 34.56 kB / 484.1 MB, free: 12.77 MB / 330.7 MB Notification: Performance of pre-optimization done (n=20): time 1.663e-06/0.1197, allocations: 7.938 kB / 484.1 MB, free: 12.76 MB / 330.7 MB Notification: Performance of matching and sorting (n=20): time 0.0007171/0.1204, allocations: 388.4 kB / 484.5 MB, free: 12.35 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.275e-05/0.1205, allocations: 93.09 kB / 484.6 MB, free: 12.24 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.1207, allocations: 130 kB / 484.7 MB, free: 12.11 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.5e-05/0.1207, allocations: 25.7 kB / 484.7 MB, free: 12.07 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.031e-05/0.1208, allocations: 158.9 kB / 484.9 MB, free: 11.92 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.369e-05/0.1209, allocations: 63 kB / 485 MB, free: 11.86 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.048e-05/0.1209, allocations: 4 kB / 485 MB, free: 11.85 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.1211, allocations: 326.8 kB / 485.3 MB, free: 11.52 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000128/0.1212, allocations: 55.97 kB / 485.3 MB, free: 11.47 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001198/0.1214, allocations: 55.97 kB / 485.4 MB, free: 11.41 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001916/0.1216, allocations: 109.7 kB / 485.5 MB, free: 11.3 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1216, allocations: 0 / 485.5 MB, free: 11.3 MB / 330.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004019/0.122, allocations: 215.2 kB / 485.7 MB, free: 11.08 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.484e-05/0.1221, allocations: 57.67 kB / 485.8 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.1221, allocations: 0 / 485.8 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.1221, allocations: 0 / 485.8 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.573e-06/0.1221, allocations: 0 / 485.8 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.1222, allocations: 4.062 kB / 485.8 MB, free: 11.01 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.133e-05/0.1223, allocations: 11.84 kB / 485.8 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.384e-05/0.1223, allocations: 8 kB / 485.8 MB, free: 10.99 MB / 330.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.0002033/0.1225, allocations: 183.5 kB / 486 MB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.792e-05/0.1226, allocations: 19.77 kB / 486 MB, free: 10.78 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.668e-05/0.1226, allocations: 9.188 kB / 486 MB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.1226, allocations: 0 / 486 MB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1226, allocations: 0 / 486 MB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.1226, allocations: 0 / 486 MB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001946/0.1228, allocations: 201.5 kB / 486.2 MB, free: 10.53 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1229, allocations: 0 / 486.2 MB, free: 10.53 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.836e-06/0.1229, allocations: 7.953 kB / 486.2 MB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.1229, allocations: 0 / 486.2 MB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.059e-05/0.1229, allocations: 4 kB / 486.2 MB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1229, allocations: 0 / 486.2 MB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1229, allocations: 0 / 486.2 MB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007234/0.1237, allocations: 391.1 kB / 486.6 MB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.235e-05/0.1237, allocations: 88.92 kB / 486.7 MB, free: 10 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.385e-05/0.1238, allocations: 11.97 kB / 486.7 MB, free: 9.992 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.387e-05/0.1239, allocations: 7.938 kB / 486.7 MB, free: 9.984 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.159e-05/0.1239, allocations: 0 / 486.7 MB, free: 9.984 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.372e-05/0.1239, allocations: 8 kB / 486.7 MB, free: 9.977 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.719e-05/0.124, allocations: 109.9 kB / 486.8 MB, free: 9.871 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.1241, allocations: 0 / 486.8 MB, free: 9.871 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005879/0.1247, allocations: 135.9 kB / 486.9 MB, free: 9.738 MB / 330.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.0005583/0.1252, allocations: 183.1 kB / 487.1 MB, free: 9.547 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009233/0.1262, allocations: 0.5656 MB / 487.7 MB, free: 8.969 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.1262, allocations: 0 / 487.7 MB, free: 8.969 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000616/0.1268, allocations: 471.3 kB / 488.1 MB, free: 8.496 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002795/0.1271, allocations: 15.92 kB / 488.2 MB, free: 8.48 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009133/0.128, allocations: 461.2 kB / 488.6 MB, free: 7.996 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003738/0.1284, allocations: 0.7199 MB / 489.3 MB, free: 7.25 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.915e-05/0.1285, allocations: 15.44 kB / 489.3 MB, free: 7.234 MB / 330.7 MB Notification: Performance of SimCode: time 7.32e-07/0.1285, allocations: 0 / 489.3 MB, free: 7.234 MB / 330.7 MB Notification: Performance of Templates: time 0.00844/0.1369, allocations: 3.225 MB / 492.6 MB, free: 4.008 MB / 330.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=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/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:245:3: error: unknown type name \'diagonalRetType\'\n diagonalRetType /* undefined */ tmp23;\n ^\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCircFunctions.cpp:255:3: error: unknown type name \'diagonalRetType\'\n diagonalRetType /* undefined */ tmp33;\n ^\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCircFunctions.cpp:277:3: error: unknown type name \'diagonalRetType\'\n diagonalRetType /* undefined */ tmp61;\n ^\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCircFunctions.cpp:279:3: error: unknown type name \'diagonalRetType\'\n diagonalRetType /* undefined */ tmp63;\n ^\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCircFunctions.cpp:286:3: error: unknown type name \'diagonalRetType\'\n diagonalRetType /* undefined */ tmp75;\n ^\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCircFunctions.cpp:289:3: error: unknown type name \'diagonalRetType\'\n diagonalRetType /* undefined */ tmp78;\n ^\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCircFunctions.cpp:449:24: error: use of undeclared identifier \'_omcQ_24i1_\'\n tmp55 = r_r_(_omcQ_24i1_);\n ^\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCircFunctions.cpp:513:44: error: use of undeclared identifier \'_omcQ_24i1_\'\n _omcQ_24tmpVar4_ = std::abs(lam_(_omcQ_24i1_,2));\n ^\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCircFunctions.cpp:576:44: error: use of undeclared identifier \'_omcQ_24i1_\'\n _omcQ_24tmpVar6_ = std::abs(lam_(_omcQ_24i1_,2));\n ^\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCircFunctions.cpp:723:3: error: unknown type name \'productRetType\'\n productRetType /* undefined */ tmp108;\n ^\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCircFunctions.cpp:724:3: error: unknown type name \'productRetType\'\n productRetType /* undefined */ tmp109;\n ^\n11 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'