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.001098/0.001098, allocations: 178.4 kB / 16.38 MB, free: 5.762 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.179/1.179, allocations: 194.5 MB / 211.6 MB, free: 3.059 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.001613/0.001613, allocations: 110.6 kB / 256.9 MB, free: 4.383 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1627/0.1627, allocations: 38.01 MB / 340.1 MB, free: 1.359 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000329/0.000329, allocations: 12 kB / 403.8 MB, free: 68.8 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07971/0.08006, allocations: 53.23 MB / 457 MB, free: 15.56 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3064/0.3865, allocations: 93.87 MB / 0.538 GB, free: 1.477 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002322/0.3868, allocations: 100.5 kB / 0.5381 GB, free: 1.422 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02778/0.4146, allocations: 10.89 MB / 0.5487 GB, free: 8.008 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.4146, allocations: 192 / 0.5487 GB, free: 8.008 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.543e-05/0.4146, allocations: 23.92 kB / 0.5487 GB, free: 7.984 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.001165/0.4158, allocations: 0.7476 MB / 0.5494 GB, free: 7.223 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.4159, allocations: 12.02 kB / 0.5495 GB, free: 7.211 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.981e-05/0.416, allocations: 51.34 kB / 0.5495 GB, free: 7.16 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002869/0.4189, allocations: 1.198 MB / 0.5507 GB, free: 6.102 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.032e-05/0.4189, allocations: 29.56 kB / 0.5507 GB, free: 6.082 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.139e-05/0.419, allocations: 45.75 kB / 0.5507 GB, free: 6.051 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006848/0.4197, allocations: 0.4889 MB / 0.5512 GB, free: 5.656 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.4197, allocations: 7.938 kB / 0.5512 GB, free: 5.648 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.747e-05/0.4197, allocations: 17.81 kB / 0.5513 GB, free: 5.645 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.26e-05/0.4198, allocations: 24.98 kB / 0.5513 GB, free: 5.621 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004958/0.4203, allocations: 359.2 kB / 0.5516 GB, free: 5.375 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00224/0.4225, allocations: 2.081 MB / 0.5537 GB, free: 3.434 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003594/0.4229, allocations: 241.8 kB / 0.5539 GB, free: 3.242 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.408e-05/0.4229, allocations: 192 / 0.5539 GB, free: 3.242 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.4229, allocations: 42 kB / 0.5539 GB, free: 3.195 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 1.412e-06/0.423, allocations: 0 / 0.5539 GB, free: 3.195 MB / 362.7 MB Notification: Performance of matching and sorting (n=23): time 0.001437/0.4244, allocations: 0.9498 MB / 0.5548 GB, free: 2.293 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.744e-05/0.4245, allocations: 89 kB / 0.5549 GB, free: 2.188 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003187/0.4248, allocations: 342.5 kB / 0.5553 GB, free: 1.906 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.4248, allocations: 25.7 kB / 0.5553 GB, free: 1.875 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001604/0.425, allocations: 291.8 kB / 0.5556 GB, free: 1.645 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.714e-05/0.4251, allocations: 85.41 kB / 0.5556 GB, free: 1.574 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.835e-05/0.4251, allocations: 7.375 kB / 0.5557 GB, free: 1.57 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.4252, allocations: 348.2 kB / 0.556 GB, free: 1.238 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001305/0.4253, allocations: 89.75 kB / 0.5561 GB, free: 1.176 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002364/0.4256, allocations: 274.8 kB / 0.5563 GB, free: 0.8633 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001836/0.4258, allocations: 138.2 kB / 0.5565 GB, free: 0.7695 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.4258, allocations: 4 kB / 0.5565 GB, free: 0.7656 MB / 362.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006063/0.4264, allocations: 465.8 kB / 0.5569 GB, free: 404 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.4264, allocations: 4 kB / 0.5569 GB, free: 400 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.4264, allocations: 8 kB / 0.5569 GB, free: 392 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002082/0.4267, allocations: 66.66 kB / 0.557 GB, free: 332 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002301/0.4269, allocations: 83.22 kB / 0.5571 GB, free: 252 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001391/0.4283, allocations: 1.609 MB / 0.5586 GB, free: 14.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001991/0.4285, allocations: 26.84 kB / 0.5587 GB, free: 14.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.425e-05/0.4285, allocations: 17.06 kB / 0.5587 GB, free: 14.64 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 (45): * Single equations (assignments): 44 * 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%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000238/0.4288, allocations: 208.6 kB / 0.5589 GB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.362e-05/0.4288, allocations: 35.53 kB / 0.5589 GB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004395/0.4293, allocations: 340.3 kB / 0.5592 GB, free: 14.14 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.4293, allocations: 8 kB / 0.5592 GB, free: 14.14 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.4293, allocations: 0 / 0.5592 GB, free: 14.14 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.4293, allocations: 0 / 0.5592 GB, free: 14.14 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001172/0.4305, allocations: 0.7796 MB / 0.56 GB, free: 13.42 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.4305, allocations: 3.984 kB / 0.56 GB, free: 13.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002683/0.4308, allocations: 47.66 kB / 0.5601 GB, free: 13.37 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.663e-05/0.4309, allocations: 18.95 kB / 0.5601 GB, free: 13.35 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.957e-05/0.4309, allocations: 11.38 kB / 0.5601 GB, free: 13.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001068/0.432, allocations: 1.384 MB / 0.5614 GB, free: 11.88 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.706e-06/0.432, allocations: 3.984 kB / 0.5614 GB, free: 11.88 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006519/0.4327, allocations: 0.5482 MB / 0.562 GB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000151/0.4329, allocations: 119.9 kB / 0.5621 GB, free: 11.24 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.396e-05/0.4329, allocations: 7.375 kB / 0.5621 GB, free: 11.24 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001715/0.4331, allocations: 7.359 kB / 0.5621 GB, free: 11.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.477e-05/0.4331, allocations: 23.31 kB / 0.5621 GB, free: 11.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.716e-05/0.4332, allocations: 4 kB / 0.5621 GB, free: 11.21 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002818/0.4335, allocations: 254.3 kB / 0.5624 GB, free: 11.01 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.2e-07/0.4335, allocations: 4.062 kB / 0.5624 GB, free: 11 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006245/0.4341, allocations: 102.3 kB / 0.5625 GB, free: 10.91 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 (23): * Single equations (assignments): 21 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002412/0.4344, allocations: 134.5 kB / 0.5626 GB, free: 10.78 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006768/0.435, allocations: 400.9 kB / 0.563 GB, free: 10.44 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.4351, allocations: 0 / 0.563 GB, free: 10.44 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002569/0.4353, allocations: 211.1 kB / 0.5632 GB, free: 10.25 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005143/0.4358, allocations: 88.14 kB / 0.5633 GB, free: 10.19 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001517/0.4374, allocations: 1.022 MB / 0.5643 GB, free: 9.199 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004903/0.4379, allocations: 0.8749 MB / 0.5651 GB, free: 8.312 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003111/0.4382, allocations: 80.14 kB / 0.5652 GB, free: 8.234 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.075e-05/0.4383, allocations: 35.42 kB / 0.5652 GB, free: 8.199 MB / 378.7 MB Notification: Performance of SimCode: time 3.3e-07/0.4383, allocations: 0 / 0.5652 GB, free: 8.199 MB / 378.7 MB Notification: Performance of Templates: time 0.008692/0.447, allocations: 3.851 MB / 0.569 GB, free: 4.363 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)