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.0009836/0.0009836, allocations: 106.3 kB / 17.16 MB, free: 6.324 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.0009397/0.0009397, allocations: 202.9 kB / 18.08 MB, free: 5.422 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.377/1.377, allocations: 222.9 MB / 241.7 MB, free: 13.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1713/0.1713, allocations: 38.05 MB / 329.9 MB, free: 8.898 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00107/0.00107, allocations: 56.59 kB / 398.7 MB, free: 34.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1115, allocations: 58.06 MB / 456.8 MB, free: 8.559 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1): time 0.003932/0.1155, allocations: 2.097 MB / 458.9 MB, free: 6.438 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008607/0.1164, allocations: 0.5299 MB / 459.4 MB, free: 5.906 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.186e-05/0.1164, allocations: 0 / 459.4 MB, free: 5.906 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001425/0.1166, allocations: 11.92 kB / 459.4 MB, free: 5.895 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001302/0.1168, allocations: 31.89 kB / 459.5 MB, free: 5.863 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000296/0.1171, allocations: 55.86 kB / 459.5 MB, free: 5.809 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001294/0.1172, allocations: 111.7 kB / 459.6 MB, free: 5.699 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.936e-05/0.1173, allocations: 4 kB / 459.6 MB, free: 5.695 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.475e-05/0.1174, allocations: 31.84 kB / 459.7 MB, free: 5.664 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.82e-05/0.1174, allocations: 27.84 kB / 459.7 MB, free: 5.637 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.778e-06/0.1174, allocations: 4 kB / 459.7 MB, free: 5.633 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001648/0.1176, allocations: 79.83 kB / 459.8 MB, free: 5.555 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.799e-05/0.1177, allocations: 23.92 kB / 459.8 MB, free: 5.531 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.504e-05/0.1177, allocations: 15.81 kB / 459.8 MB, free: 5.516 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001346/0.1179, allocations: 88.03 kB / 459.9 MB, free: 5.43 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.1179, allocations: 0 / 459.9 MB, free: 5.43 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1179, allocations: 0 / 459.9 MB, free: 5.43 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.1179, allocations: 0 / 459.9 MB, free: 5.43 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.0004029/0.1183, allocations: 393 kB / 460.3 MB, free: 4.992 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.1183, allocations: 8.031 kB / 460.3 MB, free: 4.984 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.749e-05/0.1184, allocations: 8.844 kB / 460.3 MB, free: 4.977 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001692/0.1186, allocations: 188.2 kB / 460.5 MB, free: 4.754 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.348e-06/0.1186, allocations: 384 / 460.5 MB, free: 4.754 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.018e-05/0.1186, allocations: 4.125 kB / 460.5 MB, free: 4.75 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/0.1187, allocations: 65.61 kB / 460.5 MB, free: 4.68 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.1187, allocations: 0 / 460.5 MB, free: 4.68 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.958e-06/0.1188, allocations: 0 / 460.5 MB, free: 4.68 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.1188, allocations: 0 / 460.5 MB, free: 4.68 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.464e-05/0.1188, allocations: 35.92 kB / 460.6 MB, free: 4.645 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001609/0.119, allocations: 157.7 kB / 460.7 MB, free: 4.441 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.239e-05/0.1191, allocations: 58.56 kB / 460.8 MB, free: 4.375 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.971e-05/0.1191, allocations: 48.81 kB / 460.8 MB, free: 4.324 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.809e-06/0.1191, allocations: 0 / 460.8 MB, free: 4.324 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.1192, allocations: 30.56 kB / 460.9 MB, free: 4.285 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 7.61e-07/0.1192, allocations: 0 / 460.9 MB, free: 4.285 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002789/0.1195, allocations: 183.5 kB / 461 MB, free: 4.094 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.746e-05/0.1195, allocations: 89.11 kB / 461.1 MB, free: 3.988 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.946e-05/0.1196, allocations: 133.9 kB / 461.3 MB, free: 3.848 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.1196, allocations: 29.7 kB / 461.3 MB, free: 3.812 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.442e-05/0.1197, allocations: 84.14 kB / 461.4 MB, free: 3.727 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.926e-05/0.1198, allocations: 43.34 kB / 461.4 MB, free: 3.684 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.349e-05/0.1198, allocations: 25.7 kB / 461.4 MB, free: 3.652 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.1199, allocations: 318.8 kB / 461.8 MB, free: 3.332 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.694e-05/0.12, allocations: 27.98 kB / 461.8 MB, free: 3.305 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.339e-05/0.12, allocations: 27.98 kB / 461.8 MB, free: 3.277 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001354/0.1202, allocations: 164.2 kB / 462 MB, free: 3.102 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1202, allocations: 0 / 462 MB, free: 3.102 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001578/0.1203, allocations: 147.2 kB / 462.1 MB, free: 2.945 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.608e-05/0.1204, allocations: 45.67 kB / 462.2 MB, free: 2.895 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.1204, allocations: 0 / 462.2 MB, free: 2.895 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.1204, allocations: 7.938 kB / 462.2 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.81e-07/0.1204, allocations: 0 / 462.2 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.1204, allocations: 0 / 462.2 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.537e-05/0.1205, allocations: 7.938 kB / 462.2 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.465e-05/0.1205, allocations: 0 / 462.2 MB, free: 2.879 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.0001242/0.1206, allocations: 167.5 kB / 462.3 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.799e-05/0.1206, allocations: 15.84 kB / 462.3 MB, free: 2.684 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.002e-05/0.1207, allocations: 12.36 kB / 462.4 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.1207, allocations: 0 / 462.4 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.1207, allocations: 0 / 462.4 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.903e-06/0.1207, allocations: 0 / 462.4 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001392/0.1208, allocations: 181.4 kB / 462.5 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.1208, allocations: 0 / 462.5 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.1208, allocations: 0 / 462.5 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.1208, allocations: 8 kB / 462.5 MB, free: 2.434 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.859e-05/0.1209, allocations: 4 kB / 462.5 MB, free: 2.43 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.1209, allocations: 0 / 462.5 MB, free: 2.43 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1209, allocations: 7.938 kB / 462.6 MB, free: 2.422 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003091/0.1212, allocations: 274.6 kB / 462.8 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.297e-05/0.1212, allocations: 81.09 kB / 462.9 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.984e-05/0.1213, allocations: 7.984 kB / 462.9 MB, free: 2.023 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.832e-05/0.1213, allocations: 0 / 462.9 MB, free: 2.023 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.355e-05/0.1213, allocations: 15.97 kB / 462.9 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.553e-06/0.1213, allocations: 0 / 462.9 MB, free: 2.008 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.024e-05/0.1214, allocations: 99.75 kB / 463 MB, free: 1.91 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1214, allocations: 0 / 463 MB, free: 1.91 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002146/0.1216, allocations: 36 kB / 463.1 MB, free: 1.875 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.0001731/0.1218, allocations: 113 kB / 463.2 MB, free: 1.758 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003291/0.1221, allocations: 295.2 kB / 463.5 MB, free: 1.457 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1222, allocations: 0 / 463.5 MB, free: 1.457 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001851/0.1224, allocations: 223.4 kB / 463.7 MB, free: 1.227 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002469/0.1226, allocations: 14.69 kB / 463.7 MB, free: 1.215 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004851/0.1231, allocations: 322.3 kB / 464 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003042/0.1234, allocations: 0.7044 MB / 464.7 MB, free: 140 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.087e-05/0.1234, allocations: 7.438 kB / 464.7 MB, free: 132 kB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1234, allocations: 0 / 464.7 MB, free: 132 kB / 334.1 MB Notification: Performance of Templates: time 0.002872/0.1263, allocations: 1.243 MB / 466 MB, free: 14.89 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++ -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_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