Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer") translateModel(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_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.001318/0.001318, allocations: 112.8 kB / 17.29 MB, free: 6.219 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.001279/0.001279, allocations: 197.3 kB / 18.21 MB, free: 5.289 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.845/1.845, allocations: 222.9 MB / 241.9 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2204/0.2204, allocations: 38.02 MB / 330 MB, free: 8.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001663/0.001663, allocations: 62.39 kB / 398.9 MB, free: 34.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1133, allocations: 58.07 MB / 457 MB, free: 8.398 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.008456/0.1218, allocations: 5.36 MB / 462.4 MB, free: 3.008 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003287/0.1251, allocations: 1.511 MB / 463.9 MB, free: 1.492 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006323/0.1258, allocations: 27.81 kB / 463.9 MB, free: 1.465 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001468/0.1273, allocations: 406.5 kB / 464.3 MB, free: 1.066 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008058/0.1281, allocations: 207.1 kB / 464.5 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000612/0.1287, allocations: 167.7 kB / 464.7 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008329/0.1296, allocations: 0.5529 MB / 465.2 MB, free: 148 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007102/0.1303, allocations: 361.8 kB / 465.6 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005307/0.1309, allocations: 247 kB / 465.8 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005738/0.1314, allocations: 295 kB / 466.1 MB, free: 15.26 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.766e-05/0.1315, allocations: 32 kB / 466.1 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003661/0.1319, allocations: 127.8 kB / 466.2 MB, free: 15.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002335/0.1322, allocations: 187.4 kB / 466.4 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000379/0.1325, allocations: 226.9 kB / 466.7 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005608/0.1331, allocations: 411.1 kB / 467.1 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.1331, allocations: 0 / 467.1 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1331, allocations: 0 / 467.1 MB, free: 14.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.026e-05/0.1332, allocations: 0 / 467.1 MB, free: 14.29 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.001501/0.1347, allocations: 0.7223 MB / 467.8 MB, free: 13.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.1347, allocations: 11.89 kB / 467.8 MB, free: 13.51 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008039/0.1355, allocations: 84.31 kB / 467.9 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007537/0.1363, allocations: 396.1 kB / 468.3 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.495e-05/0.1364, allocations: 29.38 kB / 468.3 MB, free: 12.97 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001528/0.1365, allocations: 52.02 kB / 468.3 MB, free: 12.92 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007871/0.1373, allocations: 480.8 kB / 468.8 MB, free: 12.42 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/0.1374, allocations: 0 / 468.8 MB, free: 12.42 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.989e-05/0.1374, allocations: 12 kB / 468.8 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001207/0.1375, allocations: 32.97 kB / 468.8 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005956/0.1381, allocations: 347.7 kB / 469.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002514/0.1407, allocations: 1.625 MB / 470.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003564/0.141, allocations: 177.1 kB / 471 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001775/0.1412, allocations: 109.7 kB / 471.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.529e-05/0.1413, allocations: 4 kB / 471.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.311e-05/0.1413, allocations: 42.44 kB / 471.1 MB, free: 9.957 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.793e-06/0.1413, allocations: 3.938 kB / 471.1 MB, free: 9.953 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001452/0.1428, allocations: 0.7796 MB / 471.9 MB, free: 9.121 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.31e-05/0.1428, allocations: 81.11 kB / 472 MB, free: 9.023 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003367/0.1432, allocations: 304.4 kB / 472.3 MB, free: 8.719 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.72e-05/0.1432, allocations: 29.7 kB / 472.3 MB, free: 8.684 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001811/0.1434, allocations: 259.5 kB / 472.6 MB, free: 8.426 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.661e-05/0.1435, allocations: 66.95 kB / 472.6 MB, free: 8.359 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.1436, allocations: 69.75 kB / 472.7 MB, free: 8.285 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.1438, allocations: 342.8 kB / 473 MB, free: 7.941 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001602/0.1439, allocations: 91.94 kB / 473.1 MB, free: 7.852 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002337/0.1442, allocations: 204.6 kB / 473.3 MB, free: 7.605 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004523/0.1446, allocations: 339.3 kB / 473.7 MB, free: 7.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1446, allocations: 0 / 473.7 MB, free: 7.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008498/0.1455, allocations: 425.8 kB / 474.1 MB, free: 6.805 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.1455, allocations: 12.06 kB / 474.1 MB, free: 6.793 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005154/0.1461, allocations: 262.9 kB / 474.4 MB, free: 6.535 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003483/0.1464, allocations: 76.78 kB / 474.4 MB, free: 6.457 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002579/0.1467, allocations: 71.83 kB / 474.5 MB, free: 6.387 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00179/0.1485, allocations: 1.719 MB / 476.2 MB, free: 4.527 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002164/0.1487, allocations: 12 kB / 476.2 MB, free: 4.516 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.143e-05/0.1488, allocations: 16 kB / 476.2 MB, free: 4.5 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.0002515/0.149, allocations: 185.7 kB / 476.4 MB, free: 4.309 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.344e-05/0.1491, allocations: 31.62 kB / 476.5 MB, free: 4.277 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004565/0.1496, allocations: 270.4 kB / 476.7 MB, free: 4.004 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.1496, allocations: 8.062 kB / 476.7 MB, free: 3.996 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.1496, allocations: 0 / 476.7 MB, free: 3.996 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.1496, allocations: 0 / 476.7 MB, free: 3.996 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001219/0.1508, allocations: 0.7459 MB / 477.5 MB, free: 3.188 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.1508, allocations: 0 / 477.5 MB, free: 3.188 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002911/0.1511, allocations: 52.05 kB / 477.5 MB, free: 3.137 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-06/0.1512, allocations: 4 kB / 477.5 MB, free: 3.133 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.314e-05/0.1512, allocations: 11.86 kB / 477.5 MB, free: 3.121 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/0.1512, allocations: 4 kB / 477.5 MB, free: 3.117 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.1512, allocations: 0 / 477.5 MB, free: 3.117 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005818/0.1518, allocations: 461 kB / 478 MB, free: 2.645 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.874e-05/0.1519, allocations: 108.7 kB / 478.1 MB, free: 2.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.839e-05/0.1519, allocations: 8 kB / 478.1 MB, free: 2.512 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001661/0.1521, allocations: 8.031 kB / 478.1 MB, free: 2.504 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.16e-05/0.1522, allocations: 19.92 kB / 478.1 MB, free: 2.484 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.56e-05/0.1522, allocations: 4 kB / 478.1 MB, free: 2.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002467/0.1524, allocations: 219 kB / 478.4 MB, free: 2.266 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.1524, allocations: 0 / 478.4 MB, free: 2.266 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004356/0.1529, allocations: 87.94 kB / 478.4 MB, free: 2.18 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.0001349/0.153, allocations: 103.4 kB / 478.5 MB, free: 2.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007504/0.1538, allocations: 397.6 kB / 478.9 MB, free: 1.672 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.1538, allocations: 4.812 kB / 478.9 MB, free: 1.668 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001679/0.154, allocations: 108 kB / 479 MB, free: 1.562 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005341/0.1545, allocations: 81.31 kB / 479.1 MB, free: 1.484 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001817/0.1563, allocations: 1.113 MB / 480.2 MB, free: 336 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005069/0.1569, allocations: 0.85 MB / 481.1 MB, free: 15.45 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/0.157, allocations: 31.42 kB / 481.1 MB, free: 15.42 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.157, allocations: 0 / 481.1 MB, free: 15.42 MB / 366.1 MB Notification: Performance of Templates: time 0.009817/0.1668, allocations: 5.252 MB / 486.4 MB, free: 10.17 MB / 366.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe 2>&1)