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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001129/0.001129, allocations: 189.5 kB / 17.27 MB, free: 4.5 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.185/1.185, allocations: 194.2 MB / 212.2 MB, free: 2.363 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001676/0.001676, allocations: 121.6 kB / 256.6 MB, free: 4.301 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1657/0.1657, allocations: 37.95 MB / 338.8 MB, free: 2.223 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001179, allocations: 67.89 kB / 401.8 MB, free: 68.74 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07626/0.07745, allocations: 52.18 MB / 454 MB, free: 16.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.005031/0.08251, allocations: 5.356 MB / 459.3 MB, free: 11.19 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001829/0.08438, allocations: 1.578 MB / 460.9 MB, free: 9.602 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001944/0.08459, allocations: 27.81 kB / 460.9 MB, free: 9.574 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008746/0.08547, allocations: 370.7 kB / 461.3 MB, free: 9.211 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000332/0.08581, allocations: 223 kB / 461.5 MB, free: 8.992 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003185/0.08614, allocations: 151.8 kB / 461.7 MB, free: 8.844 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004682/0.08662, allocations: 0.8025 MB / 462.5 MB, free: 8.039 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003789/0.08701, allocations: 325.4 kB / 462.8 MB, free: 7.727 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001983/0.08722, allocations: 222.9 kB / 463 MB, free: 7.508 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002883/0.08751, allocations: 291 kB / 463.3 MB, free: 7.223 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.946e-05/0.08756, allocations: 24 kB / 463.3 MB, free: 7.199 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002145/0.08778, allocations: 135.8 kB / 463.5 MB, free: 7.066 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001175/0.08791, allocations: 183.5 kB / 463.6 MB, free: 6.887 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001448/0.08806, allocations: 214.8 kB / 463.8 MB, free: 6.676 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000337/0.08841, allocations: 0.5178 MB / 464.4 MB, free: 6.156 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.08842, allocations: 0 / 464.4 MB, free: 6.156 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.08842, allocations: 0 / 464.4 MB, free: 6.156 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.092e-06/0.08844, allocations: 0 / 464.4 MB, free: 6.156 MB / 314.7 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.0008228/0.08926, allocations: 0.7261 MB / 465.1 MB, free: 5.375 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.0893, allocations: 8.031 kB / 465.1 MB, free: 5.367 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005668/0.08988, allocations: 88.31 kB / 465.2 MB, free: 5.281 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004766/0.09037, allocations: 396.1 kB / 465.6 MB, free: 4.855 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/0.0904, allocations: 29.36 kB / 465.6 MB, free: 4.828 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.923e-05/0.0905, allocations: 55.86 kB / 465.6 MB, free: 4.773 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004877/0.091, allocations: 468.8 kB / 466.1 MB, free: 4.285 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.09102, allocations: 4 kB / 466.1 MB, free: 4.281 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.974e-05/0.09105, allocations: 19.98 kB / 466.1 MB, free: 4.262 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.901e-05/0.09115, allocations: 24.92 kB / 466.2 MB, free: 4.238 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004096/0.09157, allocations: 351.7 kB / 466.5 MB, free: 3.895 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001552/0.09313, allocations: 1.633 MB / 468.1 MB, free: 2.164 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002537/0.09339, allocations: 173.1 kB / 468.3 MB, free: 1.977 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001256/0.09353, allocations: 117.6 kB / 468.4 MB, free: 1.855 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.09355, allocations: 4 kB / 468.4 MB, free: 1.852 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.486e-05/0.09357, allocations: 42.5 kB / 468.5 MB, free: 1.801 MB / 314.7 MB Notification: Performance of pre-optimization done (n=19): time 1.302e-06/0.09358, allocations: 0 / 468.5 MB, free: 1.801 MB / 314.7 MB Notification: Performance of matching and sorting (n=20): time 0.0009457/0.09453, allocations: 0.77 MB / 469.2 MB, free: 0.9766 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.359e-05/0.09457, allocations: 85.09 kB / 469.3 MB, free: 0.875 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001945/0.09477, allocations: 304.5 kB / 469.6 MB, free: 0.5742 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.09479, allocations: 25.7 kB / 469.6 MB, free: 0.543 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.604e-05/0.09488, allocations: 255.6 kB / 469.9 MB, free: 296 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.728e-05/0.09492, allocations: 78.94 kB / 470 MB, free: 216 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.925e-05/0.095, allocations: 65.59 kB / 470 MB, free: 144 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.09511, allocations: 338.8 kB / 470.4 MB, free: 15.8 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001362/0.09525, allocations: 95.94 kB / 470.5 MB, free: 15.71 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001888/0.09545, allocations: 192.8 kB / 470.6 MB, free: 15.47 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003596/0.09581, allocations: 336.3 kB / 471 MB, free: 15.1 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.09582, allocations: 0 / 471 MB, free: 15.1 MB / 330.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007157/0.09655, allocations: 433.7 kB / 471.4 MB, free: 14.66 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.09657, allocations: 4 kB / 471.4 MB, free: 14.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004544/0.09703, allocations: 264.4 kB / 471.7 MB, free: 14.39 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003093/0.09735, allocations: 76.78 kB / 471.7 MB, free: 14.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002288/0.09759, allocations: 59.91 kB / 471.8 MB, free: 14.26 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001356/0.09896, allocations: 1.585 MB / 473.4 MB, free: 12.54 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001629/0.09913, allocations: 16 kB / 473.4 MB, free: 12.52 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.981e-05/0.09916, allocations: 12.06 kB / 473.4 MB, free: 12.51 MB / 330.7 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.0001702/0.09934, allocations: 193.7 kB / 473.6 MB, free: 12.31 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.076e-05/0.0994, allocations: 31.56 kB / 473.6 MB, free: 12.28 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004003/0.0998, allocations: 284.3 kB / 473.9 MB, free: 11.99 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.09982, allocations: 4 kB / 473.9 MB, free: 11.99 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-06/0.09982, allocations: 0 / 473.9 MB, free: 11.99 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.09983, allocations: 0 / 473.9 MB, free: 11.99 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009989/0.1008, allocations: 0.7582 MB / 474.7 MB, free: 11.17 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.1009, allocations: 0 / 474.7 MB, free: 11.17 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002528/0.1011, allocations: 51.91 kB / 474.7 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.1011, allocations: 0 / 474.7 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.965e-05/0.1011, allocations: 11.94 kB / 474.7 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.1012, allocations: 8.062 kB / 474.7 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.1012, allocations: 3.938 kB / 474.7 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002838/0.104, allocations: 2.403 MB / 477.1 MB, free: 8.531 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.866e-05/0.1041, allocations: 100.7 kB / 477.2 MB, free: 8.414 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.71e-05/0.1041, allocations: 12 kB / 477.2 MB, free: 8.402 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001473/0.1043, allocations: 11.98 kB / 477.3 MB, free: 8.391 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.116e-05/0.1043, allocations: 11.92 kB / 477.3 MB, free: 8.379 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/0.1043, allocations: 12 kB / 477.3 MB, free: 8.367 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001795/0.1045, allocations: 215.1 kB / 477.5 MB, free: 8.16 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1045, allocations: 0 / 477.5 MB, free: 8.16 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004543/0.105, allocations: 120 kB / 477.6 MB, free: 8.043 MB / 330.7 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 9.672e-05/0.1051, allocations: 103.2 kB / 477.7 MB, free: 7.934 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005452/0.1057, allocations: 367.5 kB / 478.1 MB, free: 7.562 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.1057, allocations: 0 / 478.1 MB, free: 7.562 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001395/0.1058, allocations: 112 kB / 478.2 MB, free: 7.453 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000423/0.1063, allocations: 65.38 kB / 478.2 MB, free: 7.391 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001413/0.1077, allocations: 1.267 MB / 479.5 MB, free: 6.074 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003578/0.108, allocations: 0.858 MB / 480.4 MB, free: 5.188 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002143/0.1083, allocations: 82.89 kB / 480.4 MB, free: 5.109 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.008e-05/0.1084, allocations: 27.44 kB / 480.5 MB, free: 5.082 MB / 330.7 MB Notification: Performance of SimCode: time 3.61e-07/0.1084, allocations: 4 kB / 480.5 MB, free: 5.078 MB / 330.7 MB Notification: Performance of Templates: time 0.006845/0.1152, allocations: 3.892 MB / 484.4 MB, free: 1.188 MB / 330.7 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)