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.001044/0.001049, allocations: 94.56 kB / 17.31 MB, free: 5.656 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.001183/0.001183, allocations: 179.9 kB / 18.21 MB, free: 5.25 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.46/1.46, allocations: 223.3 MB / 242.2 MB, free: 14.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1745/0.1745, allocations: 38.09 MB / 331.5 MB, free: 8.52 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003683/0.0003682, allocations: 8 kB / 401.4 MB, free: 34.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1332, allocations: 59.16 MB / 460.5 MB, free: 7.043 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3): time 0.003151/0.1364, allocations: 1.76 MB / 462.3 MB, free: 5.262 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001019/0.1375, allocations: 0.5221 MB / 462.8 MB, free: 4.738 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.542e-05/0.1376, allocations: 0 / 462.8 MB, free: 4.738 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001699/0.1378, allocations: 11.92 kB / 462.8 MB, free: 4.727 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001406/0.1379, allocations: 23.91 kB / 462.8 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003751/0.1383, allocations: 63.86 kB / 462.9 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001629/0.1385, allocations: 111.7 kB / 463 MB, free: 4.531 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.217e-05/0.1386, allocations: 7.984 kB / 463 MB, free: 4.523 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001153/0.1387, allocations: 23.86 kB / 463 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.513e-05/0.1388, allocations: 35.89 kB / 463.1 MB, free: 4.465 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.234e-05/0.1388, allocations: 0 / 463.1 MB, free: 4.465 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002036/0.139, allocations: 71.84 kB / 463.2 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.32e-05/0.1391, allocations: 39.84 kB / 463.2 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.422e-05/0.1392, allocations: 69.27 kB / 463.3 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002357/0.1394, allocations: 112.1 kB / 463.4 MB, free: 4.172 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.1394, allocations: 4 kB / 463.4 MB, free: 4.168 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.038e-06/0.1394, allocations: 0 / 463.4 MB, free: 4.168 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.1394, allocations: 3.938 kB / 463.4 MB, free: 4.164 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.0005694/0.14, allocations: 472.6 kB / 463.8 MB, free: 3.648 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.1401, allocations: 8.031 kB / 463.8 MB, free: 3.641 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.534e-05/0.1401, allocations: 16.75 kB / 463.9 MB, free: 3.625 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002344/0.1404, allocations: 205.6 kB / 464.1 MB, free: 3.387 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.1404, allocations: 3.938 kB / 464.1 MB, free: 3.383 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.297e-05/0.1404, allocations: 4 kB / 464.1 MB, free: 3.379 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002047/0.1406, allocations: 130.6 kB / 464.2 MB, free: 3.246 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.1406, allocations: 0 / 464.2 MB, free: 3.246 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.1407, allocations: 0 / 464.2 MB, free: 3.246 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.1407, allocations: 3.938 kB / 464.2 MB, free: 3.242 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001101/0.1408, allocations: 88.3 kB / 464.3 MB, free: 3.156 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002203/0.141, allocations: 206 kB / 464.5 MB, free: 2.906 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001675/0.1412, allocations: 154.8 kB / 464.6 MB, free: 2.746 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001281/0.1413, allocations: 145.2 kB / 464.8 MB, free: 2.602 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.076e-05/0.1414, allocations: 7.984 kB / 464.8 MB, free: 2.594 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.1414, allocations: 30.56 kB / 464.8 MB, free: 2.555 MB / 334.1 MB Notification: Performance of pre-optimization done (n=40): time 1.873e-06/0.1414, allocations: 0 / 464.8 MB, free: 2.555 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.0006608/0.1421, allocations: 472 kB / 465.3 MB, free: 2.082 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.224e-05/0.1422, allocations: 113 kB / 465.4 MB, free: 1.953 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001592/0.1423, allocations: 144.3 kB / 465.5 MB, free: 1.797 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.1424, allocations: 29.7 kB / 465.6 MB, free: 1.762 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.57e-05/0.1424, allocations: 100.8 kB / 465.7 MB, free: 1.656 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001215/0.1426, allocations: 134 kB / 465.8 MB, free: 1.523 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.424e-05/0.1426, allocations: 29.7 kB / 465.8 MB, free: 1.488 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.1428, allocations: 334.8 kB / 466.1 MB, free: 1.152 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.1429, allocations: 95.95 kB / 466.2 MB, free: 1.059 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.75e-05/0.143, allocations: 88.95 kB / 466.3 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003362/0.1433, allocations: 364.4 kB / 466.7 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1433, allocations: 0 / 466.7 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003485/0.1437, allocations: 323 kB / 467 MB, free: 280 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.962e-05/0.1438, allocations: 89.58 kB / 467.1 MB, free: 184 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.1438, allocations: 4.062 kB / 467.1 MB, free: 180 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.1438, allocations: 0 / 467.1 MB, free: 180 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.112e-06/0.1438, allocations: 0 / 467.1 MB, free: 180 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.385e-06/0.1438, allocations: 3.984 kB / 467.1 MB, free: 176 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.778e-05/0.1439, allocations: 19.75 kB / 467.1 MB, free: 156 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.527e-05/0.1439, allocations: 8 kB / 467.1 MB, free: 148 kB / 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.0002364/0.1442, allocations: 227.4 kB / 467.3 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.064e-05/0.1442, allocations: 27.75 kB / 467.4 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.61e-05/0.1442, allocations: 13.95 kB / 467.4 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.1443, allocations: 8 kB / 467.4 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.1443, allocations: 0 / 467.4 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1443, allocations: 0 / 467.4 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001856/0.1445, allocations: 233.3 kB / 467.6 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.1445, allocations: 0 / 467.6 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.282e-06/0.1445, allocations: 0 / 467.6 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.1445, allocations: 0 / 467.6 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.925e-05/0.1445, allocations: 8 kB / 467.6 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1445, allocations: 0 / 467.6 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1445, allocations: 0 / 467.6 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009292/0.1455, allocations: 0.9081 MB / 468.5 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.557e-05/0.1455, allocations: 108.6 kB / 468.6 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.86e-05/0.1456, allocations: 4 kB / 468.6 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.592e-05/0.1456, allocations: 8 kB / 468.7 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.738e-05/0.1456, allocations: 7.984 kB / 468.7 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.689e-05/0.1457, allocations: 8 kB / 468.7 MB, free: 14.49 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.421e-05/0.1457, allocations: 118.2 kB / 468.8 MB, free: 14.38 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1458, allocations: 0 / 468.8 MB, free: 14.38 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002975/0.1461, allocations: 64.03 kB / 468.8 MB, free: 14.31 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 (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.0001924/0.1463, allocations: 115.2 kB / 469 MB, free: 14.19 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001474/0.1477, allocations: 1.581 MB / 470.5 MB, free: 12.6 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/0.1478, allocations: 0 / 470.5 MB, free: 12.6 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001051/0.1488, allocations: 1.362 MB / 471.9 MB, free: 11.22 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002895/0.1491, allocations: 27.92 kB / 471.9 MB, free: 11.2 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/0.1502, allocations: 0.7347 MB / 472.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003467/0.1506, allocations: 0.7442 MB / 473.4 MB, free: 9.66 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.88e-05/0.1506, allocations: 11.44 kB / 473.4 MB, free: 9.648 MB / 350.1 MB Notification: Performance of SimCode: time 1.093e-06/0.1506, allocations: 0 / 473.4 MB, free: 9.648 MB / 350.1 MB Notification: Performance of Templates: time 0.00468/0.1553, allocations: 2.294 MB / 475.7 MB, free: 7.359 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++ -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_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