Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.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_matrixEqCirc3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00239/0.00239, allocations: 188.1 kB / 15.77 MB, free: 5.984 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.021/2.021, 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.001128/0.001128, allocations: 94.86 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.2712/0.2712, allocations: 38.06 MB / 356.6 MB, free: 0.7734 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004667/0.0004668, allocations: 12 kB / 422.7 MB, free: 26.42 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1084, allocations: 56.33 MB / 479 MB, free: 2.031 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3): time 0.003051/0.1115, allocations: 1.717 MB / 480.8 MB, free: 300 kB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001217/0.1127, allocations: 0.5196 MB / 481.3 MB, free: 15.77 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.903e-05/0.1128, allocations: 0 / 481.3 MB, free: 15.77 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001763/0.113, allocations: 7.984 kB / 481.3 MB, free: 15.76 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 5.694e-05/0.1131, allocations: 23.84 kB / 481.3 MB, free: 15.74 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003415/0.1134, allocations: 47.92 kB / 481.3 MB, free: 15.69 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001231/0.1136, allocations: 31.89 kB / 481.4 MB, free: 15.66 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.191e-05/0.1137, allocations: 8 kB / 481.4 MB, free: 15.65 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.653e-05/0.1138, allocations: 23.91 kB / 481.4 MB, free: 15.63 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.497e-05/0.1138, allocations: 19.92 kB / 481.4 MB, free: 15.61 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/0.1139, allocations: 0 / 481.4 MB, free: 15.61 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001593/0.114, allocations: 43.94 kB / 481.5 MB, free: 15.57 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.126e-05/0.1141, allocations: 35.86 kB / 481.5 MB, free: 15.53 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.726e-05/0.1142, allocations: 41.64 kB / 481.6 MB, free: 15.48 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001863/0.1144, allocations: 84.11 kB / 481.6 MB, free: 15.4 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.1144, allocations: 0 / 481.6 MB, free: 15.4 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.434e-06/0.1144, allocations: 0 / 481.6 MB, free: 15.4 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.1144, allocations: 4 kB / 481.6 MB, free: 15.4 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0005621/0.115, allocations: 480.3 kB / 482.1 MB, free: 14.88 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.115, allocations: 8.031 kB / 482.1 MB, free: 14.87 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.481e-05/0.1151, allocations: 19.77 kB / 482.1 MB, free: 14.85 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002388/0.1154, allocations: 199.2 kB / 482.3 MB, free: 14.61 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.1154, allocations: 0 / 482.3 MB, free: 14.61 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.769e-05/0.1154, allocations: 4 kB / 482.3 MB, free: 14.61 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002502/0.1157, allocations: 126.6 kB / 482.5 MB, free: 14.48 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.1157, allocations: 0 / 482.5 MB, free: 14.48 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.1157, allocations: 8 kB / 482.5 MB, free: 14.47 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.258e-06/0.1157, allocations: 0 / 482.5 MB, free: 14.47 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001509/0.1159, allocations: 92.3 kB / 482.6 MB, free: 14.38 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002248/0.1161, allocations: 202 kB / 482.7 MB, free: 14.14 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002292/0.1164, allocations: 154.8 kB / 482.9 MB, free: 13.98 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.47e-06/0.1164, allocations: 0 / 482.9 MB, free: 13.98 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.21e-05/0.1164, allocations: 30.56 kB / 482.9 MB, free: 13.94 MB / 330.7 MB Notification: Performance of pre-optimization done (n=40): time 1.804e-06/0.1165, allocations: 7.938 kB / 482.9 MB, free: 13.93 MB / 330.7 MB Notification: Performance of matching and sorting (n=40): time 0.0009216/0.1174, allocations: 0.5599 MB / 483.5 MB, free: 13.34 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000133/0.1175, allocations: 105.1 kB / 483.6 MB, free: 13.22 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001795/0.1177, allocations: 143 kB / 483.7 MB, free: 13.06 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.1178, allocations: 29.7 kB / 483.8 MB, free: 13.03 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.898e-05/0.1179, allocations: 159.2 kB / 483.9 MB, free: 12.87 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001492/0.118, allocations: 133.9 kB / 484.1 MB, free: 12.73 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.885e-06/0.118, allocations: 0 / 484.1 MB, free: 12.73 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.1182, allocations: 338.8 kB / 484.4 MB, free: 12.39 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001435/0.1184, allocations: 91.91 kB / 484.5 MB, free: 12.3 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001439/0.1185, allocations: 95.97 kB / 484.6 MB, free: 12.21 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002705/0.1188, allocations: 178.9 kB / 484.7 MB, free: 12.03 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.1188, allocations: 0 / 484.7 MB, free: 12.03 MB / 330.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005365/0.1194, allocations: 319 kB / 485.1 MB, free: 11.71 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001302/0.1195, allocations: 85.62 kB / 485.1 MB, free: 11.62 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.1195, allocations: 0 / 485.1 MB, free: 11.62 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.1196, allocations: 0 / 485.1 MB, free: 11.62 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.753e-06/0.1196, allocations: 0 / 485.1 MB, free: 11.62 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.1196, allocations: 4.062 kB / 485.1 MB, free: 11.61 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.452e-05/0.1197, allocations: 19.75 kB / 485.2 MB, free: 11.59 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.783e-05/0.1197, allocations: 8 kB / 485.2 MB, free: 11.59 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.0003023/0.12, allocations: 235.4 kB / 485.4 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.74e-05/0.1201, allocations: 19.81 kB / 485.4 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.578e-05/0.1201, allocations: 17.95 kB / 485.4 MB, free: 11.31 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.1202, allocations: 0 / 485.4 MB, free: 11.31 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1202, allocations: 3.938 kB / 485.4 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.1202, allocations: 0 / 485.4 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002494/0.1204, allocations: 233.3 kB / 485.7 MB, free: 11.03 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.1205, allocations: 0 / 485.7 MB, free: 11.03 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.162e-06/0.1205, allocations: 0 / 485.7 MB, free: 11.03 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.1205, allocations: 3.984 kB / 485.7 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.737e-05/0.1205, allocations: 8 kB / 485.7 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.1205, allocations: 0 / 485.7 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.1205, allocations: 0 / 485.7 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001535/0.1221, allocations: 0.9004 MB / 486.6 MB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.576e-05/0.1222, allocations: 96.8 kB / 486.7 MB, free: 9.977 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.61e-05/0.1223, allocations: 12.03 kB / 486.7 MB, free: 9.965 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.652e-05/0.1223, allocations: 4 kB / 486.7 MB, free: 9.961 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.5e-05/0.1224, allocations: 8 kB / 486.7 MB, free: 9.953 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-05/0.1224, allocations: 4 kB / 486.7 MB, free: 9.949 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001207/0.1226, allocations: 112.6 kB / 486.8 MB, free: 9.84 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1226, allocations: 0 / 486.8 MB, free: 9.84 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003998/0.123, allocations: 63.94 kB / 486.9 MB, free: 9.777 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.0002419/0.1232, allocations: 115.2 kB / 487 MB, free: 9.656 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002231/0.1255, allocations: 1.589 MB / 488.6 MB, free: 8.055 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.1256, allocations: 0 / 488.6 MB, free: 8.055 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001745/0.1273, allocations: 1.366 MB / 489.9 MB, free: 6.676 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003225/0.1277, allocations: 19.98 kB / 490 MB, free: 6.656 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/0.1291, allocations: 0.7192 MB / 490.7 MB, free: 5.906 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004086/0.1295, allocations: 0.752 MB / 491.4 MB, free: 5.129 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.239e-05/0.1296, allocations: 11.44 kB / 491.4 MB, free: 5.117 MB / 330.7 MB Notification: Performance of SimCode: time 1.302e-06/0.1296, allocations: 3.938 kB / 491.4 MB, free: 5.113 MB / 330.7 MB Notification: Performance of Templates: time 0.006483/0.1361, allocations: 2.292 MB / 493.7 MB, free: 2.824 MB / 330.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.makefile make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.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_matrixEqCirc3CalcHelperMain.o OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3CalcHelperMain.cpp\nIn file included from OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3CalcHelperMain.cpp:28:\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3Functions.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_matrixEqCirc3CalcHelperMain.o\' failed\nmake: *** [OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3CalcHelperMain.o] Error 1\n'