Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.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_matrixEqCirc1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|zr_d.1.|zr_d.2.|zr_q.1.|zr_q.2.|zx_d.1,1.|zx_d.1,2.|zx_d.2,1.|zx_d.2,2.|zx_q.1,1.|zx_q.1,2.|zx_q.2,1.|zx_q.2,2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|zr_d.1.|zr_d.2.|zr_q.1.|zr_q.2.|zx_d.1,1.|zx_d.1,2.|zx_d.2,1.|zx_d.2,2.|zx_q.1,1.|zx_q.1,2.|zx_q.2,1.|zx_q.2,2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008225/0.0008227, allocations: 93.31 kB / 16.95 MB, free: 5.676 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.0008946/0.0008947, allocations: 183.9 kB / 17.85 MB, free: 5.324 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.293/1.293, allocations: 223.2 MB / 241.9 MB, free: 312 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.17/0.17, allocations: 38.09 MB / 331.1 MB, free: 8.863 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000303/0.0003032, allocations: 8 kB / 400.7 MB, free: 34.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1054, allocations: 59.16 MB / 459.9 MB, free: 7.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1): time 0.002245/0.1077, allocations: 1.721 MB / 461.6 MB, free: 5.688 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007111/0.1084, allocations: 0.499 MB / 462.1 MB, free: 5.188 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.223e-05/0.1085, allocations: 4 kB / 462.1 MB, free: 5.184 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001272/0.1086, allocations: 11.92 kB / 462.1 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001194/0.1087, allocations: 27.89 kB / 462.1 MB, free: 5.145 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000207/0.1089, allocations: 47.81 kB / 462.2 MB, free: 5.098 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001/0.1091, allocations: 91.7 kB / 462.3 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.702e-05/0.1091, allocations: 4 kB / 462.3 MB, free: 5.004 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.132e-05/0.1092, allocations: 27.86 kB / 462.3 MB, free: 4.977 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.719e-05/0.1092, allocations: 23.91 kB / 462.3 MB, free: 4.953 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.022e-05/0.1093, allocations: 0 / 462.3 MB, free: 4.953 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001222/0.1094, allocations: 51.86 kB / 462.4 MB, free: 4.902 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.3e-05/0.1094, allocations: 11.98 kB / 462.4 MB, free: 4.891 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.929e-05/0.1095, allocations: 37.64 kB / 462.4 MB, free: 4.848 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001094/0.1096, allocations: 64.12 kB / 462.5 MB, free: 4.785 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1096, allocations: 0 / 462.5 MB, free: 4.785 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1096, allocations: 0 / 462.5 MB, free: 4.785 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.1096, allocations: 4 kB / 462.5 MB, free: 4.781 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003717/0.11, allocations: 384.9 kB / 462.9 MB, free: 4.352 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.11, allocations: 8.031 kB / 462.9 MB, free: 4.344 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.658e-05/0.1101, allocations: 11.91 kB / 462.9 MB, free: 4.332 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001954/0.1103, allocations: 178.9 kB / 463 MB, free: 4.117 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.1103, allocations: 3.938 kB / 463 MB, free: 4.113 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.274e-05/0.1103, allocations: 7.953 kB / 463.1 MB, free: 4.105 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.1104, allocations: 57.67 kB / 463.1 MB, free: 4.043 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.1105, allocations: 8 kB / 463.1 MB, free: 4.035 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-06/0.1105, allocations: 0 / 463.1 MB, free: 4.035 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.1105, allocations: 0 / 463.1 MB, free: 4.035 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.011e-05/0.1105, allocations: 27.98 kB / 463.1 MB, free: 4.008 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001442/0.1107, allocations: 161.7 kB / 463.3 MB, free: 3.801 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.485e-05/0.1108, allocations: 58.5 kB / 463.4 MB, free: 3.734 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.557e-05/0.1108, allocations: 52.86 kB / 463.4 MB, free: 3.68 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.61e-06/0.1108, allocations: 0 / 463.4 MB, free: 3.68 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/0.1109, allocations: 38.52 kB / 463.5 MB, free: 3.633 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 9.31e-07/0.1109, allocations: 4 kB / 463.5 MB, free: 3.629 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002721/0.1111, allocations: 179.4 kB / 463.6 MB, free: 3.441 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.679e-05/0.1112, allocations: 93.09 kB / 463.7 MB, free: 3.332 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.213e-05/0.1113, allocations: 113.8 kB / 463.8 MB, free: 3.211 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.1113, allocations: 29.7 kB / 463.9 MB, free: 3.176 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.951e-05/0.1114, allocations: 88.14 kB / 463.9 MB, free: 3.086 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.408e-05/0.1114, allocations: 39.36 kB / 464 MB, free: 3.047 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-06/0.1114, allocations: 7.969 kB / 464 MB, free: 3.039 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.1116, allocations: 322.8 kB / 464.3 MB, free: 2.715 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.615e-05/0.1116, allocations: 27.98 kB / 464.3 MB, free: 2.688 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.311e-05/0.1117, allocations: 31.98 kB / 464.4 MB, free: 2.656 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.925e-05/0.1117, allocations: 73.67 kB / 464.4 MB, free: 2.578 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1117, allocations: 0 / 464.4 MB, free: 2.578 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001588/0.1119, allocations: 148 kB / 464.6 MB, free: 2.422 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.733e-05/0.112, allocations: 53.62 kB / 464.6 MB, free: 2.363 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.112, allocations: 0 / 464.6 MB, free: 2.363 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.112, allocations: 4.062 kB / 464.6 MB, free: 2.359 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.282e-06/0.112, allocations: 0 / 464.6 MB, free: 2.359 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.112, allocations: 0 / 464.6 MB, free: 2.359 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.327e-05/0.112, allocations: 4 kB / 464.6 MB, free: 2.355 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.665e-05/0.1121, allocations: 4 kB / 464.7 MB, free: 2.352 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001275/0.1122, allocations: 163.5 kB / 464.8 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.61e-05/0.1122, allocations: 11.89 kB / 464.8 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.189e-05/0.1122, allocations: 16.33 kB / 464.8 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-06/0.1123, allocations: 3.938 kB / 464.8 MB, free: 2.141 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.1123, allocations: 4 kB / 464.8 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.1123, allocations: 0 / 464.8 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001304/0.1124, allocations: 177.5 kB / 465 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.1124, allocations: 0 / 465 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.1124, allocations: 0 / 465 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.1124, allocations: 0 / 465 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.1124, allocations: 8 kB / 465 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.1124, allocations: 3.953 kB / 465 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1124, allocations: 0 / 465 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003023/0.1128, allocations: 274.6 kB / 465.3 MB, free: 1.609 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.387e-05/0.1128, allocations: 88.94 kB / 465.4 MB, free: 1.504 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.823e-05/0.1128, allocations: 4 kB / 465.4 MB, free: 1.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.531e-05/0.1128, allocations: 0 / 465.4 MB, free: 1.5 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.283e-05/0.1129, allocations: 11.95 kB / 465.4 MB, free: 1.488 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.844e-06/0.1129, allocations: 4 kB / 465.4 MB, free: 1.484 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.305e-05/0.113, allocations: 95.2 kB / 465.5 MB, free: 1.391 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.113, allocations: 0 / 465.5 MB, free: 1.391 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002064/0.1132, allocations: 32 kB / 465.5 MB, free: 1.359 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 (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.0001465/0.1133, allocations: 127.1 kB / 465.7 MB, free: 1.227 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003497/0.1137, allocations: 287.3 kB / 465.9 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1137, allocations: 0 / 465.9 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001786/0.1139, allocations: 223.3 kB / 466.2 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000218/0.1141, allocations: 11.98 kB / 466.2 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004214/0.1145, allocations: 318.7 kB / 466.5 MB, free: 356 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002673/0.1148, allocations: 0.7043 MB / 467.2 MB, free: 15.62 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.062e-05/0.1148, allocations: 7.438 kB / 467.2 MB, free: 15.61 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1148, allocations: 4 kB / 467.2 MB, free: 15.61 MB / 350.1 MB Notification: Performance of Templates: time 0.00275/0.1176, allocations: 1.243 MB / 468.4 MB, free: 14.37 MB / 350.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.makefile clang++ NOTFOUND -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_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1CalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1CalcHelperMain.o] Error 1