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.001152/0.001152, allocations: 184.3 kB / 13.65 MB, free: 1.668 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.65/1.65, allocations: 194.3 MB / 208.4 MB, free: 6.742 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.001829/0.001829, allocations: 120.6 kB / 253.5 MB, free: 9.613 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1636/0.1636, allocations: 37.9 MB / 336.4 MB, free: 14.28 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.33e-05/3.342e-05, allocations: 4 kB / 397.5 MB, free: 1.062 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3514/0.3514, allocations: 53.23 MB / 450.8 MB, free: 13.5 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1527/0.5042, allocations: 90.71 MB / 0.5288 GB, free: 2.66 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002932/0.5045, allocations: 87.95 kB / 0.5289 GB, free: 2.574 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3954/0.8999, allocations: 12.88 MB / 0.5414 GB, free: 85.8 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.9, allocations: 0 / 0.5414 GB, free: 85.8 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.227e-05/0.9, allocations: 16.72 kB / 0.5415 GB, free: 85.79 MB / 378.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.00101/0.901, allocations: 0.6205 MB / 0.5421 GB, free: 85.25 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.9011, allocations: 6.094 kB / 0.5421 GB, free: 85.25 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006302/0.9017, allocations: 97.97 kB / 0.5422 GB, free: 85.21 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002105/0.9039, allocations: 0.8654 MB / 0.543 GB, free: 84.61 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.856e-05/0.9039, allocations: 20.31 kB / 0.543 GB, free: 84.6 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.6e-05/0.904, allocations: 39.03 kB / 0.5431 GB, free: 84.58 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006713/0.9047, allocations: 460.6 kB / 0.5435 GB, free: 84.3 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.072e-05/0.9047, allocations: 3.938 kB / 0.5435 GB, free: 84.3 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.753e-05/0.9047, allocations: 19.8 kB / 0.5435 GB, free: 84.28 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-05/0.9048, allocations: 20.3 kB / 0.5435 GB, free: 84.28 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004875/0.9053, allocations: 334.6 kB / 0.5439 GB, free: 84.13 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001942/0.9072, allocations: 1.63 MB / 0.5455 GB, free: 82.8 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003325/0.9076, allocations: 167.9 kB / 0.5456 GB, free: 82.7 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001522/0.9077, allocations: 110.4 kB / 0.5457 GB, free: 82.64 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.957e-05/0.9078, allocations: 3.906 kB / 0.5457 GB, free: 82.64 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.616e-05/0.9078, allocations: 50.14 kB / 0.5458 GB, free: 82.58 MB / 378.7 MB Notification: Performance of pre-optimization done (n=19): time 3.877e-06/0.9078, allocations: 0 / 0.5458 GB, free: 82.58 MB / 378.7 MB Notification: Performance of matching and sorting (n=20): time 0.001162/0.909, allocations: 0.695 MB / 0.5465 GB, free: 82.06 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.458e-05/0.9091, allocations: 84.77 kB / 0.5465 GB, free: 81.96 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002731/0.9093, allocations: 271.3 kB / 0.5468 GB, free: 81.79 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.9094, allocations: 25.73 kB / 0.5468 GB, free: 81.76 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.9095, allocations: 258.1 kB / 0.5471 GB, free: 81.53 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.094e-05/0.9096, allocations: 74.7 kB / 0.5471 GB, free: 81.46 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.458e-05/0.9096, allocations: 7.938 kB / 0.5471 GB, free: 81.46 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.9097, allocations: 342.6 kB / 0.5475 GB, free: 81.12 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001311/0.9098, allocations: 89.47 kB / 0.5476 GB, free: 81.09 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001978/0.91, allocations: 197.8 kB / 0.5477 GB, free: 80.86 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001752/0.9102, allocations: 136.3 kB / 0.5479 GB, free: 80.73 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.9102, allocations: 0 / 0.5479 GB, free: 80.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006844/0.9109, allocations: 426.2 kB / 0.5483 GB, free: 80.3 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.9109, allocations: 8 kB / 0.5483 GB, free: 80.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004237/0.9114, allocations: 257.1 kB / 0.5485 GB, free: 80.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003815/0.9118, allocations: 80.78 kB / 0.5486 GB, free: 79.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002274/0.912, allocations: 59.91 kB / 0.5487 GB, free: 79.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001271/0.9133, allocations: 1.585 MB / 0.5502 GB, free: 78.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001983/0.9135, allocations: 12 kB / 0.5502 GB, free: 78.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.109e-05/0.9135, allocations: 8 kB / 0.5502 GB, free: 78.16 MB / 378.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001092/0.9136, allocations: 136.6 kB / 0.5504 GB, free: 78.02 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.635e-05/0.9137, allocations: 35.69 kB / 0.5504 GB, free: 77.98 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00043/0.9141, allocations: 262.2 kB / 0.5506 GB, free: 77.72 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.9142, allocations: 4 kB / 0.5507 GB, free: 77.71 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.9142, allocations: 3.938 kB / 0.5507 GB, free: 77.71 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.856e-06/0.9142, allocations: 11.98 kB / 0.5507 GB, free: 77.7 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001048/0.9152, allocations: 0.7538 MB / 0.5514 GB, free: 76.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.9153, allocations: 0 / 0.5514 GB, free: 76.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002541/0.9155, allocations: 51.91 kB / 0.5515 GB, free: 76.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.9155, allocations: 0 / 0.5515 GB, free: 76.84 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.131e-05/0.9156, allocations: 8 kB / 0.5515 GB, free: 76.83 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.9156, allocations: 4 kB / 0.5515 GB, free: 76.82 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.9156, allocations: 0 / 0.5515 GB, free: 76.82 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004816/0.9161, allocations: 486.5 kB / 0.5519 GB, free: 76.3 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.309e-05/0.9161, allocations: 104.8 kB / 0.552 GB, free: 76.18 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.77e-05/0.9162, allocations: 8 kB / 0.552 GB, free: 76.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001504/0.9163, allocations: 11.95 kB / 0.552 GB, free: 76.16 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.389e-05/0.9164, allocations: 19.97 kB / 0.5521 GB, free: 76.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.9164, allocations: 8 kB / 0.5521 GB, free: 76.14 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001672/0.9166, allocations: 210.2 kB / 0.5523 GB, free: 75.93 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.9166, allocations: 0 / 0.5523 GB, free: 75.93 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004558/0.9171, allocations: 99.94 kB / 0.5524 GB, free: 75.84 MB / 378.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002682/0.9173, allocations: 130.8 kB / 0.5525 GB, free: 75.7 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006498/0.918, allocations: 370.4 kB / 0.5528 GB, free: 75.33 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.918, allocations: 0.875 kB / 0.5528 GB, free: 75.33 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001291/0.9181, allocations: 96.05 kB / 0.5529 GB, free: 75.24 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004223/0.9186, allocations: 69.12 kB / 0.553 GB, free: 75.17 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.9198, allocations: 0.6973 MB / 0.5537 GB, free: 74.44 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003622/0.9202, allocations: 0.858 MB / 0.5545 GB, free: 73.55 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002048/0.9204, allocations: 70.91 kB / 0.5546 GB, free: 73.49 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.338e-05/0.9205, allocations: 31.42 kB / 0.5546 GB, free: 73.46 MB / 378.7 MB Notification: Performance of SimCode: time 4.51e-07/0.9205, allocations: 0 / 0.5546 GB, free: 73.46 MB / 378.7 MB Notification: Performance of Templates: time 0.008216/0.9287, allocations: 3.549 MB / 0.5581 GB, free: 69.94 MB / 378.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)