Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.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_matrixTrDat3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_d.4.|zr_q.1.|zr_q.2.|zr_q.3.|zr_q.4.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_d.4.|zr_q.1.|zr_q.2.|zr_q.3.|zr_q.4.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 93.73 kB / 16.95 MB, free: 5.938 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.001149/0.00115, allocations: 178.7 kB / 17.84 MB, free: 5.617 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.337/1.337, allocations: 223.2 MB / 241.8 MB, free: 324 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1738/0.1738, allocations: 38.08 MB / 331 MB, free: 8.863 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000359/0.000359, allocations: 8 kB / 400.7 MB, free: 34.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1174, allocations: 59.16 MB / 459.9 MB, free: 7.418 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3): time 0.002232/0.1196, allocations: 1.772 MB / 461.6 MB, free: 5.625 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00289/0.1226, allocations: 1.916 MB / 463.6 MB, free: 3.703 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.318e-05/0.1226, allocations: 0 / 463.6 MB, free: 3.703 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001263/0.1228, allocations: 15.92 kB / 463.6 MB, free: 3.688 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.294e-05/0.1228, allocations: 19.89 kB / 463.6 MB, free: 3.668 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001512/0.1244, allocations: 0.6475 MB / 464.2 MB, free: 3.02 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001148/0.1245, allocations: 99.64 kB / 464.3 MB, free: 2.922 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.61e-05/0.1245, allocations: 8.172 kB / 464.3 MB, free: 2.914 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.64e-05/0.1246, allocations: 35.84 kB / 464.4 MB, free: 2.879 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.368e-05/0.1247, allocations: 55.81 kB / 464.4 MB, free: 2.824 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.1248, allocations: 4 kB / 464.4 MB, free: 2.82 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001452/0.1262, allocations: 1.057 MB / 465.5 MB, free: 1.762 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.966e-05/0.1263, allocations: 39.89 kB / 465.5 MB, free: 1.723 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.361e-05/0.1263, allocations: 45.58 kB / 465.6 MB, free: 1.672 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008995/0.1272, allocations: 0.9475 MB / 466.5 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.1272, allocations: 0 / 466.5 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1272, allocations: 0 / 466.5 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.1273, allocations: 0 / 466.5 MB, free: 0.7227 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0007747/0.128, allocations: 0.5862 MB / 467.1 MB, free: 84 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001244/0.1282, allocations: 15.95 kB / 467.1 MB, free: 68 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.923e-05/0.1282, allocations: 19.72 kB / 467.1 MB, free: 48 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001992/0.1284, allocations: 198.7 kB / 467.3 MB, free: 15.81 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.306e-06/0.1284, allocations: 0 / 467.3 MB, free: 15.81 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.315e-05/0.1285, allocations: 7.938 kB / 467.3 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001843/0.1286, allocations: 138.6 kB / 467.5 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.1287, allocations: 0 / 467.5 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.962e-05/0.1287, allocations: 0 / 467.5 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.1287, allocations: 3.984 kB / 467.5 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001128/0.1288, allocations: 96.3 kB / 467.6 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00018/0.129, allocations: 218 kB / 467.8 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000178/0.1292, allocations: 154.9 kB / 467.9 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001343/0.1293, allocations: 153.1 kB / 468.1 MB, free: 14.99 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.382e-06/0.1293, allocations: 0 / 468.1 MB, free: 14.99 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/0.1294, allocations: 34.5 kB / 468.1 MB, free: 14.95 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 8.82e-07/0.1294, allocations: 4 kB / 468.1 MB, free: 14.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.0005967/0.13, allocations: 494.8 kB / 468.6 MB, free: 14.45 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.146e-05/0.1301, allocations: 101.1 kB / 468.7 MB, free: 14.33 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002283/0.1303, allocations: 174.4 kB / 468.9 MB, free: 14.15 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.1303, allocations: 25.7 kB / 468.9 MB, free: 14.12 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.986e-05/0.1304, allocations: 104.8 kB / 469 MB, free: 14.01 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001041/0.1305, allocations: 130 kB / 469.1 MB, free: 13.88 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.47e-06/0.1305, allocations: 0 / 469.1 MB, free: 13.88 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.1306, allocations: 334.8 kB / 469.5 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001092/0.1307, allocations: 107.9 kB / 469.6 MB, free: 13.44 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.315e-05/0.1308, allocations: 96.94 kB / 469.7 MB, free: 13.35 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001745/0.131, allocations: 189.9 kB / 469.8 MB, free: 13.16 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.131, allocations: 0 / 469.8 MB, free: 13.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003482/0.1314, allocations: 342.9 kB / 470.2 MB, free: 12.81 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.408e-05/0.1315, allocations: 81.64 kB / 470.3 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.1315, allocations: 0 / 470.3 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.1315, allocations: 0 / 470.3 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.424e-06/0.1315, allocations: 3.984 kB / 470.3 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.1315, allocations: 0 / 470.3 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.041e-05/0.1316, allocations: 23.84 kB / 470.3 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.936e-05/0.1316, allocations: 15.98 kB / 470.3 MB, free: 12.68 MB / 350.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.0001845/0.1318, allocations: 227.4 kB / 470.5 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.392e-05/0.1318, allocations: 31.67 kB / 470.6 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.539e-05/0.1319, allocations: 10.66 kB / 470.6 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.1319, allocations: 0 / 470.6 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1319, allocations: 0 / 470.6 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.1319, allocations: 0 / 470.6 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001707/0.1321, allocations: 249.1 kB / 470.8 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.1321, allocations: 4 kB / 470.8 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.1e-07/0.1321, allocations: 0 / 470.8 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.1321, allocations: 3.953 kB / 470.8 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.251e-05/0.1321, allocations: 11.98 kB / 470.8 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.1321, allocations: 0 / 470.8 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1321, allocations: 0 / 470.8 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00105/0.1332, allocations: 0.9082 MB / 471.7 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.798e-05/0.1332, allocations: 100.8 kB / 471.8 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.208e-05/0.1333, allocations: 11.98 kB / 471.8 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.523e-05/0.1333, allocations: 8 kB / 471.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.369e-05/0.1334, allocations: 7.984 kB / 471.9 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.967e-05/0.1334, allocations: 12 kB / 471.9 MB, free: 11 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.254e-05/0.1335, allocations: 119.2 kB / 472 MB, free: 10.88 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1335, allocations: 3.938 kB / 472 MB, free: 10.88 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007894/0.1343, allocations: 351.9 kB / 472.3 MB, free: 10.54 MB / 350.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.0007857/0.1351, allocations: 370.2 kB / 472.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001271/0.1364, allocations: 1.597 MB / 474.3 MB, free: 8.555 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1364, allocations: 0 / 474.3 MB, free: 8.555 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001075/0.1375, allocations: 1.37 MB / 475.7 MB, free: 7.172 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002109/0.1377, allocations: 16 kB / 475.7 MB, free: 7.156 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008914/0.1386, allocations: 0.7716 MB / 476.5 MB, free: 6.355 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003178/0.1389, allocations: 0.752 MB / 477.2 MB, free: 5.578 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.093e-05/0.1389, allocations: 7.438 kB / 477.2 MB, free: 5.57 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1389, allocations: 0 / 477.2 MB, free: 5.57 MB / 350.1 MB Notification: Performance of Templates: time 0.00995/0.1489, allocations: 7.094 MB / 484.3 MB, free: 14.46 MB / 366.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.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_matrixTrDat3CalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3CalcHelperMain.o] Error 1