Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.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_matrixEqCirc3,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_matrixEqCirc3") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3,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_matrixEqCirc3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007553/0.0007554, allocations: 98.77 kB / 16.96 MB, free: 5.547 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.0007916/0.0007916, allocations: 184.5 kB / 17.85 MB, free: 5.227 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.354/1.354, allocations: 223.2 MB / 241.9 MB, free: 356 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1656/0.1656, allocations: 38.09 MB / 331.1 MB, free: 8.867 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003408/0.0003408, allocations: 10.34 kB / 400.7 MB, free: 34.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1297, allocations: 59.16 MB / 459.9 MB, free: 7.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3): time 0.002791/0.1326, allocations: 1.721 MB / 461.6 MB, free: 5.688 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008433/0.1335, allocations: 0.4991 MB / 462.1 MB, free: 5.188 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.119e-05/0.1335, allocations: 0 / 462.1 MB, free: 5.188 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001358/0.1337, allocations: 11.92 kB / 462.1 MB, free: 5.176 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.099e-05/0.1338, allocations: 23.84 kB / 462.1 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002925/0.1341, allocations: 51.86 kB / 462.2 MB, free: 5.102 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001199/0.1342, allocations: 87.73 kB / 462.3 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.582e-05/0.1343, allocations: 7.969 kB / 462.3 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.95e-05/0.1344, allocations: 27.86 kB / 462.3 MB, free: 4.98 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.946e-05/0.1345, allocations: 31.91 kB / 462.3 MB, free: 4.949 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.333e-05/0.1345, allocations: 4 kB / 462.3 MB, free: 4.945 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001237/0.1346, allocations: 39.89 kB / 462.4 MB, free: 4.906 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.387e-05/0.1347, allocations: 43.88 kB / 462.4 MB, free: 4.863 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.142e-05/0.1347, allocations: 41.58 kB / 462.4 MB, free: 4.816 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002123/0.135, allocations: 92.12 kB / 462.5 MB, free: 4.727 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.135, allocations: 0 / 462.5 MB, free: 4.727 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.135, allocations: 0 / 462.5 MB, free: 4.727 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.135, allocations: 7.938 kB / 462.5 MB, free: 4.719 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.0004502/0.1354, allocations: 468.5 kB / 463 MB, free: 4.207 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.1355, allocations: 8.031 kB / 463 MB, free: 4.199 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.761e-05/0.1355, allocations: 11.81 kB / 463 MB, free: 4.188 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001956/0.1357, allocations: 197.4 kB / 463.2 MB, free: 3.957 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.978e-06/0.1358, allocations: 0 / 463.2 MB, free: 3.957 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.242e-05/0.1358, allocations: 3.953 kB / 463.2 MB, free: 3.953 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002035/0.136, allocations: 130.6 kB / 463.3 MB, free: 3.82 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.136, allocations: 8 kB / 463.4 MB, free: 3.812 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.136, allocations: 0 / 463.4 MB, free: 3.812 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.136, allocations: 0 / 463.4 MB, free: 3.812 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001015/0.1361, allocations: 96.17 kB / 463.5 MB, free: 3.719 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001865/0.1363, allocations: 198 kB / 463.6 MB, free: 3.477 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001544/0.1365, allocations: 154.9 kB / 463.8 MB, free: 3.316 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001313/0.1366, allocations: 141.2 kB / 463.9 MB, free: 3.176 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.975e-06/0.1366, allocations: 0 / 463.9 MB, free: 3.176 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.671e-05/0.1367, allocations: 46.5 kB / 464 MB, free: 3.121 MB / 334.1 MB Notification: Performance of pre-optimization done (n=40): time 8.92e-07/0.1367, allocations: 0 / 464 MB, free: 3.121 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.0005827/0.1373, allocations: 467.9 kB / 464.4 MB, free: 2.652 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.976e-05/0.1374, allocations: 109.1 kB / 464.5 MB, free: 2.527 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001504/0.1376, allocations: 147 kB / 464.7 MB, free: 2.367 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.1376, allocations: 25.7 kB / 464.7 MB, free: 2.336 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.593e-05/0.1376, allocations: 96.8 kB / 464.8 MB, free: 2.234 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001287/0.1378, allocations: 137.9 kB / 464.9 MB, free: 2.098 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.347e-06/0.1378, allocations: 4.031 kB / 464.9 MB, free: 2.094 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.1379, allocations: 330.8 kB / 465.3 MB, free: 1.762 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001042/0.138, allocations: 87.97 kB / 465.4 MB, free: 1.676 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.078e-05/0.1381, allocations: 96.94 kB / 465.4 MB, free: 1.582 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001776/0.1383, allocations: 177.9 kB / 465.6 MB, free: 1.402 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1383, allocations: 0 / 465.6 MB, free: 1.402 MB / 334.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003375/0.1387, allocations: 323 kB / 465.9 MB, free: 1.074 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001035/0.1388, allocations: 89.58 kB / 466 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.1388, allocations: 4 kB / 466 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.1388, allocations: 4.062 kB / 466 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.372e-06/0.1388, allocations: 0 / 466 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.1388, allocations: 0 / 466 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.974e-05/0.1389, allocations: 19.75 kB / 466.1 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.639e-05/0.1389, allocations: 8 kB / 466.1 MB, free: 0.9453 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.0002109/0.1391, allocations: 231.4 kB / 466.3 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.032e-05/0.1392, allocations: 19.81 kB / 466.3 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.312e-05/0.1392, allocations: 21.91 kB / 466.3 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.1392, allocations: 0 / 466.3 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.1392, allocations: 7.938 kB / 466.3 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.1392, allocations: 0 / 466.3 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000187/0.1394, allocations: 225.3 kB / 466.6 MB, free: 396 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.1394, allocations: 0 / 466.6 MB, free: 396 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.583e-06/0.1394, allocations: 0 / 466.6 MB, free: 396 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.1395, allocations: 11.92 kB / 466.6 MB, free: 384 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/0.1395, allocations: 4 kB / 466.6 MB, free: 380 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.1395, allocations: 3.953 kB / 466.6 MB, free: 376 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1395, allocations: 0 / 466.6 MB, free: 376 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009833/0.1405, allocations: 0.9081 MB / 467.5 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.92e-05/0.1405, allocations: 96.8 kB / 467.6 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.791e-05/0.1406, allocations: 8 kB / 467.6 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.18e-05/0.1406, allocations: 4 kB / 467.6 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.398e-05/0.1407, allocations: 7.953 kB / 467.6 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.644e-05/0.1407, allocations: 8 kB / 467.6 MB, free: 15.29 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001002/0.1408, allocations: 114.6 kB / 467.7 MB, free: 15.18 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1408, allocations: 0 / 467.7 MB, free: 15.18 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002667/0.1411, allocations: 68 kB / 467.8 MB, free: 15.12 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.0002009/0.1413, allocations: 111.3 kB / 467.9 MB, free: 15 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001433/0.1427, allocations: 1.581 MB / 469.5 MB, free: 13.41 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1428, allocations: 0 / 469.5 MB, free: 13.41 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001163/0.1439, allocations: 1.37 MB / 470.8 MB, free: 12.02 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002835/0.1442, allocations: 27.88 kB / 470.9 MB, free: 12 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009702/0.1452, allocations: 0.7185 MB / 471.6 MB, free: 11.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003675/0.1456, allocations: 0.7442 MB / 472.3 MB, free: 10.48 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.433e-05/0.1456, allocations: 7.438 kB / 472.3 MB, free: 10.47 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1456, allocations: 4 kB / 472.3 MB, free: 10.47 MB / 350.1 MB Notification: Performance of Templates: time 0.004465/0.1501, allocations: 2.308 MB / 474.6 MB, free: 8.168 MB / 350.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.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_matrixEqCirc3CalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3CalcHelperMain.o] Error 1