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.0009935/0.0009933, allocations: 183.1 kB / 8.351 MB, free: 0.7031 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.316/1.316, allocations: 194.3 MB / 203.1 MB, free: 9.254 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001736/0.001736, allocations: 118.9 kB / 248.1 MB, free: 6.344 MB / 203.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1741/0.1741, allocations: 37.92 MB / 330.9 MB, free: 7.309 MB / 283.1 MB Notification: Performance of FrontEnd - loaded program: time 1.52e-05/1.523e-05, allocations: 0 / 390.4 MB, free: 78.23 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08725/0.08728, allocations: 53.25 MB / 443.6 MB, free: 25.1 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3509/0.4382, allocations: 93.11 MB / 0.5241 GB, free: 10.12 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002257/0.4385, allocations: 89.72 kB / 0.5242 GB, free: 10.1 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02824/0.4668, allocations: 10.78 MB / 0.5347 GB, free: 5.102 MB / 347.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4668, allocations: 0 / 0.5347 GB, free: 5.102 MB / 347.1 MB Notification: Performance of Transformations before backend: time 3.989e-05/0.4669, allocations: 16 kB / 0.5348 GB, free: 5.086 MB / 347.1 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.001173/0.468, allocations: 0.6883 MB / 0.5354 GB, free: 4.383 MB / 347.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.4681, allocations: 15.97 kB / 0.5354 GB, free: 4.367 MB / 347.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001718/0.4683, allocations: 51.34 kB / 0.5355 GB, free: 4.316 MB / 347.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003063/0.4713, allocations: 1.183 MB / 0.5366 GB, free: 3.301 MB / 347.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.4714, allocations: 12 kB / 0.5367 GB, free: 3.289 MB / 347.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.566e-05/0.4715, allocations: 20.69 kB / 0.5367 GB, free: 3.27 MB / 347.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004827/0.4719, allocations: 326.1 kB / 0.537 GB, free: 3.059 MB / 347.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000552/0.4725, allocations: 445.1 kB / 0.5374 GB, free: 2.684 MB / 347.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.4725, allocations: 3.938 kB / 0.5374 GB, free: 2.68 MB / 347.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.096e-05/0.4726, allocations: 0 / 0.5374 GB, free: 2.68 MB / 347.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.813e-05/0.4726, allocations: 16.78 kB / 0.5374 GB, free: 2.664 MB / 347.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002023/0.4746, allocations: 2.011 MB / 0.5394 GB, free: 0.793 MB / 347.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003355/0.475, allocations: 229 kB / 0.5396 GB, free: 0.6133 MB / 347.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001952/0.4752, allocations: 124.6 kB / 0.5397 GB, free: 0.5195 MB / 347.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.4752, allocations: 192 / 0.5397 GB, free: 0.5195 MB / 347.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.714e-05/0.4753, allocations: 38.19 kB / 0.5398 GB, free: 488 kB / 347.1 MB Notification: Performance of pre-optimization done (n=22): time 1.272e-06/0.4753, allocations: 0 / 0.5398 GB, free: 488 kB / 347.1 MB Notification: Performance of matching and sorting (n=23): time 0.0009313/0.4762, allocations: 0.6548 MB / 0.5404 GB, free: 15.85 MB / 363.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.345e-05/0.4763, allocations: 84.98 kB / 0.5405 GB, free: 15.75 MB / 363.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003377/0.4766, allocations: 307.2 kB / 0.5408 GB, free: 15.5 MB / 363.1 MB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.4766, allocations: 25.7 kB / 0.5408 GB, free: 15.47 MB / 363.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001663/0.4768, allocations: 285.3 kB / 0.5411 GB, free: 15.24 MB / 363.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.933e-05/0.4769, allocations: 80.75 kB / 0.5412 GB, free: 15.17 MB / 363.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.171e-05/0.4769, allocations: 0 / 0.5412 GB, free: 15.17 MB / 363.1 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.4771, allocations: 359.3 kB / 0.5415 GB, free: 14.82 MB / 363.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001238/0.4772, allocations: 74.48 kB / 0.5416 GB, free: 14.78 MB / 363.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002411/0.4774, allocations: 256.6 kB / 0.5418 GB, free: 14.48 MB / 363.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001864/0.4776, allocations: 122.2 kB / 0.5419 GB, free: 14.39 MB / 363.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.4776, allocations: 0 / 0.5419 GB, free: 14.39 MB / 363.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006545/0.4783, allocations: 389.6 kB / 0.5423 GB, free: 14.06 MB / 363.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.4783, allocations: 8 kB / 0.5423 GB, free: 14.05 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.4783, allocations: 4 kB / 0.5423 GB, free: 14.05 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002187/0.4786, allocations: 63.34 kB / 0.5424 GB, free: 14 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002637/0.4789, allocations: 83.83 kB / 0.5425 GB, free: 13.91 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001341/0.4802, allocations: 1.442 MB / 0.5439 GB, free: 12.48 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002253/0.4804, allocations: 8 kB / 0.5439 GB, free: 12.47 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.269e-05/0.4805, allocations: 19.94 kB / 0.5439 GB, free: 12.46 MB / 363.1 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 () * 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.0001143/0.4806, allocations: 127.6 kB / 0.544 GB, free: 12.33 MB / 363.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.311e-05/0.4807, allocations: 35.53 kB / 0.544 GB, free: 12.3 MB / 363.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003302/0.481, allocations: 218 kB / 0.5443 GB, free: 12.12 MB / 363.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.97e-05/0.4811, allocations: 7.953 kB / 0.5443 GB, free: 12.12 MB / 363.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.4811, allocations: 3.938 kB / 0.5443 GB, free: 12.11 MB / 363.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.4811, allocations: 0 / 0.5443 GB, free: 12.11 MB / 363.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007665/0.4819, allocations: 0.5965 MB / 0.5448 GB, free: 11.59 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.267e-06/0.4819, allocations: 0 / 0.5448 GB, free: 11.59 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002515/0.4821, allocations: 47.91 kB / 0.5449 GB, free: 11.54 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.4821, allocations: 4 kB / 0.5449 GB, free: 11.54 MB / 363.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.956e-05/0.4822, allocations: 3.953 kB / 0.5449 GB, free: 11.53 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.87e-06/0.4822, allocations: 4 kB / 0.5449 GB, free: 11.53 MB / 363.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.4822, allocations: 0 / 0.5449 GB, free: 11.53 MB / 363.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004734/0.4827, allocations: 446.6 kB / 0.5453 GB, free: 11.14 MB / 363.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001173/0.4828, allocations: 120.6 kB / 0.5454 GB, free: 11 MB / 363.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.04e-05/0.4828, allocations: 0 / 0.5454 GB, free: 11 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/0.483, allocations: 4 kB / 0.5454 GB, free: 11 MB / 363.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.098e-05/0.483, allocations: 15.47 kB / 0.5455 GB, free: 10.99 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/0.4831, allocations: 12.19 kB / 0.5455 GB, free: 10.98 MB / 363.1 MB Notification: Performance of sorting global known variables: time 0.0002925/0.4834, allocations: 232.7 kB / 0.5457 GB, free: 10.8 MB / 363.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4834, allocations: 0 / 0.5457 GB, free: 10.8 MB / 363.1 MB Notification: Performance of remove unused functions: time 0.0004893/0.4839, allocations: 87.94 kB / 0.5458 GB, free: 10.71 MB / 363.1 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 () * 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.0002159/0.4841, allocations: 134.9 kB / 0.5459 GB, free: 10.57 MB / 363.1 MB Notification: Performance of simCode: created initialization part: time 0.0005638/0.4847, allocations: 352 kB / 0.5462 GB, free: 10.28 MB / 363.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.4847, allocations: 0 / 0.5462 GB, free: 10.28 MB / 363.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001235/0.4848, allocations: 82.92 kB / 0.5463 GB, free: 10.22 MB / 363.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005278/0.4853, allocations: 88.83 kB / 0.5464 GB, free: 10.16 MB / 363.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/0.4865, allocations: 0.5731 MB / 0.547 GB, free: 9.613 MB / 363.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005114/0.487, allocations: 0.8654 MB / 0.5478 GB, free: 8.734 MB / 363.1 MB Notification: Performance of simCode: alias equations: time 0.0002921/0.4873, allocations: 84.11 kB / 0.5479 GB, free: 8.648 MB / 363.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.236e-05/0.4874, allocations: 35.31 kB / 0.5479 GB, free: 8.617 MB / 363.1 MB Notification: Performance of SimCode: time 2.6e-07/0.4874, allocations: 0 / 0.5479 GB, free: 8.617 MB / 363.1 MB Notification: Performance of Templates: time 0.007968/0.4953, allocations: 3.305 MB / 0.5512 GB, free: 5.348 MB / 363.1 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)