Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.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_matrixEqCirc2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002367/0.002367, allocations: 186.1 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.046/2.046, allocations: 205.4 MB / 221.9 MB, free: 13.81 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.001136/0.001135, allocations: 90.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.2695/0.2695, allocations: 38.05 MB / 356.6 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001031/0.001032, allocations: 12 kB / 422.7 MB, free: 26.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1183, allocations: 56.33 MB / 479 MB, free: 2.055 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2): time 0.003066/0.1215, allocations: 1.713 MB / 480.7 MB, free: 328 kB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001157/0.1227, allocations: 0.5274 MB / 481.3 MB, free: 15.79 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.698e-05/0.1227, allocations: 3.938 kB / 481.3 MB, free: 15.79 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001551/0.1229, allocations: 3.984 kB / 481.3 MB, free: 15.78 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 6.264e-05/0.123, allocations: 19.91 kB / 481.3 MB, free: 15.76 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003138/0.1233, allocations: 43.94 kB / 481.3 MB, free: 15.72 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 8.556e-05/0.1234, allocations: 39.86 kB / 481.4 MB, free: 15.68 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.194e-05/0.1235, allocations: 4 kB / 481.4 MB, free: 15.68 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.541e-05/0.1236, allocations: 19.92 kB / 481.4 MB, free: 15.66 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.447e-05/0.1237, allocations: 23.86 kB / 481.4 MB, free: 15.63 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.401e-05/0.1237, allocations: 4 kB / 481.4 MB, free: 15.63 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001445/0.1238, allocations: 39.95 kB / 481.5 MB, free: 15.59 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.903e-05/0.1239, allocations: 23.91 kB / 481.5 MB, free: 15.57 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.029e-05/0.1239, allocations: 37.64 kB / 481.5 MB, free: 15.52 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001648/0.1241, allocations: 72.12 kB / 481.6 MB, free: 15.45 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.1241, allocations: 0 / 481.6 MB, free: 15.45 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.558e-06/0.1242, allocations: 0 / 481.6 MB, free: 15.45 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.598e-06/0.1242, allocations: 3.938 kB / 481.6 MB, free: 15.45 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0004892/0.1247, allocations: 428.7 kB / 482 MB, free: 14.98 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.1247, allocations: 15.97 kB / 482 MB, free: 14.96 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.099e-05/0.1248, allocations: 19.75 kB / 482.1 MB, free: 14.94 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002147/0.125, allocations: 186.8 kB / 482.2 MB, free: 14.72 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.125, allocations: 0 / 482.2 MB, free: 14.72 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.369e-05/0.1251, allocations: 4 kB / 482.2 MB, free: 14.71 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001892/0.1253, allocations: 89.61 kB / 482.3 MB, free: 14.62 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.607e-06/0.1253, allocations: 0 / 482.3 MB, free: 14.62 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.1253, allocations: 0 / 482.3 MB, free: 14.62 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.1253, allocations: 0 / 482.3 MB, free: 14.62 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000109/0.1254, allocations: 59.98 kB / 482.4 MB, free: 14.56 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002546/0.1257, allocations: 185.5 kB / 482.6 MB, free: 14.33 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001635/0.1259, allocations: 94.55 kB / 482.7 MB, free: 14.23 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.39e-06/0.1259, allocations: 0 / 482.7 MB, free: 14.23 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/0.1259, allocations: 34.59 kB / 482.7 MB, free: 14.19 MB / 330.7 MB Notification: Performance of pre-optimization done (n=24): time 1.623e-06/0.1259, allocations: 0 / 482.7 MB, free: 14.19 MB / 330.7 MB Notification: Performance of matching and sorting (n=24): time 0.0006763/0.1266, allocations: 396.3 kB / 483.1 MB, free: 13.77 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.399e-05/0.1267, allocations: 105.1 kB / 483.2 MB, free: 13.65 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.1269, allocations: 130 kB / 483.3 MB, free: 13.51 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.1269, allocations: 25.7 kB / 483.3 MB, free: 13.48 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.771e-05/0.127, allocations: 155 kB / 483.5 MB, free: 13.33 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.481e-05/0.1271, allocations: 70.91 kB / 483.6 MB, free: 13.26 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.638e-06/0.1272, allocations: 4 kB / 483.6 MB, free: 13.25 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.1273, allocations: 322.8 kB / 483.9 MB, free: 12.93 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.1274, allocations: 55.98 kB / 483.9 MB, free: 12.88 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001099/0.1276, allocations: 63.97 kB / 484 MB, free: 12.81 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002017/0.1278, allocations: 121.6 kB / 484.1 MB, free: 12.69 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.1278, allocations: 0 / 484.1 MB, free: 12.69 MB / 330.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003985/0.1282, allocations: 223.9 kB / 484.3 MB, free: 12.46 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001088/0.1283, allocations: 64.62 kB / 484.4 MB, free: 12.39 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.1283, allocations: 0 / 484.4 MB, free: 12.39 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.1284, allocations: 4 kB / 484.4 MB, free: 12.39 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.857e-06/0.1284, allocations: 4 kB / 484.4 MB, free: 12.38 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.1284, allocations: 3.938 kB / 484.4 MB, free: 12.38 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.402e-05/0.1285, allocations: 11.84 kB / 484.4 MB, free: 12.37 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.028e-05/0.1285, allocations: 8.062 kB / 484.4 MB, free: 12.36 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.000258/0.1288, allocations: 195.4 kB / 484.6 MB, free: 12.15 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.84e-05/0.1288, allocations: 15.81 kB / 484.6 MB, free: 12.14 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.508e-05/0.1289, allocations: 17.17 kB / 484.6 MB, free: 12.12 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.1289, allocations: 0 / 484.6 MB, free: 12.12 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.1289, allocations: 0 / 484.6 MB, free: 12.12 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1289, allocations: 0 / 484.6 MB, free: 12.12 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002258/0.1291, allocations: 197.4 kB / 484.8 MB, free: 11.88 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1291, allocations: 0 / 484.8 MB, free: 11.88 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.483e-06/0.1292, allocations: 4 kB / 484.8 MB, free: 11.88 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.1292, allocations: 0 / 484.8 MB, free: 11.88 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.344e-05/0.1292, allocations: 7.984 kB / 484.9 MB, free: 11.87 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.1292, allocations: 0 / 484.9 MB, free: 11.87 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.1292, allocations: 0 / 484.9 MB, free: 11.87 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009493/0.1302, allocations: 0.5099 MB / 485.4 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.458e-05/0.1303, allocations: 92.86 kB / 485.5 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.879e-05/0.1303, allocations: 7.984 kB / 485.5 MB, free: 11.22 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.822e-05/0.1304, allocations: 4.031 kB / 485.5 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.75e-05/0.1304, allocations: 4 kB / 485.5 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.135e-05/0.1304, allocations: 4 kB / 485.5 MB, free: 11.21 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001027/0.1306, allocations: 103.3 kB / 485.6 MB, free: 11.11 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1306, allocations: 0 / 485.6 MB, free: 11.11 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003324/0.1309, allocations: 40 kB / 485.6 MB, free: 11.07 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.0002325/0.1311, allocations: 115.2 kB / 485.7 MB, free: 10.94 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001103/0.1323, allocations: 0.6984 MB / 486.4 MB, free: 10.23 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.1323, allocations: 8 kB / 486.4 MB, free: 10.22 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007621/0.1331, allocations: 0.5773 MB / 487 MB, free: 9.633 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00027/0.1333, allocations: 8 kB / 487 MB, free: 9.625 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009817/0.1343, allocations: 0.4919 MB / 487.5 MB, free: 9.102 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003667/0.1347, allocations: 0.7241 MB / 488.2 MB, free: 8.352 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.621e-05/0.1348, allocations: 7.438 kB / 488.2 MB, free: 8.344 MB / 330.7 MB Notification: Performance of SimCode: time 1.052e-06/0.1348, allocations: 0 / 488.2 MB, free: 8.344 MB / 330.7 MB Notification: Performance of Templates: time 0.005039/0.1398, allocations: 1.714 MB / 490 MB, free: 6.637 MB / 330.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.makefile make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.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_matrixEqCirc2CalcHelperMain.o OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2CalcHelperMain.cpp\nIn file included from OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2CalcHelperMain.cpp:28:\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2Functions.cpp:37:3: error: unknown type name \'diagonalRetType\'\n diagonalRetType /* undefined */ tmp7;\n ^\n1 error generated.\n: recipe for target \'OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2CalcHelperMain.o\' failed\nmake: *** [OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2CalcHelperMain.o] Error 1\n'