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.001347/0.001347, allocations: 108.4 kB / 16.92 MB, free: 6.145 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.001362/0.001362, allocations: 187.4 kB / 17.85 MB, free: 5.285 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: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1751/0.1751, allocations: 38.04 MB / 329.7 MB, free: 8.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 56 kB / 398.8 MB, free: 34.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1122, allocations: 58.07 MB / 456.9 MB, free: 8.047 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.006127/0.1184, allocations: 4.705 MB / 461.6 MB, free: 3.312 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002241/0.1207, allocations: 1.359 MB / 462.9 MB, free: 1.949 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000209/0.1209, allocations: 15.88 kB / 462.9 MB, free: 1.934 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001161/0.1221, allocations: 398.3 kB / 463.3 MB, free: 1.543 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004544/0.1225, allocations: 234.8 kB / 463.6 MB, free: 1.312 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004147/0.1229, allocations: 179.6 kB / 463.7 MB, free: 1.137 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005256/0.1235, allocations: 0.549 MB / 464.3 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004708/0.124, allocations: 349.8 kB / 464.6 MB, free: 252 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002869/0.1243, allocations: 247 kB / 464.9 MB, free: 4 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004273/0.1247, allocations: 271 kB / 465.1 MB, free: 15.74 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.679e-05/0.1248, allocations: 32 kB / 465.2 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003172/0.1251, allocations: 123.8 kB / 465.3 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001968/0.1253, allocations: 191.4 kB / 465.5 MB, free: 15.4 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002382/0.1256, allocations: 230.9 kB / 465.7 MB, free: 15.17 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005415/0.1261, allocations: 0.514 MB / 466.2 MB, free: 14.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1261, allocations: 0 / 466.2 MB, free: 14.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1261, allocations: 0 / 466.2 MB, free: 14.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.846e-06/0.1261, allocations: 0 / 466.2 MB, free: 14.66 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.001114/0.1273, allocations: 0.7184 MB / 466.9 MB, free: 13.89 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.1273, allocations: 15.89 kB / 466.9 MB, free: 13.87 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006505/0.128, allocations: 92.25 kB / 467 MB, free: 13.78 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005807/0.1286, allocations: 392.1 kB / 467.4 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.529e-05/0.1286, allocations: 29.36 kB / 467.4 MB, free: 13.33 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000121/0.1287, allocations: 44.12 kB / 467.5 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006472/0.1294, allocations: 480.8 kB / 468 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.1294, allocations: 0 / 468 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.633e-05/0.1294, allocations: 16 kB / 468 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001053/0.1296, allocations: 28.97 kB / 468 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005197/0.1301, allocations: 347.7 kB / 468.3 MB, free: 12.4 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002082/0.1322, allocations: 1.637 MB / 470 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003238/0.1325, allocations: 169.1 kB / 470.1 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001692/0.1327, allocations: 121.6 kB / 470.3 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.1327, allocations: 4 kB / 470.3 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.1328, allocations: 34.5 kB / 470.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.493e-06/0.1328, allocations: 0 / 470.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001297/0.1341, allocations: 0.7785 MB / 471.1 MB, free: 9.488 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.23e-05/0.1341, allocations: 89.17 kB / 471.2 MB, free: 9.383 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002899/0.1344, allocations: 308.5 kB / 471.5 MB, free: 9.078 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.1345, allocations: 29.7 kB / 471.5 MB, free: 9.043 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001515/0.1346, allocations: 251.5 kB / 471.7 MB, free: 8.793 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.125e-05/0.1347, allocations: 70.95 kB / 471.8 MB, free: 8.723 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.203e-05/0.1348, allocations: 65.59 kB / 471.9 MB, free: 8.652 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.1349, allocations: 342.8 kB / 472.2 MB, free: 8.309 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001966/0.1351, allocations: 95.89 kB / 472.3 MB, free: 8.215 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002164/0.1354, allocations: 204.6 kB / 472.5 MB, free: 7.969 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003981/0.1358, allocations: 335.3 kB / 472.8 MB, free: 7.598 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1358, allocations: 0 / 472.8 MB, free: 7.598 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007492/0.1365, allocations: 425.4 kB / 473.2 MB, free: 7.172 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.1366, allocations: 11.98 kB / 473.3 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004847/0.1371, allocations: 262.9 kB / 473.5 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000334/0.1374, allocations: 81.22 kB / 473.6 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002457/0.1377, allocations: 63.89 kB / 473.6 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001711/0.1394, allocations: 1.719 MB / 475.4 MB, free: 4.898 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001844/0.1396, allocations: 12 kB / 475.4 MB, free: 4.887 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.637e-05/0.1396, allocations: 12 kB / 475.4 MB, free: 4.875 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.0002044/0.1398, allocations: 193.8 kB / 475.6 MB, free: 4.676 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.834e-05/0.1399, allocations: 31.62 kB / 475.6 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004408/0.1403, allocations: 274.9 kB / 475.9 MB, free: 4.367 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.1404, allocations: 4 kB / 475.9 MB, free: 4.363 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.1404, allocations: 0 / 475.9 MB, free: 4.363 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.1404, allocations: 0 / 475.9 MB, free: 4.363 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00113/0.1415, allocations: 0.7498 MB / 476.6 MB, free: 3.551 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.1415, allocations: 0 / 476.6 MB, free: 3.551 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002666/0.1418, allocations: 51.91 kB / 476.7 MB, free: 3.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.1418, allocations: 4 kB / 476.7 MB, free: 3.496 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.764e-05/0.1418, allocations: 7.938 kB / 476.7 MB, free: 3.488 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/0.1418, allocations: 4 kB / 476.7 MB, free: 3.484 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1419, allocations: 64 / 476.7 MB, free: 3.484 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005584/0.1424, allocations: 462.2 kB / 477.2 MB, free: 3.008 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.502e-05/0.1425, allocations: 108.6 kB / 477.3 MB, free: 2.883 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.276e-05/0.1426, allocations: 8 kB / 477.3 MB, free: 2.875 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000158/0.1427, allocations: 12.03 kB / 477.3 MB, free: 2.863 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.899e-05/0.1428, allocations: 15.98 kB / 477.3 MB, free: 2.848 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.256e-05/0.1428, allocations: 8 kB / 477.3 MB, free: 2.84 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002144/0.143, allocations: 219 kB / 477.5 MB, free: 2.625 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.143, allocations: 0 / 477.5 MB, free: 2.625 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004046/0.1435, allocations: 84 kB / 477.6 MB, free: 2.543 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.0001107/0.1436, allocations: 107.3 kB / 477.7 MB, free: 2.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006957/0.1443, allocations: 397.7 kB / 478.1 MB, free: 2.031 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.1443, allocations: 0 / 478.1 MB, free: 2.031 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001677/0.1445, allocations: 106.9 kB / 478.2 MB, free: 1.93 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004878/0.145, allocations: 74.39 kB / 478.3 MB, free: 1.859 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001407/0.1464, allocations: 0.9165 MB / 479.2 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004271/0.1468, allocations: 0.8422 MB / 480 MB, free: 40 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002096/0.147, allocations: 78.91 kB / 480.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.794e-05/0.1471, allocations: 27.42 kB / 480.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1471, allocations: 0 / 480.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of Templates: time 0.007174/0.1543, allocations: 3.499 MB / 483.6 MB, free: 12.46 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)