Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.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.AC1ph_DC.Transformation.OnePhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase") translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009275/0.0009275, allocations: 179.4 kB / 17.4 MB, free: 4.297 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.402/1.402, allocations: 194.5 MB / 212.6 MB, free: 2.844 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.001764/0.001765, allocations: 127.9 kB / 257.9 MB, free: 4.238 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1786/0.1786, allocations: 38.01 MB / 341.1 MB, free: 1.172 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003546/0.0003546, allocations: 12 kB / 405 MB, free: 68.47 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09567/0.09604, allocations: 53.23 MB / 458.3 MB, free: 15.23 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3599/0.456, allocations: 93.9 MB / 0.5392 GB, free: 1 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002153/0.4563, allocations: 99.38 kB / 0.5393 GB, free: 0.9492 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02988/0.4861, allocations: 10.85 MB / 0.5499 GB, free: 7.562 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4862, allocations: 0 / 0.5499 GB, free: 7.562 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.927e-05/0.4862, allocations: 19.98 kB / 0.5499 GB, free: 7.543 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001507/0.4878, allocations: 0.7432 MB / 0.5507 GB, free: 6.785 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.4878, allocations: 12.03 kB / 0.5507 GB, free: 6.773 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001509/0.488, allocations: 56.28 kB / 0.5507 GB, free: 6.719 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001477/0.4895, allocations: 0.7761 MB / 0.5515 GB, free: 6.027 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.397e-05/0.4895, allocations: 31 kB / 0.5515 GB, free: 6.004 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.825e-05/0.4896, allocations: 41 kB / 0.5515 GB, free: 5.977 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000732/0.4903, allocations: 0.4921 MB / 0.552 GB, free: 5.582 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.4904, allocations: 3.938 kB / 0.552 GB, free: 5.578 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.711e-05/0.4904, allocations: 21.5 kB / 0.5521 GB, free: 5.57 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.595e-05/0.4904, allocations: 20.98 kB / 0.5521 GB, free: 5.551 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005614/0.491, allocations: 359.2 kB / 0.5524 GB, free: 5.305 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002608/0.4936, allocations: 2.101 MB / 0.5545 GB, free: 3.344 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003917/0.494, allocations: 230.6 kB / 0.5547 GB, free: 3.164 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000259/0.4943, allocations: 137.7 kB / 0.5548 GB, free: 3.059 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.4943, allocations: 7.984 kB / 0.5548 GB, free: 3.051 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.4944, allocations: 34.56 kB / 0.5549 GB, free: 3.008 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 1.763e-06/0.4944, allocations: 0 / 0.5549 GB, free: 3.008 MB / 362.7 MB Notification: Performance of matching and sorting (n=23): time 0.001299/0.4957, allocations: 0.7574 MB / 0.5556 GB, free: 2.328 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.883e-05/0.4958, allocations: 85.05 kB / 0.5557 GB, free: 2.227 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003985/0.4962, allocations: 381.2 kB / 0.556 GB, free: 1.918 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.37e-05/0.4962, allocations: 29.45 kB / 0.5561 GB, free: 1.887 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001933/0.4964, allocations: 286.6 kB / 0.5563 GB, free: 1.66 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.463e-05/0.4965, allocations: 87.95 kB / 0.5564 GB, free: 1.586 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.493e-05/0.4965, allocations: 10.88 kB / 0.5564 GB, free: 1.582 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.4967, allocations: 351.8 kB / 0.5568 GB, free: 1.246 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/0.4968, allocations: 83.64 kB / 0.5569 GB, free: 1.188 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002552/0.4971, allocations: 277.2 kB / 0.5571 GB, free: 0.8711 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004599/0.4976, allocations: 403.1 kB / 0.5575 GB, free: 480 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/0.4976, allocations: 3.938 kB / 0.5575 GB, free: 476 kB / 362.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006947/0.4983, allocations: 452.3 kB / 0.5579 GB, free: 104 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.4983, allocations: 8 kB / 0.5579 GB, free: 96 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/0.4983, allocations: 8 kB / 0.558 GB, free: 88 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002088/0.4985, allocations: 55.64 kB / 0.558 GB, free: 40 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002676/0.4988, allocations: 79.84 kB / 0.5581 GB, free: 15.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001547/0.5004, allocations: 1.492 MB / 0.5595 GB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002279/0.5006, allocations: 18.19 kB / 0.5596 GB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.371e-05/0.5007, allocations: 23.19 kB / 0.5596 GB, free: 14.43 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,trafo.tap_2_internal,trafo.tap_1_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002913/0.501, allocations: 204.2 kB / 0.5598 GB, free: 14.26 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.143e-05/0.501, allocations: 39.53 kB / 0.5598 GB, free: 14.22 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000426/0.5015, allocations: 238.2 kB / 0.56 GB, free: 14.05 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.5015, allocations: 0 / 0.56 GB, free: 14.05 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.5015, allocations: 4 kB / 0.56 GB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.5015, allocations: 0 / 0.56 GB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001022/0.5025, allocations: 0.6767 MB / 0.5607 GB, free: 13.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.5025, allocations: 0 / 0.5607 GB, free: 13.44 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002449/0.5028, allocations: 55.84 kB / 0.5608 GB, free: 13.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.5028, allocations: 0 / 0.5608 GB, free: 13.39 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.743e-05/0.5028, allocations: 7.812 kB / 0.5608 GB, free: 13.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.5029, allocations: 4 kB / 0.5608 GB, free: 13.38 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.5029, allocations: 0 / 0.5608 GB, free: 13.38 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005513/0.5034, allocations: 447.8 kB / 0.5612 GB, free: 13.01 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001464/0.5036, allocations: 119.9 kB / 0.5613 GB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.465e-05/0.5036, allocations: 2.875 kB / 0.5613 GB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/0.5038, allocations: 11.36 kB / 0.5613 GB, free: 12.87 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.253e-05/0.5038, allocations: 26.66 kB / 0.5613 GB, free: 12.85 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.521e-05/0.5039, allocations: 4 kB / 0.5613 GB, free: 12.84 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002791/0.5042, allocations: 257.1 kB / 0.5616 GB, free: 12.64 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5042, allocations: 0 / 0.5616 GB, free: 12.64 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005297/0.5047, allocations: 109.2 kB / 0.5617 GB, free: 12.54 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (trafo.i1) * 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 (24): * Single equations (assignments): 23 * 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.0002573/0.505, allocations: 133.3 kB / 0.5618 GB, free: 12.41 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006241/0.5056, allocations: 376.4 kB / 0.5622 GB, free: 12.09 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.5056, allocations: 4.25 kB / 0.5622 GB, free: 12.09 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001394/0.5058, allocations: 93.16 kB / 0.5623 GB, free: 12.02 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006375/0.5064, allocations: 92.55 kB / 0.5624 GB, free: 11.96 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001656/0.5081, allocations: 1.042 MB / 0.5634 GB, free: 10.95 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005041/0.5086, allocations: 0.8545 MB / 0.5642 GB, free: 10.08 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003073/0.5089, allocations: 84.12 kB / 0.5643 GB, free: 9.996 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.422e-05/0.509, allocations: 27.44 kB / 0.5643 GB, free: 9.969 MB / 378.7 MB Notification: Performance of SimCode: time 5.91e-07/0.509, allocations: 4 kB / 0.5643 GB, free: 9.965 MB / 378.7 MB Notification: Performance of Templates: time 0.008938/0.5179, allocations: 3.735 MB / 0.568 GB, free: 6.242 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe 2>&1)