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.001024/0.001024, allocations: 89.8 kB / 16.65 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.001253/0.001253, allocations: 175.2 kB / 17.56 MB, free: 6.18 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.426/1.426, allocations: 223.3 MB / 241.6 MB, free: 196 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2007/0.2007, allocations: 38.07 MB / 330.8 MB, free: 8.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003457/0.0003457, allocations: 13 kB / 400.7 MB, free: 34.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1126, allocations: 59.17 MB / 459.9 MB, free: 7.055 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.005664/0.1183, allocations: 4.954 MB / 464.8 MB, free: 2.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002353/0.1207, allocations: 1.511 MB / 466.3 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002329/0.1209, allocations: 27.81 kB / 466.4 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003226/0.1213, allocations: 83.39 kB / 466.4 MB, free: 456 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004851/0.1218, allocations: 223 kB / 466.7 MB, free: 232 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003944/0.1222, allocations: 155.8 kB / 466.8 MB, free: 76 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007279/0.1229, allocations: 0.7947 MB / 467.6 MB, free: 15.28 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009136/0.1238, allocations: 0.599 MB / 468.2 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002775/0.1241, allocations: 199 kB / 468.4 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003765/0.1245, allocations: 263 kB / 468.7 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.492e-05/0.1246, allocations: 16 kB / 468.7 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002515/0.1248, allocations: 135.7 kB / 468.8 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001597/0.125, allocations: 159.5 kB / 469 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000206/0.1252, allocations: 228.6 kB / 469.2 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004657/0.1257, allocations: 0.5021 MB / 469.7 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1257, allocations: 4 kB / 469.7 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1257, allocations: 0 / 469.7 MB, free: 13.15 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.1257, allocations: 0 / 469.7 MB, free: 13.15 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.0009995/0.1267, allocations: 0.6444 MB / 470.3 MB, free: 12.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.1268, allocations: 16.03 kB / 470.4 MB, free: 12.44 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006392/0.1274, allocations: 88.31 kB / 470.4 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005673/0.128, allocations: 396 kB / 470.8 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.524e-05/0.128, allocations: 25.38 kB / 470.9 MB, free: 11.9 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001353/0.1282, allocations: 52.09 kB / 470.9 MB, free: 11.85 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006829/0.1288, allocations: 476.8 kB / 471.4 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.1289, allocations: 4 kB / 471.4 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.883e-05/0.1289, allocations: 16 kB / 471.4 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001005/0.129, allocations: 24.98 kB / 471.4 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005317/0.1296, allocations: 343.7 kB / 471.7 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002026/0.1316, allocations: 1.637 MB / 473.4 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003179/0.1319, allocations: 181.1 kB / 473.6 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001641/0.1321, allocations: 110 kB / 473.7 MB, free: 8.938 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/0.1321, allocations: 4 kB / 473.7 MB, free: 8.934 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/0.1322, allocations: 42.41 kB / 473.7 MB, free: 8.883 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.432e-06/0.1322, allocations: 0 / 473.7 MB, free: 8.883 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.00126/0.1334, allocations: 0.7827 MB / 474.5 MB, free: 8.047 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.549e-05/0.1335, allocations: 85.05 kB / 474.6 MB, free: 7.945 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002854/0.1338, allocations: 308.5 kB / 474.9 MB, free: 7.633 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.1338, allocations: 25.7 kB / 474.9 MB, free: 7.602 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001815/0.134, allocations: 247.5 kB / 475.1 MB, free: 7.355 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.376e-05/0.1341, allocations: 82.92 kB / 475.2 MB, free: 7.273 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.71e-05/0.1341, allocations: 29.7 kB / 475.3 MB, free: 7.238 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.1343, allocations: 342.8 kB / 475.6 MB, free: 6.895 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001578/0.1344, allocations: 95.97 kB / 475.7 MB, free: 6.801 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002136/0.1347, allocations: 208.4 kB / 475.9 MB, free: 6.551 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004068/0.1351, allocations: 328.5 kB / 476.2 MB, free: 6.184 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1351, allocations: 0 / 476.2 MB, free: 6.184 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007468/0.1358, allocations: 423.3 kB / 476.6 MB, free: 5.762 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.1359, allocations: 8 kB / 476.6 MB, free: 5.754 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004991/0.1364, allocations: 270.9 kB / 476.9 MB, free: 5.488 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003331/0.1367, allocations: 80.78 kB / 477 MB, free: 5.406 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002355/0.137, allocations: 63.91 kB / 477 MB, free: 5.344 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001569/0.1385, allocations: 1.585 MB / 478.6 MB, free: 3.621 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001711/0.1387, allocations: 11.91 kB / 478.6 MB, free: 3.609 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.123e-05/0.1387, allocations: 16 kB / 478.6 MB, free: 3.594 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.0002073/0.139, allocations: 193.6 kB / 478.8 MB, free: 3.395 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.014e-05/0.139, allocations: 23.72 kB / 478.9 MB, free: 3.371 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004221/0.1394, allocations: 272.6 kB / 479.1 MB, free: 3.102 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.229e-06/0.1395, allocations: 4 kB / 479.1 MB, free: 3.098 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-06/0.1395, allocations: 0 / 479.1 MB, free: 3.098 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.1395, allocations: 0 / 479.1 MB, free: 3.098 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001112/0.1406, allocations: 0.7608 MB / 479.9 MB, free: 2.277 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.1406, allocations: 4 kB / 479.9 MB, free: 2.273 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002687/0.1409, allocations: 55.91 kB / 480 MB, free: 2.219 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.1409, allocations: 0 / 480 MB, free: 2.219 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.713e-05/0.1409, allocations: 4 kB / 480 MB, free: 2.215 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.1409, allocations: 4 kB / 480 MB, free: 2.211 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.1409, allocations: 3.938 kB / 480 MB, free: 2.207 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005384/0.1415, allocations: 469.7 kB / 480.4 MB, free: 1.727 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.869e-05/0.1416, allocations: 100.7 kB / 480.5 MB, free: 1.609 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.872e-05/0.1416, allocations: 15.97 kB / 480.5 MB, free: 1.594 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001527/0.1418, allocations: 7.938 kB / 480.5 MB, free: 1.586 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.306e-05/0.1418, allocations: 11.98 kB / 480.6 MB, free: 1.574 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.1418, allocations: 8 kB / 480.6 MB, free: 1.566 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002126/0.142, allocations: 223 kB / 480.8 MB, free: 1.348 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.142, allocations: 0 / 480.8 MB, free: 1.348 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003936/0.1424, allocations: 84 kB / 480.9 MB, free: 1.266 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.0001175/0.1426, allocations: 107.1 kB / 481 MB, free: 1.148 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006607/0.1432, allocations: 375.1 kB / 481.3 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.1433, allocations: 0 / 481.3 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001456/0.1434, allocations: 99.83 kB / 481.4 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005053/0.1439, allocations: 61.39 kB / 481.5 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001585/0.1455, allocations: 1.14 MB / 482.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004273/0.146, allocations: 0.8503 MB / 483.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002048/0.1462, allocations: 66.91 kB / 483.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.324e-05/0.1462, allocations: 31.42 kB / 483.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1463, allocations: 0 / 483.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of Templates: time 0.007267/0.1535, allocations: 3.304 MB / 486.9 MB, free: 11.18 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)