Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.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.Z_matrixEqCirc1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001565/0.001564, allocations: 182.6 kB / 15.77 MB, free: 6.375 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.002/2.002, allocations: 205.4 MB / 221.9 MB, free: 13.82 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.001097/0.001096, allocations: 94.84 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.2697/0.2697, allocations: 38.07 MB / 356.6 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004974/0.0004975, allocations: 12 kB / 422.7 MB, free: 26.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1159, allocations: 56.33 MB / 479 MB, free: 2.039 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1): time 0.003051/0.119, allocations: 1.717 MB / 480.8 MB, free: 308 kB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001206/0.1203, allocations: 0.5235 MB / 481.3 MB, free: 15.77 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.591e-05/0.1204, allocations: 0 / 481.3 MB, free: 15.77 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001856/0.1206, allocations: 15.92 kB / 481.3 MB, free: 15.76 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 9.546e-05/0.1207, allocations: 15.91 kB / 481.3 MB, free: 15.74 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002866/0.121, allocations: 47.94 kB / 481.4 MB, free: 15.7 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 8.499e-05/0.1211, allocations: 35.86 kB / 481.4 MB, free: 15.66 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.383e-05/0.1212, allocations: 8 kB / 481.4 MB, free: 15.65 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.1213, allocations: 19.92 kB / 481.4 MB, free: 15.63 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.203e-05/0.1213, allocations: 11.94 kB / 481.4 MB, free: 15.62 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.27e-05/0.1213, allocations: 3.984 kB / 481.4 MB, free: 15.62 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001552/0.1215, allocations: 43.94 kB / 481.5 MB, free: 15.57 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.184e-05/0.1216, allocations: 11.94 kB / 481.5 MB, free: 15.56 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.461e-05/0.1216, allocations: 33.7 kB / 481.5 MB, free: 15.52 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000163/0.1218, allocations: 64.12 kB / 481.6 MB, free: 15.46 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.1218, allocations: 0 / 481.6 MB, free: 15.46 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1218, allocations: 3.938 kB / 481.6 MB, free: 15.46 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.1218, allocations: 0 / 481.6 MB, free: 15.46 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000445/0.1223, allocations: 392.8 kB / 482 MB, free: 15.02 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.1223, allocations: 12.03 kB / 482 MB, free: 15.01 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.623e-05/0.1224, allocations: 7.859 kB / 482 MB, free: 15 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002074/0.1226, allocations: 182.9 kB / 482.2 MB, free: 14.78 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.816e-06/0.1226, allocations: 0 / 482.2 MB, free: 14.78 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.529e-05/0.1227, allocations: 0 / 482.2 MB, free: 14.78 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.1228, allocations: 57.69 kB / 482.2 MB, free: 14.72 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.1228, allocations: 0 / 482.2 MB, free: 14.72 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.1229, allocations: 4 kB / 482.2 MB, free: 14.71 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.1229, allocations: 4 kB / 482.2 MB, free: 14.71 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.19e-05/0.123, allocations: 31.92 kB / 482.3 MB, free: 14.68 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001867/0.1232, allocations: 169.6 kB / 482.4 MB, free: 14.46 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.1233, allocations: 54.56 kB / 482.5 MB, free: 14.4 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.22e-06/0.1233, allocations: 0 / 482.5 MB, free: 14.4 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.1233, allocations: 30.56 kB / 482.5 MB, free: 14.36 MB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 1.723e-06/0.1233, allocations: 4 kB / 482.5 MB, free: 14.36 MB / 330.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004573/0.1238, allocations: 268.5 kB / 482.8 MB, free: 14.07 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.886e-05/0.1239, allocations: 89.09 kB / 482.9 MB, free: 13.96 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.1241, allocations: 122.4 kB / 483 MB, free: 13.83 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.1241, allocations: 25.7 kB / 483 MB, free: 13.8 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.67e-05/0.1242, allocations: 158.6 kB / 483.2 MB, free: 13.64 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.493e-05/0.1242, allocations: 43.28 kB / 483.2 MB, free: 13.6 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.379e-06/0.1243, allocations: 0 / 483.2 MB, free: 13.6 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.1244, allocations: 322.8 kB / 483.5 MB, free: 13.28 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/0.1245, allocations: 36.02 kB / 483.6 MB, free: 13.24 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.036e-05/0.1246, allocations: 27.98 kB / 483.6 MB, free: 13.21 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001233/0.1247, allocations: 77.84 kB / 483.7 MB, free: 13.13 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1247, allocations: 0 / 483.7 MB, free: 13.13 MB / 330.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002535/0.125, allocations: 143.2 kB / 483.8 MB, free: 12.98 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.696e-05/0.1251, allocations: 49.69 kB / 483.8 MB, free: 12.93 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.1251, allocations: 3.984 kB / 483.9 MB, free: 12.92 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.1251, allocations: 0 / 483.9 MB, free: 12.92 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.253e-06/0.1252, allocations: 0 / 483.9 MB, free: 12.92 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.1252, allocations: 0 / 483.9 MB, free: 12.92 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.077e-05/0.1252, allocations: 11.97 kB / 483.9 MB, free: 12.91 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.352e-05/0.1253, allocations: 4 kB / 483.9 MB, free: 12.91 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.0001765/0.1254, allocations: 167.5 kB / 484 MB, free: 12.73 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.308e-05/0.1255, allocations: 4 kB / 484 MB, free: 12.72 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.775e-05/0.1255, allocations: 4.375 kB / 484 MB, free: 12.72 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.1255, allocations: 4 kB / 484 MB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.1255, allocations: 0 / 484 MB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.1255, allocations: 0 / 484 MB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001775/0.1257, allocations: 185.4 kB / 484.2 MB, free: 12.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1257, allocations: 4 kB / 484.2 MB, free: 12.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.032e-06/0.1258, allocations: 0 / 484.2 MB, free: 12.48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-06/0.1258, allocations: 0 / 484.2 MB, free: 12.48 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.801e-05/0.1258, allocations: 7.984 kB / 484.2 MB, free: 12.47 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1258, allocations: 0 / 484.2 MB, free: 12.47 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.1258, allocations: 0 / 484.2 MB, free: 12.47 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004992/0.1263, allocations: 282.5 kB / 484.5 MB, free: 12.17 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.763e-05/0.1264, allocations: 81.02 kB / 484.6 MB, free: 12.07 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.893e-05/0.1264, allocations: 12.03 kB / 484.6 MB, free: 12.06 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.326e-05/0.1265, allocations: 0 / 484.6 MB, free: 12.06 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.392e-05/0.1265, allocations: 4 kB / 484.6 MB, free: 12.06 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.586e-05/0.1265, allocations: 3.984 kB / 484.6 MB, free: 12.05 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.941e-05/0.1266, allocations: 95.27 kB / 484.7 MB, free: 11.96 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1266, allocations: 0 / 484.7 MB, free: 11.96 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003167/0.127, allocations: 28 kB / 484.7 MB, free: 11.93 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.0002316/0.1272, allocations: 115.2 kB / 484.8 MB, free: 11.81 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005044/0.1277, allocations: 291.3 kB / 485.1 MB, free: 11.51 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.1277, allocations: 3.938 kB / 485.1 MB, free: 11.51 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003114/0.1281, allocations: 223.3 kB / 485.4 MB, free: 11.28 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002436/0.1283, allocations: 11.94 kB / 485.4 MB, free: 11.27 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006631/0.129, allocations: 318.7 kB / 485.7 MB, free: 10.93 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003512/0.1294, allocations: 0.7043 MB / 486.4 MB, free: 10.2 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.586e-05/0.1294, allocations: 7.438 kB / 486.4 MB, free: 10.19 MB / 330.7 MB Notification: Performance of SimCode: time 8.22e-07/0.1294, allocations: 0 / 486.4 MB, free: 10.19 MB / 330.7 MB Notification: Performance of Templates: time 0.004063/0.1335, allocations: 1.249 MB / 487.6 MB, free: 8.938 MB / 330.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.makefile make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.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.Z_matrixEqCirc1CalcHelperMain.o OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1CalcHelperMain.cpp\nIn file included from OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1CalcHelperMain.cpp:28:\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1Functions.cpp:37:3: error: unknown type name \'diagonalRetType\'\n diagonalRetType /* undefined */ tmp8;\n ^\n1 error generated.\n: recipe for target \'OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1CalcHelperMain.o\' failed\nmake: *** [OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1CalcHelperMain.o] Error 1\n'