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.001578/0.001578, allocations: 116.5 kB / 17.7 MB, free: 5.438 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.001852/0.001852, allocations: 191 kB / 18.63 MB, free: 4.508 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.371/1.371, allocations: 205.1 MB / 224.5 MB, free: 12.28 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1765/0.1765, allocations: 37.98 MB / 309.8 MB, free: 5.988 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.001514/0.001514, allocations: 63.91 kB / 376.8 MB, free: 2.934 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.264/0.2656, allocations: 55.25 MB / 432 MB, free: 19.51 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.005805/0.2714, allocations: 5.497 MB / 437.5 MB, free: 13.99 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001916/0.2734, allocations: 1.353 MB / 438.9 MB, free: 12.63 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002091/0.2736, allocations: 15.88 kB / 438.9 MB, free: 12.62 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004098/0.274, allocations: 127.1 kB / 439 MB, free: 12.49 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007063/0.2748, allocations: 374.2 kB / 439.4 MB, free: 12.12 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002668/0.275, allocations: 135.8 kB / 439.5 MB, free: 11.99 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005289/0.2756, allocations: 0.7554 MB / 440.3 MB, free: 11.23 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002556/0.2759, allocations: 208.1 kB / 440.5 MB, free: 11.02 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003302/0.2762, allocations: 330.6 kB / 440.8 MB, free: 10.7 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004652/0.2767, allocations: 382.7 kB / 441.2 MB, free: 10.32 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.079e-05/0.2767, allocations: 36 kB / 441.2 MB, free: 10.29 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.679e-05/0.2768, allocations: 36 kB / 441.2 MB, free: 10.25 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001449/0.2769, allocations: 199.5 kB / 441.4 MB, free: 10.05 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001904/0.2771, allocations: 246.8 kB / 441.7 MB, free: 9.812 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003993/0.2776, allocations: 0.5332 MB / 442.2 MB, free: 9.277 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.2776, allocations: 0 / 442.2 MB, free: 9.277 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2776, allocations: 0 / 442.2 MB, free: 9.277 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.697e-06/0.2776, allocations: 4 kB / 442.2 MB, free: 9.273 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.001219/0.2788, allocations: 0.7986 MB / 443 MB, free: 8.43 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.2789, allocations: 15.89 kB / 443 MB, free: 8.414 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.345e-05/0.2789, allocations: 56.22 kB / 443.1 MB, free: 8.359 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007048/0.2797, allocations: 492.3 kB / 443.6 MB, free: 7.84 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.2797, allocations: 32.94 kB / 443.6 MB, free: 7.809 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.645e-05/0.2798, allocations: 39.98 kB / 443.6 MB, free: 7.77 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005964/0.2804, allocations: 0.4961 MB / 444.1 MB, free: 7.238 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.75e-05/0.2804, allocations: 3.938 kB / 444.1 MB, free: 7.234 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.708e-05/0.2804, allocations: 16 kB / 444.2 MB, free: 7.219 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.144e-05/0.2805, allocations: 24.98 kB / 444.2 MB, free: 7.195 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004475/0.2809, allocations: 363.7 kB / 444.5 MB, free: 6.84 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001959/0.2829, allocations: 2.071 MB / 446.6 MB, free: 4.625 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003641/0.2833, allocations: 245.3 kB / 446.8 MB, free: 4.367 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002152/0.2835, allocations: 129.7 kB / 447 MB, free: 4.234 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.025e-05/0.2835, allocations: 0 / 447 MB, free: 4.234 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.2836, allocations: 42.55 kB / 447 MB, free: 4.184 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 1.603e-06/0.2836, allocations: 0 / 447 MB, free: 4.184 MB / 318.1 MB Notification: Performance of matching and sorting (n=23): time 0.001111/0.2847, allocations: 0.7549 MB / 447.8 MB, free: 3.375 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.641e-05/0.2847, allocations: 81.11 kB / 447.8 MB, free: 3.277 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000278/0.285, allocations: 385.4 kB / 448.2 MB, free: 2.887 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.285, allocations: 33.69 kB / 448.3 MB, free: 2.848 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001394/0.2852, allocations: 287.2 kB / 448.5 MB, free: 2.562 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.542e-05/0.2852, allocations: 82.89 kB / 448.6 MB, free: 2.48 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.975e-05/0.2853, allocations: 82.03 kB / 448.7 MB, free: 2.395 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.887e-05/0.2854, allocations: 350.8 kB / 449 MB, free: 2.043 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001162/0.2855, allocations: 84.83 kB / 449.1 MB, free: 1.961 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001685/0.2857, allocations: 277.2 kB / 449.4 MB, free: 1.605 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003191/0.286, allocations: 412.2 kB / 449.8 MB, free: 1.113 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.286, allocations: 4 kB / 449.8 MB, free: 1.109 MB / 318.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005817/0.2866, allocations: 449.9 kB / 450.2 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.2867, allocations: 8 kB / 450.2 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.2867, allocations: 8 kB / 450.3 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002015/0.2869, allocations: 48.83 kB / 450.3 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002312/0.2871, allocations: 87.83 kB / 450.4 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001404/0.2885, allocations: 1.61 MB / 452 MB, free: 14.76 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001957/0.2888, allocations: 19.98 kB / 452 MB, free: 14.74 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.557e-05/0.2888, allocations: 20.06 kB / 452 MB, free: 14.72 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.0002379/0.289, allocations: 205.6 kB / 452.2 MB, free: 14.51 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.544e-05/0.2891, allocations: 47.39 kB / 452.3 MB, free: 14.46 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004415/0.2895, allocations: 237 kB / 452.5 MB, free: 14.22 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.2896, allocations: 4 kB / 452.5 MB, free: 14.22 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-06/0.2896, allocations: 0 / 452.5 MB, free: 14.22 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.2896, allocations: 0 / 452.5 MB, free: 14.22 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009656/0.2906, allocations: 0.6944 MB / 453.2 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.2906, allocations: 0 / 453.2 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002489/0.2908, allocations: 51.91 kB / 453.3 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.2908, allocations: 4 kB / 453.3 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/0.2909, allocations: 0 / 453.3 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.389e-06/0.2909, allocations: 4 kB / 453.3 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2909, allocations: 0 / 453.3 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005791/0.2915, allocations: 448.8 kB / 453.7 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000162/0.2916, allocations: 128.6 kB / 453.8 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.694e-05/0.2917, allocations: 4 kB / 453.8 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.2918, allocations: 8.125 kB / 453.8 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.82e-05/0.2919, allocations: 15.98 kB / 453.9 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.625e-05/0.2919, allocations: 8 kB / 453.9 MB, free: 12.77 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002452/0.2921, allocations: 259.1 kB / 454.1 MB, free: 12.52 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2921, allocations: 4.062 kB / 454.1 MB, free: 12.51 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004239/0.2926, allocations: 88 kB / 454.2 MB, free: 12.43 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.0001151/0.2927, allocations: 106.6 kB / 454.3 MB, free: 12.32 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006731/0.2934, allocations: 398.9 kB / 454.7 MB, free: 11.91 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.2934, allocations: 0 / 454.7 MB, free: 11.91 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001372/0.2935, allocations: 91.91 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.0005768/0.2941, allocations: 96.81 kB / 454.9 MB, free: 11.73 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001408/0.2955, allocations: 0.8462 MB / 455.7 MB, free: 10.85 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005215/0.2961, allocations: 0.8545 MB / 456.6 MB, free: 9.973 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002256/0.2963, allocations: 84.12 kB / 456.7 MB, free: 9.891 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.37e-05/0.2964, allocations: 31.44 kB / 456.7 MB, free: 9.863 MB / 334.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2964, allocations: 4 kB / 456.7 MB, free: 9.859 MB / 334.1 MB Notification: Performance of Templates: time 0.008335/0.3047, allocations: 3.553 MB / 460.3 MB, free: 6.324 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 gbode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe 2>&1)