Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|zr_d.1.|zr_d.2.|zr_q.1.|zx_d.1,1.|zx_d.1,2.|zx_d.2,1.|zx_d.2,2.|zx_q.1,1.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|zr_d.1.|zr_d.2.|zr_q.1.|zx_d.1,1.|zx_d.1,2.|zx_d.2,1.|zx_d.2,2.|zx_q.1,1.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 109 kB / 17.16 MB, free: 6.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 198.9 kB / 18.08 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 222.9 MB / 241.7 MB, free: 15.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1618/0.1618, allocations: 38.03 MB / 329.9 MB, free: 9.098 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001051/0.001051, allocations: 62.84 kB / 398.7 MB, free: 34.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1103, allocations: 58.05 MB / 456.8 MB, free: 8.578 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0): time 0.003646/0.114, allocations: 2.1 MB / 458.9 MB, free: 6.453 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007758/0.1148, allocations: 0.5299 MB / 459.4 MB, free: 5.922 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.86e-05/0.1149, allocations: 0 / 459.4 MB, free: 5.922 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001717/0.115, allocations: 15.92 kB / 459.4 MB, free: 5.906 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.671e-05/0.1152, allocations: 23.84 kB / 459.5 MB, free: 5.883 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002748/0.1154, allocations: 55.86 kB / 459.5 MB, free: 5.828 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001378/0.1156, allocations: 111.8 kB / 459.6 MB, free: 5.719 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.847e-05/0.1156, allocations: 8 kB / 459.6 MB, free: 5.711 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.832e-05/0.1157, allocations: 27.84 kB / 459.7 MB, free: 5.684 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.94e-05/0.1158, allocations: 39.83 kB / 459.7 MB, free: 5.645 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.858e-06/0.1158, allocations: 0 / 459.7 MB, free: 5.645 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001862/0.116, allocations: 79.83 kB / 459.8 MB, free: 5.566 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.361e-05/0.1161, allocations: 4 kB / 459.8 MB, free: 5.562 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.306e-05/0.1161, allocations: 19.86 kB / 459.8 MB, free: 5.543 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001468/0.1163, allocations: 76.11 kB / 459.9 MB, free: 5.469 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1163, allocations: 0 / 459.9 MB, free: 5.469 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.1163, allocations: 0 / 459.9 MB, free: 5.469 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.1163, allocations: 0 / 459.9 MB, free: 5.469 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000464/0.1168, allocations: 389 kB / 460.2 MB, free: 5.035 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.1168, allocations: 12.03 kB / 460.3 MB, free: 5.023 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.323e-05/0.1169, allocations: 4.875 kB / 460.3 MB, free: 5.02 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001879/0.1171, allocations: 180.3 kB / 460.4 MB, free: 4.805 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.1171, allocations: 384 / 460.4 MB, free: 4.805 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.045e-05/0.1171, allocations: 4.125 kB / 460.4 MB, free: 4.801 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.1172, allocations: 45.69 kB / 460.5 MB, free: 4.75 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.1172, allocations: 0 / 460.5 MB, free: 4.75 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.1172, allocations: 4 kB / 460.5 MB, free: 4.746 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.1172, allocations: 0 / 460.5 MB, free: 4.746 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.983e-05/0.1173, allocations: 31.86 kB / 460.5 MB, free: 4.715 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001509/0.1174, allocations: 161.6 kB / 460.7 MB, free: 4.508 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.516e-05/0.1175, allocations: 42.56 kB / 460.7 MB, free: 4.457 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.277e-05/0.1176, allocations: 40.81 kB / 460.8 MB, free: 4.414 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.232e-06/0.1176, allocations: 0 / 460.8 MB, free: 4.414 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/0.1176, allocations: 34.56 kB / 460.8 MB, free: 4.371 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.1176, allocations: 0 / 460.8 MB, free: 4.371 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002448/0.1179, allocations: 151.3 kB / 460.9 MB, free: 4.211 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.254e-05/0.1179, allocations: 85.11 kB / 461 MB, free: 4.109 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.764e-05/0.118, allocations: 117.8 kB / 461.1 MB, free: 3.984 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.1181, allocations: 25.7 kB / 461.2 MB, free: 3.953 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.753e-05/0.1181, allocations: 88.14 kB / 461.3 MB, free: 3.863 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.986e-05/0.1181, allocations: 23.55 kB / 461.3 MB, free: 3.84 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-05/0.1182, allocations: 21.72 kB / 461.3 MB, free: 3.812 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.1183, allocations: 310.8 kB / 461.6 MB, free: 3.5 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.501e-05/0.1183, allocations: 28.02 kB / 461.6 MB, free: 3.473 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.9e-05/0.1184, allocations: 23.98 kB / 461.7 MB, free: 3.449 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001103/0.1185, allocations: 120.2 kB / 461.8 MB, free: 3.316 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.1185, allocations: 7.938 kB / 461.8 MB, free: 3.309 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000142/0.1187, allocations: 123.5 kB / 461.9 MB, free: 3.176 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.371e-05/0.1187, allocations: 47.72 kB / 461.9 MB, free: 3.125 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.1187, allocations: 3.984 kB / 461.9 MB, free: 3.121 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.1188, allocations: 0 / 461.9 MB, free: 3.121 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.02e-07/0.1188, allocations: 0 / 461.9 MB, free: 3.121 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.1188, allocations: 64 / 461.9 MB, free: 3.121 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.728e-05/0.1188, allocations: 11.91 kB / 462 MB, free: 3.109 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.725e-05/0.1188, allocations: 4 kB / 462 MB, free: 3.105 MB / 334.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001109/0.1189, allocations: 155.5 kB / 462.1 MB, free: 2.938 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.586e-05/0.119, allocations: 7.984 kB / 462.1 MB, free: 2.93 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.651e-05/0.119, allocations: 8.375 kB / 462.1 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.119, allocations: 0 / 462.1 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.119, allocations: 0 / 462.1 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.119, allocations: 384 / 462.1 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001215/0.1191, allocations: 169.5 kB / 462.3 MB, free: 2.695 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1191, allocations: 4 kB / 462.3 MB, free: 2.691 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-07/0.1191, allocations: 0 / 462.3 MB, free: 2.691 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1192, allocations: 3.938 kB / 462.3 MB, free: 2.688 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.1192, allocations: 4 kB / 462.3 MB, free: 2.684 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1192, allocations: 0 / 462.3 MB, free: 2.684 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1192, allocations: 0 / 462.3 MB, free: 2.684 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002354/0.1194, allocations: 218.6 kB / 462.5 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.198e-05/0.1195, allocations: 89.02 kB / 462.6 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.667e-05/0.1195, allocations: 4.031 kB / 462.6 MB, free: 2.336 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.744e-05/0.1195, allocations: 4 kB / 462.6 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.483e-05/0.1195, allocations: 0 / 462.6 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.467e-06/0.1196, allocations: 4 kB / 462.6 MB, free: 2.328 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.585e-05/0.1196, allocations: 91.27 kB / 462.7 MB, free: 2.238 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1196, allocations: 0 / 462.7 MB, free: 2.238 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002247/0.1199, allocations: 31.94 kB / 462.7 MB, free: 2.207 MB / 334.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001945/0.1201, allocations: 119.2 kB / 462.9 MB, free: 2.082 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002515/0.1203, allocations: 203.3 kB / 463.1 MB, free: 1.871 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1203, allocations: 0 / 463.1 MB, free: 1.871 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000135/0.1205, allocations: 147.4 kB / 463.2 MB, free: 1.715 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002726/0.1207, allocations: 18.95 kB / 463.2 MB, free: 1.699 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004035/0.1212, allocations: 250.2 kB / 463.5 MB, free: 1.422 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000266/0.1214, allocations: 0.6887 MB / 464.2 MB, free: 0.707 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.156e-05/0.1215, allocations: 11.44 kB / 464.2 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1215, allocations: 0 / 464.2 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of Templates: time 0.002684/0.1241, allocations: 1.1 MB / 465.3 MB, free: 15.6 MB / 350.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0CalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0CalcHelperMain.o] Error 1