Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.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.Transmission.PowerTransfer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer") translateModel(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008642/0.0008643, allocations: 93.47 kB / 17.31 MB, free: 6.535 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.0009381/0.0009383, allocations: 175.4 kB / 18.21 MB, free: 5.684 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.542/1.542, allocations: 223.3 MB / 242.3 MB, free: 14.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1931/0.1931, allocations: 38.09 MB / 331.5 MB, free: 8.527 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003481/0.0003481, allocations: 9.656 kB / 401.4 MB, free: 34.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1324, allocations: 59.17 MB / 460.5 MB, free: 7.027 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.006455/0.1389, allocations: 4.951 MB / 465.5 MB, free: 2.047 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002848/0.1418, allocations: 1.504 MB / 467 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003759/0.1422, allocations: 23.88 kB / 467 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003882/0.1426, allocations: 91.36 kB / 467.1 MB, free: 436 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000613/0.1432, allocations: 215.1 kB / 467.3 MB, free: 220 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004993/0.1438, allocations: 159.7 kB / 467.5 MB, free: 60 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008273/0.1446, allocations: 0.8025 MB / 468.3 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001012/0.1456, allocations: 0.5913 MB / 468.9 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003617/0.146, allocations: 207 kB / 469.1 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004293/0.1464, allocations: 267 kB / 469.3 MB, free: 14.17 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.155e-05/0.1465, allocations: 16 kB / 469.3 MB, free: 14.15 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003037/0.1468, allocations: 127.8 kB / 469.5 MB, free: 14.03 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001773/0.147, allocations: 167.5 kB / 469.6 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002152/0.1472, allocations: 224.6 kB / 469.9 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004226/0.1477, allocations: 395 kB / 470.2 MB, free: 13.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1477, allocations: 0 / 470.2 MB, free: 13.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1477, allocations: 0 / 470.2 MB, free: 13.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.588e-06/0.1477, allocations: 4 kB / 470.2 MB, free: 13.25 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001085/0.1488, allocations: 0.6522 MB / 470.9 MB, free: 12.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.1488, allocations: 8.031 kB / 470.9 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006435/0.1495, allocations: 84.31 kB / 471 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005993/0.1501, allocations: 396.1 kB / 471.4 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.984e-05/0.1501, allocations: 29.38 kB / 471.4 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001418/0.1503, allocations: 52.05 kB / 471.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007448/0.151, allocations: 472.8 kB / 471.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.496e-05/0.1511, allocations: 11.91 kB / 471.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.808e-05/0.1511, allocations: 12 kB / 471.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001155/0.1512, allocations: 32.98 kB / 472 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005512/0.1518, allocations: 339.7 kB / 472.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002177/0.154, allocations: 1.637 MB / 473.9 MB, free: 9.336 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003368/0.1543, allocations: 173.1 kB / 474.1 MB, free: 9.148 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002049/0.1545, allocations: 110 kB / 474.2 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.1546, allocations: 7.938 kB / 474.2 MB, free: 9.027 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.1546, allocations: 46.41 kB / 474.3 MB, free: 8.973 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.914e-06/0.1546, allocations: 0 / 474.3 MB, free: 8.973 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001317/0.1559, allocations: 0.7749 MB / 475 MB, free: 8.145 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.986e-05/0.156, allocations: 85.11 kB / 475.1 MB, free: 8.043 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003189/0.1563, allocations: 308.6 kB / 475.4 MB, free: 7.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.039e-05/0.1564, allocations: 33.7 kB / 475.5 MB, free: 7.691 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001737/0.1566, allocations: 247.5 kB / 475.7 MB, free: 7.445 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.1e-05/0.1566, allocations: 74.92 kB / 475.8 MB, free: 7.371 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.969e-05/0.1567, allocations: 37.7 kB / 475.8 MB, free: 7.328 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.1568, allocations: 338.8 kB / 476.1 MB, free: 6.988 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001618/0.157, allocations: 95.94 kB / 476.2 MB, free: 6.895 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000223/0.1572, allocations: 196.6 kB / 476.4 MB, free: 6.656 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004229/0.1577, allocations: 332.5 kB / 476.8 MB, free: 6.285 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.1577, allocations: 4 kB / 476.8 MB, free: 6.281 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007969/0.1585, allocations: 431.6 kB / 477.2 MB, free: 5.852 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.1585, allocations: 8 kB / 477.2 MB, free: 5.844 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004945/0.159, allocations: 262.5 kB / 477.4 MB, free: 5.586 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003324/0.1593, allocations: 76.78 kB / 477.5 MB, free: 5.508 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002372/0.1596, allocations: 68.12 kB / 477.6 MB, free: 5.441 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001598/0.1612, allocations: 1.589 MB / 479.2 MB, free: 3.715 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001781/0.1614, allocations: 15.91 kB / 479.2 MB, free: 3.699 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.444e-05/0.1614, allocations: 12 kB / 479.2 MB, free: 3.688 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002363/0.1617, allocations: 189.7 kB / 479.4 MB, free: 3.492 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.381e-05/0.1617, allocations: 27.72 kB / 479.4 MB, free: 3.465 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004386/0.1622, allocations: 272.5 kB / 479.7 MB, free: 3.195 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.1622, allocations: 4.062 kB / 479.7 MB, free: 3.191 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.1622, allocations: 4 kB / 479.7 MB, free: 3.188 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.1622, allocations: 0 / 479.7 MB, free: 3.188 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001123/0.1633, allocations: 0.7529 MB / 480.4 MB, free: 2.375 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.1634, allocations: 4 kB / 480.4 MB, free: 2.371 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002635/0.1636, allocations: 47.92 kB / 480.5 MB, free: 2.324 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.1636, allocations: 8.047 kB / 480.5 MB, free: 2.316 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.093e-05/0.1637, allocations: 8 kB / 480.5 MB, free: 2.309 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.1637, allocations: 3.938 kB / 480.5 MB, free: 2.305 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.1637, allocations: 7.938 kB / 480.5 MB, free: 2.297 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005531/0.1642, allocations: 465.6 kB / 481 MB, free: 1.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.198e-05/0.1643, allocations: 104.7 kB / 481.1 MB, free: 1.699 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.674e-05/0.1644, allocations: 4 kB / 481.1 MB, free: 1.695 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001493/0.1645, allocations: 15.97 kB / 481.1 MB, free: 1.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.491e-05/0.1646, allocations: 12.22 kB / 481.1 MB, free: 1.668 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.516e-05/0.1646, allocations: 8 kB / 481.1 MB, free: 1.66 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002122/0.1648, allocations: 219 kB / 481.3 MB, free: 1.445 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1648, allocations: 0 / 481.3 MB, free: 1.445 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004084/0.1652, allocations: 84 kB / 481.4 MB, free: 1.363 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000134/0.1654, allocations: 111.2 kB / 481.5 MB, free: 1.242 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006249/0.166, allocations: 366.2 kB / 481.9 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.166, allocations: 4.875 kB / 481.9 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001503/0.1662, allocations: 96.02 kB / 482 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000533/0.1667, allocations: 73.41 kB / 482 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001571/0.1683, allocations: 1.184 MB / 483.2 MB, free: 15.47 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000481/0.1688, allocations: 0.8463 MB / 484.1 MB, free: 14.6 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.225e-05/0.1689, allocations: 27.44 kB / 484.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1689, allocations: 0 / 484.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of Templates: time 0.007739/0.1766, allocations: 5.215 MB / 489.3 MB, free: 9.367 MB / 366.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.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.Transmission.PowerTransferCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransferCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransferCalcHelperMain.o] Error 1