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.001156/0.001156, allocations: 109.7 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.001179/0.001179, 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.412/1.412, allocations: 222.9 MB / 241.7 MB, free: 13.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1647/0.1647, allocations: 38.03 MB / 329.9 MB, free: 8.883 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001067/0.001067, allocations: 66.86 kB / 398.7 MB, free: 34.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1208, allocations: 58.06 MB / 456.8 MB, free: 8.531 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.006664/0.1275, allocations: 5.356 MB / 462.1 MB, free: 3.145 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00241/0.13, allocations: 1.531 MB / 463.7 MB, free: 1.609 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002183/0.1302, allocations: 27.81 kB / 463.7 MB, free: 1.582 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001077/0.1313, allocations: 391.8 kB / 464.1 MB, free: 1.199 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003998/0.1317, allocations: 215 kB / 464.3 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003608/0.1321, allocations: 163.7 kB / 464.5 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006486/0.1328, allocations: 0.7947 MB / 465.3 MB, free: 32 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005145/0.1333, allocations: 325.4 kB / 465.6 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002629/0.1336, allocations: 211.1 kB / 465.8 MB, free: 15.51 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003943/0.134, allocations: 299 kB / 466.1 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.847e-05/0.134, allocations: 24 kB / 466.1 MB, free: 15.19 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002667/0.1343, allocations: 135.7 kB / 466.2 MB, free: 15.06 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001785/0.1345, allocations: 179.5 kB / 466.4 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002082/0.1347, allocations: 214.9 kB / 466.6 MB, free: 14.67 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003827/0.1351, allocations: 407.1 kB / 467 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1351, allocations: 0 / 467 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.11e-07/0.1351, allocations: 0 / 467 MB, free: 14.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.1351, allocations: 0 / 467 MB, free: 14.27 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.001125/0.1363, allocations: 0.7184 MB / 467.7 MB, free: 13.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.1363, allocations: 8.031 kB / 467.7 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00069/0.137, allocations: 88.31 kB / 467.8 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005604/0.1376, allocations: 396.1 kB / 468.2 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.064e-05/0.1376, allocations: 25.38 kB / 468.2 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001272/0.1377, allocations: 52.02 kB / 468.3 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006715/0.1384, allocations: 476.8 kB / 468.7 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.845e-05/0.1384, allocations: 3.984 kB / 468.8 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.714e-05/0.1385, allocations: 16 kB / 468.8 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001056/0.1386, allocations: 24.98 kB / 468.8 MB, free: 12.37 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000517/0.1391, allocations: 347.7 kB / 469.1 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001984/0.1411, allocations: 1.629 MB / 470.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003259/0.1415, allocations: 177.1 kB / 470.9 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001579/0.1416, allocations: 117.7 kB / 471.1 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.1417, allocations: 0 / 471.1 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.1417, allocations: 42.44 kB / 471.1 MB, free: 9.941 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.172e-06/0.1417, allocations: 0 / 471.1 MB, free: 9.941 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001331/0.143, allocations: 0.779 MB / 471.9 MB, free: 9.109 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.169e-05/0.1431, allocations: 77.11 kB / 471.9 MB, free: 9.016 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002785/0.1434, allocations: 312.4 kB / 472.3 MB, free: 8.699 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/0.1434, allocations: 29.7 kB / 472.3 MB, free: 8.664 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001629/0.1436, allocations: 247.5 kB / 472.5 MB, free: 8.418 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.573e-05/0.1437, allocations: 90.8 kB / 472.6 MB, free: 8.328 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.954e-05/0.1438, allocations: 57.83 kB / 472.7 MB, free: 8.266 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.1439, allocations: 346.8 kB / 473 MB, free: 7.918 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001556/0.1441, allocations: 91.95 kB / 473.1 MB, free: 7.828 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002079/0.1443, allocations: 196.6 kB / 473.3 MB, free: 7.59 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004066/0.1447, allocations: 336.8 kB / 473.6 MB, free: 7.219 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1447, allocations: 3.938 kB / 473.6 MB, free: 7.215 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007875/0.1455, allocations: 432 kB / 474 MB, free: 6.785 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.1455, allocations: 8.031 kB / 474 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004991/0.146, allocations: 264.4 kB / 474.3 MB, free: 6.516 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003612/0.1464, allocations: 76.78 kB / 474.4 MB, free: 6.438 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002366/0.1467, allocations: 63.84 kB / 474.4 MB, free: 6.375 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001564/0.1482, allocations: 1.581 MB / 476 MB, free: 4.656 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001774/0.1484, allocations: 11.91 kB / 476 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.585e-05/0.1484, allocations: 19.98 kB / 476.1 MB, free: 4.625 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.000209/0.1487, allocations: 197.7 kB / 476.3 MB, free: 4.422 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.073e-05/0.1487, allocations: 23.86 kB / 476.3 MB, free: 4.398 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004376/0.1492, allocations: 276.5 kB / 476.5 MB, free: 4.125 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.1492, allocations: 4 kB / 476.5 MB, free: 4.121 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.1492, allocations: 0 / 476.5 MB, free: 4.121 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.87e-06/0.1492, allocations: 3.984 kB / 476.6 MB, free: 4.117 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00107/0.1503, allocations: 0.7459 MB / 477.3 MB, free: 3.309 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.1503, allocations: 4 kB / 477.3 MB, free: 3.305 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002861/0.1506, allocations: 47.97 kB / 477.3 MB, free: 3.258 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.1506, allocations: 0 / 477.3 MB, free: 3.258 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.314e-05/0.1506, allocations: 8 kB / 477.4 MB, free: 3.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.1506, allocations: 3.938 kB / 477.4 MB, free: 3.246 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.1506, allocations: 7.938 kB / 477.4 MB, free: 3.238 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005417/0.1512, allocations: 460.5 kB / 477.8 MB, free: 2.77 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.135e-05/0.1513, allocations: 112.8 kB / 477.9 MB, free: 2.641 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.944e-05/0.1513, allocations: 4 kB / 477.9 MB, free: 2.637 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001503/0.1515, allocations: 7.938 kB / 477.9 MB, free: 2.629 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.97e-05/0.1515, allocations: 27.91 kB / 478 MB, free: 2.602 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.624e-05/0.1515, allocations: 8 kB / 478 MB, free: 2.594 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002002/0.1518, allocations: 211.1 kB / 478.2 MB, free: 2.387 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1518, allocations: 0 / 478.2 MB, free: 2.387 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003944/0.1522, allocations: 88 kB / 478.3 MB, free: 2.301 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.000131/0.1523, allocations: 103.2 kB / 478.4 MB, free: 2.188 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006369/0.1529, allocations: 370.4 kB / 478.7 MB, free: 1.812 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.153, allocations: 3.938 kB / 478.7 MB, free: 1.809 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001463/0.1531, allocations: 99.84 kB / 478.8 MB, free: 1.711 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005001/0.1536, allocations: 66.27 kB / 478.9 MB, free: 1.645 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001545/0.1552, allocations: 1.124 MB / 480 MB, free: 492 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004376/0.1556, allocations: 0.8463 MB / 480.9 MB, free: 15.61 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.613e-05/0.1557, allocations: 27.44 kB / 480.9 MB, free: 15.59 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1557, allocations: 4 kB / 480.9 MB, free: 15.58 MB / 366.1 MB Notification: Performance of Templates: time 0.007515/0.1633, allocations: 5.252 MB / 486.1 MB, free: 10.33 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