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.001452/0.001452, allocations: 104.7 kB / 16.62 MB, free: 6.809 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.001645/0.001645, allocations: 189.9 kB / 17.55 MB, free: 5.953 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.391/1.391, allocations: 222.9 MB / 241.2 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1791/0.1791, allocations: 38.03 MB / 329.4 MB, free: 8.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 73.83 kB / 398.3 MB, free: 34.37 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09853/0.09982, allocations: 58.05 MB / 456.3 MB, free: 8.402 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.007289/0.1071, allocations: 5.353 MB / 461.7 MB, free: 3.016 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002603/0.1098, allocations: 1.519 MB / 463.2 MB, free: 1.492 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000463/0.1103, allocations: 31.81 kB / 463.2 MB, free: 1.461 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001202/0.1115, allocations: 382.6 kB / 463.6 MB, free: 1.086 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006274/0.1121, allocations: 215 kB / 463.8 MB, free: 0.875 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005259/0.1127, allocations: 159.8 kB / 464 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006526/0.1133, allocations: 0.549 MB / 464.5 MB, free: 172 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005834/0.1139, allocations: 369.8 kB / 464.9 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004062/0.1143, allocations: 247 kB / 465.1 MB, free: 15.56 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004443/0.1148, allocations: 291 kB / 465.4 MB, free: 15.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.043e-05/0.1149, allocations: 32 kB / 465.4 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000271/0.1152, allocations: 135.8 kB / 465.6 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001878/0.1154, allocations: 183.5 kB / 465.8 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000263/0.1156, allocations: 234.8 kB / 466 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005515/0.1162, allocations: 0.5178 MB / 466.5 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.1162, allocations: 0 / 466.5 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1162, allocations: 0 / 466.5 MB, free: 14.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.76e-05/0.1162, allocations: 0 / 466.5 MB, free: 14.18 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.00121/0.1175, allocations: 0.7184 MB / 467.2 MB, free: 13.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.1175, allocations: 15.89 kB / 467.2 MB, free: 13.4 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007337/0.1182, allocations: 88.31 kB / 467.3 MB, free: 13.31 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006565/0.1189, allocations: 392.1 kB / 467.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.461e-05/0.119, allocations: 29.38 kB / 467.7 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001374/0.1191, allocations: 52.02 kB / 467.8 MB, free: 12.81 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007826/0.1199, allocations: 484.8 kB / 468.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.777e-05/0.1199, allocations: 7.875 kB / 468.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.025e-05/0.12, allocations: 16 kB / 468.3 MB, free: 12.28 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001179/0.1201, allocations: 24.98 kB / 468.3 MB, free: 12.26 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005697/0.1207, allocations: 351.6 kB / 468.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002227/0.1229, allocations: 1.629 MB / 470.3 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003298/0.1233, allocations: 173.1 kB / 470.5 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001612/0.1234, allocations: 109.7 kB / 470.6 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.455e-05/0.1235, allocations: 11.94 kB / 470.6 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.1235, allocations: 34.5 kB / 470.6 MB, free: 9.836 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.523e-06/0.1235, allocations: 0 / 470.6 MB, free: 9.836 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001372/0.1249, allocations: 0.7824 MB / 471.4 MB, free: 9.004 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.69e-05/0.1249, allocations: 85.05 kB / 471.5 MB, free: 8.902 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003104/0.1253, allocations: 312.4 kB / 471.8 MB, free: 8.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/0.1253, allocations: 25.7 kB / 471.8 MB, free: 8.559 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000155/0.1255, allocations: 251.5 kB / 472 MB, free: 8.309 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.959e-05/0.1255, allocations: 74.94 kB / 472.1 MB, free: 8.234 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.1256, allocations: 61.69 kB / 472.2 MB, free: 8.168 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.1258, allocations: 342.8 kB / 472.5 MB, free: 7.824 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001619/0.1259, allocations: 95.94 kB / 472.6 MB, free: 7.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002159/0.1262, allocations: 195.7 kB / 472.8 MB, free: 7.496 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004225/0.1266, allocations: 335.4 kB / 473.1 MB, free: 7.125 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.1266, allocations: 4 kB / 473.1 MB, free: 7.121 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007788/0.1274, allocations: 433.3 kB / 473.6 MB, free: 6.688 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.1274, allocations: 8 kB / 473.6 MB, free: 6.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004915/0.1279, allocations: 263.4 kB / 473.8 MB, free: 6.422 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003318/0.1283, allocations: 84.66 kB / 473.9 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000242/0.1285, allocations: 59.91 kB / 474 MB, free: 6.277 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001653/0.1302, allocations: 1.719 MB / 475.7 MB, free: 4.418 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001877/0.1304, allocations: 12.06 kB / 475.7 MB, free: 4.406 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.886e-05/0.1304, allocations: 19.98 kB / 475.7 MB, free: 4.387 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.000203/0.1306, allocations: 189.7 kB / 475.9 MB, free: 4.191 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.811e-05/0.1307, allocations: 27.62 kB / 475.9 MB, free: 4.164 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004245/0.1311, allocations: 270.4 kB / 476.2 MB, free: 3.891 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.319e-06/0.1311, allocations: 4 kB / 476.2 MB, free: 3.887 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.1311, allocations: 0 / 476.2 MB, free: 3.887 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.1312, allocations: 7.984 kB / 476.2 MB, free: 3.879 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001156/0.1323, allocations: 0.7459 MB / 476.9 MB, free: 3.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.1323, allocations: 0 / 476.9 MB, free: 3.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002975/0.1326, allocations: 55.84 kB / 477 MB, free: 3.016 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.1327, allocations: 0 / 477 MB, free: 3.016 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.557e-05/0.1327, allocations: 12 kB / 477 MB, free: 3.004 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.1327, allocations: 8 kB / 477 MB, free: 2.996 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1327, allocations: 0 / 477 MB, free: 2.996 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005559/0.1333, allocations: 458.2 kB / 477.5 MB, free: 2.523 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.488e-05/0.1334, allocations: 108.7 kB / 477.6 MB, free: 2.398 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.902e-05/0.1334, allocations: 12 kB / 477.6 MB, free: 2.387 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/0.1336, allocations: 4 kB / 477.6 MB, free: 2.383 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.077e-05/0.1336, allocations: 15.97 kB / 477.6 MB, free: 2.367 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.358e-05/0.1337, allocations: 8 kB / 477.6 MB, free: 2.359 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002118/0.1339, allocations: 215.1 kB / 477.8 MB, free: 2.148 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1339, allocations: 0 / 477.8 MB, free: 2.148 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004296/0.1343, allocations: 88 kB / 477.9 MB, free: 2.062 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.0001278/0.1345, allocations: 111.4 kB / 478 MB, free: 1.945 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007139/0.1352, allocations: 385.7 kB / 478.4 MB, free: 1.559 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.1352, allocations: 0 / 478.4 MB, free: 1.559 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001628/0.1354, allocations: 108.1 kB / 478.5 MB, free: 1.457 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005069/0.1359, allocations: 72.59 kB / 478.6 MB, free: 1.391 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001482/0.1374, allocations: 1.084 MB / 479.7 MB, free: 276 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004318/0.1378, allocations: 0.8461 MB / 480.5 MB, free: 15.4 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002281/0.1381, allocations: 74.84 kB / 480.6 MB, free: 15.32 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.888e-05/0.1382, allocations: 31.44 kB / 480.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1382, allocations: 0 / 480.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of Templates: time 0.007549/0.1457, allocations: 3.493 MB / 484.1 MB, free: 11.82 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)