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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001522/0.001528, allocations: 111.6 kB / 17.68 MB, free: 5.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001563/0.001563, allocations: 190.9 kB / 18.62 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.764/1.764, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1769/0.1769, allocations: 37.98 MB / 309.8 MB, free: 5.969 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00154/0.00154, allocations: 67.89 kB / 376.8 MB, free: 2.906 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2699/0.2715, allocations: 55.24 MB / 432 MB, free: 19.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.006104/0.2776, allocations: 5.501 MB / 437.5 MB, free: 13.98 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002082/0.2798, allocations: 1.349 MB / 438.9 MB, free: 12.63 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002358/0.28, allocations: 19.88 kB / 438.9 MB, free: 12.61 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004261/0.2804, allocations: 131 kB / 439 MB, free: 12.48 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006958/0.2812, allocations: 370.3 kB / 439.4 MB, free: 12.12 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000264/0.2815, allocations: 135.8 kB / 439.5 MB, free: 11.98 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005618/0.282, allocations: 0.7476 MB / 440.3 MB, free: 11.23 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002656/0.2823, allocations: 216.1 kB / 440.5 MB, free: 11.01 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003579/0.2827, allocations: 330.6 kB / 440.8 MB, free: 10.69 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005005/0.2832, allocations: 378.7 kB / 441.2 MB, free: 10.32 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.86e-05/0.2832, allocations: 40 kB / 441.2 MB, free: 10.28 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.393e-05/0.2833, allocations: 36 kB / 441.2 MB, free: 10.24 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001535/0.2835, allocations: 199.5 kB / 441.4 MB, free: 10.05 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001921/0.2837, allocations: 254.7 kB / 441.7 MB, free: 9.797 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003988/0.2841, allocations: 0.5255 MB / 442.2 MB, free: 9.27 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.543e-06/0.2841, allocations: 0 / 442.2 MB, free: 9.27 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.2841, allocations: 0 / 442.2 MB, free: 9.27 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.2841, allocations: 0 / 442.2 MB, free: 9.27 MB / 318.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.001143/0.2853, allocations: 0.8007 MB / 443 MB, free: 8.422 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.2853, allocations: 15.88 kB / 443 MB, free: 8.406 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.284e-05/0.2854, allocations: 56.28 kB / 443.1 MB, free: 8.352 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000704/0.2861, allocations: 488.4 kB / 443.6 MB, free: 7.836 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.552e-05/0.2862, allocations: 32.94 kB / 443.6 MB, free: 7.805 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.409e-05/0.2862, allocations: 39.98 kB / 443.6 MB, free: 7.766 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005764/0.2868, allocations: 0.5039 MB / 444.1 MB, free: 7.227 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.876e-05/0.2868, allocations: 3.984 kB / 444.1 MB, free: 7.223 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.809e-05/0.2869, allocations: 16 kB / 444.1 MB, free: 7.207 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.481e-05/0.2869, allocations: 17 kB / 444.2 MB, free: 7.191 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004499/0.2874, allocations: 375.6 kB / 444.5 MB, free: 6.824 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002053/0.2894, allocations: 2.067 MB / 446.6 MB, free: 4.613 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003516/0.2898, allocations: 237.4 kB / 446.8 MB, free: 4.363 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002044/0.29, allocations: 133.7 kB / 447 MB, free: 4.227 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.573e-05/0.2901, allocations: 0 / 447 MB, free: 4.227 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.2901, allocations: 42.56 kB / 447 MB, free: 4.176 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 1.213e-06/0.2901, allocations: 3.938 kB / 447 MB, free: 4.172 MB / 318.1 MB Notification: Performance of matching and sorting (n=23): time 0.001089/0.2912, allocations: 0.7511 MB / 447.8 MB, free: 3.367 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.061e-05/0.2912, allocations: 85.05 kB / 447.8 MB, free: 3.266 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003039/0.2916, allocations: 389.3 kB / 448.2 MB, free: 2.871 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.2916, allocations: 25.7 kB / 448.2 MB, free: 2.84 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.2917, allocations: 295.1 kB / 448.5 MB, free: 2.547 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.308e-05/0.2918, allocations: 82.89 kB / 448.6 MB, free: 2.465 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.109e-05/0.2919, allocations: 78.05 kB / 448.7 MB, free: 2.383 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.263e-05/0.2919, allocations: 346.8 kB / 449 MB, free: 2.035 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/0.2921, allocations: 88.81 kB / 449.1 MB, free: 1.949 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002015/0.2923, allocations: 281.2 kB / 449.4 MB, free: 1.59 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003755/0.2926, allocations: 404.2 kB / 449.8 MB, free: 1.105 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.2927, allocations: 4 kB / 449.8 MB, free: 1.102 MB / 318.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000632/0.2933, allocations: 449.9 kB / 450.2 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.92e-05/0.2933, allocations: 8 kB / 450.2 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.552e-05/0.2934, allocations: 8 kB / 450.2 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002765/0.2936, allocations: 48.83 kB / 450.3 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002439/0.2939, allocations: 83.84 kB / 450.4 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001546/0.2955, allocations: 1.618 MB / 452 MB, free: 14.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002132/0.2957, allocations: 16 kB / 452 MB, free: 14.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.78e-05/0.2957, allocations: 24.06 kB / 452 MB, free: 14.71 MB / 334.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 () * 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 (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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003319/0.2961, allocations: 205.5 kB / 452.2 MB, free: 14.5 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.75e-05/0.2961, allocations: 39.47 kB / 452.3 MB, free: 14.46 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004253/0.2966, allocations: 237.1 kB / 452.5 MB, free: 14.22 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.2966, allocations: 4 kB / 452.5 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.2966, allocations: 0 / 452.5 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.2966, allocations: 0 / 452.5 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00109/0.2977, allocations: 0.6944 MB / 453.2 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.2977, allocations: 0 / 453.2 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002486/0.298, allocations: 51.91 kB / 453.2 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.397e-06/0.298, allocations: 7.984 kB / 453.3 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.033e-05/0.298, allocations: 4 kB / 453.3 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.298, allocations: 3.938 kB / 453.3 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.298, allocations: 4 kB / 453.3 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005849/0.2986, allocations: 444.9 kB / 453.7 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001836/0.2988, allocations: 128.5 kB / 453.8 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.804e-05/0.2989, allocations: 7.938 kB / 453.8 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001372/0.299, allocations: 7.984 kB / 453.8 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.699e-05/0.2991, allocations: 15.98 kB / 453.9 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.409e-05/0.2991, allocations: 4 kB / 453.9 MB, free: 12.75 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002739/0.2994, allocations: 259.2 kB / 454.1 MB, free: 12.5 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2994, allocations: 4 kB / 454.1 MB, free: 12.5 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004336/0.2998, allocations: 84 kB / 454.2 MB, free: 12.42 MB / 334.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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001376/0.2999, allocations: 103.2 kB / 454.3 MB, free: 12.31 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007156/0.3007, allocations: 394.8 kB / 454.7 MB, free: 11.91 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.3007, allocations: 0 / 454.7 MB, free: 11.91 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001374/0.3008, allocations: 95.83 kB / 454.8 MB, free: 11.82 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006257/0.3015, allocations: 103.9 kB / 454.9 MB, free: 11.72 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001579/0.3031, allocations: 0.8385 MB / 455.7 MB, free: 10.84 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000638/0.3037, allocations: 0.8584 MB / 456.6 MB, free: 9.961 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002563/0.304, allocations: 84.12 kB / 456.7 MB, free: 9.879 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.27e-05/0.3041, allocations: 31.44 kB / 456.7 MB, free: 9.852 MB / 334.1 MB Notification: Performance of SimCode: time 7.71e-07/0.3041, allocations: 4 kB / 456.7 MB, free: 9.848 MB / 334.1 MB Notification: Performance of Templates: time 0.009309/0.3134, allocations: 3.561 MB / 460.3 MB, free: 6.309 MB / 334.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 -s cvode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe 2>&1)