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.0007232/0.0007233, allocations: 92.23 kB / 16.65 MB, free: 6.594 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.0009308/0.0009308, allocations: 185.4 kB / 17.57 MB, free: 6.199 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.566/1.566, allocations: 205.4 MB / 223.7 MB, free: 13.08 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1791/0.1791, allocations: 38.04 MB / 310.1 MB, free: 6 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.0005116/0.0005116, allocations: 15.28 kB / 377.2 MB, free: 2.805 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2814/0.2819, allocations: 56.33 MB / 433.5 MB, free: 18.71 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.005043/0.287, allocations: 6.131 MB / 439.6 MB, free: 12.55 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00215/0.2892, allocations: 1.641 MB / 441.3 MB, free: 10.9 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003126/0.2895, allocations: 35.75 kB / 441.3 MB, free: 10.86 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004092/0.2899, allocations: 119.3 kB / 441.4 MB, free: 10.75 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006396/0.2906, allocations: 346.5 kB / 441.8 MB, free: 10.41 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002368/0.2908, allocations: 119.8 kB / 441.9 MB, free: 10.29 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007281/0.2916, allocations: 1.142 MB / 443 MB, free: 9.145 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002631/0.2919, allocations: 172.1 kB / 443.2 MB, free: 8.965 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003244/0.2922, allocations: 282.5 kB / 443.5 MB, free: 8.688 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004879/0.2927, allocations: 382.7 kB / 443.8 MB, free: 8.312 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.273e-05/0.2927, allocations: 20 kB / 443.8 MB, free: 8.293 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.851e-05/0.2928, allocations: 20 kB / 443.9 MB, free: 8.273 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001456/0.293, allocations: 179.5 kB / 444 MB, free: 8.098 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001828/0.2931, allocations: 256.4 kB / 444.3 MB, free: 7.84 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003361/0.2935, allocations: 0.498 MB / 444.8 MB, free: 7.34 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.2935, allocations: 4 kB / 444.8 MB, free: 7.336 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.2935, allocations: 0 / 444.8 MB, free: 7.336 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.313e-06/0.2935, allocations: 0 / 444.8 MB, free: 7.336 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.001342/0.2949, allocations: 0.723 MB / 445.5 MB, free: 6.566 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.71e-05/0.2949, allocations: 8.031 kB / 445.5 MB, free: 6.559 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.894e-05/0.295, allocations: 52.38 kB / 445.6 MB, free: 6.508 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006532/0.2957, allocations: 460.4 kB / 446 MB, free: 6.023 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.536e-05/0.2958, allocations: 28.94 kB / 446.1 MB, free: 5.996 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.784e-05/0.2958, allocations: 44 kB / 446.1 MB, free: 5.953 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006708/0.2965, allocations: 0.4883 MB / 446.6 MB, free: 5.426 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.2965, allocations: 7.938 kB / 446.6 MB, free: 5.418 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.117e-05/0.2966, allocations: 16 kB / 446.6 MB, free: 5.402 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.289e-05/0.2966, allocations: 24.98 kB / 446.6 MB, free: 5.379 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004779/0.2971, allocations: 367.7 kB / 447 MB, free: 5.02 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00196/0.2991, allocations: 2.087 MB / 449.1 MB, free: 2.789 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003342/0.2994, allocations: 253.2 kB / 449.3 MB, free: 2.523 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001911/0.2997, allocations: 125.7 kB / 449.5 MB, free: 2.395 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.353e-05/0.2997, allocations: 4 kB / 449.5 MB, free: 2.391 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.2997, allocations: 42.5 kB / 449.5 MB, free: 2.34 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 1.422e-06/0.2997, allocations: 4 kB / 449.5 MB, free: 2.336 MB / 318.1 MB Notification: Performance of matching and sorting (n=23): time 0.0009936/0.3007, allocations: 0.7504 MB / 450.2 MB, free: 1.531 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.392e-05/0.3008, allocations: 85.05 kB / 450.3 MB, free: 1.43 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002791/0.301, allocations: 377.5 kB / 450.7 MB, free: 1.051 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.3011, allocations: 33.81 kB / 450.7 MB, free: 1.012 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.3012, allocations: 295 kB / 451 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.322e-05/0.3013, allocations: 78.91 kB / 451.1 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.626e-05/0.3013, allocations: 45.62 kB / 451.1 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.918e-05/0.3014, allocations: 346.8 kB / 451.5 MB, free: 248 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001079/0.3015, allocations: 84.83 kB / 451.6 MB, free: 164 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002403/0.3017, allocations: 281.2 kB / 451.8 MB, free: 15.8 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004254/0.3022, allocations: 400.2 kB / 452.2 MB, free: 15.32 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.071e-05/0.3022, allocations: 4 kB / 452.2 MB, free: 15.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006752/0.3029, allocations: 453.9 kB / 452.7 MB, free: 14.86 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.3029, allocations: 8 kB / 452.7 MB, free: 14.85 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.3029, allocations: 12 kB / 452.7 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001992/0.3031, allocations: 52.83 kB / 452.7 MB, free: 14.79 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002294/0.3034, allocations: 83.83 kB / 452.8 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001329/0.3047, allocations: 1.504 MB / 454.3 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001803/0.3049, allocations: 19.98 kB / 454.4 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.422e-05/0.3049, allocations: 16 kB / 454.4 MB, free: 13.03 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.0002213/0.3052, allocations: 213.6 kB / 454.6 MB, free: 12.81 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.181e-05/0.3052, allocations: 35.53 kB / 454.6 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003595/0.3056, allocations: 241 kB / 454.8 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.3056, allocations: 0 / 454.8 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.3056, allocations: 7.938 kB / 454.9 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.3056, allocations: 3.984 kB / 454.9 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007969/0.3064, allocations: 0.6749 MB / 455.5 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.3064, allocations: 4.219 kB / 455.5 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002155/0.3067, allocations: 47.97 kB / 455.6 MB, free: 11.74 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.3067, allocations: 4 kB / 455.6 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.695e-05/0.3067, allocations: 7.938 kB / 455.6 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.3067, allocations: 4 kB / 455.6 MB, free: 11.72 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.3067, allocations: 3.984 kB / 455.6 MB, free: 11.72 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004613/0.3072, allocations: 448.8 kB / 456 MB, free: 11.26 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001167/0.3073, allocations: 128.5 kB / 456.2 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.38e-05/0.3074, allocations: 4 kB / 456.2 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001277/0.3075, allocations: 8 kB / 456.2 MB, free: 11.1 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.762e-05/0.3075, allocations: 15.97 kB / 456.2 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.3076, allocations: 8 kB / 456.2 MB, free: 11.08 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000239/0.3078, allocations: 255.2 kB / 456.5 MB, free: 10.83 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.563e-06/0.3078, allocations: 0 / 456.5 MB, free: 10.83 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004071/0.3082, allocations: 100 kB / 456.6 MB, free: 10.73 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.0001464/0.3084, allocations: 103.2 kB / 456.7 MB, free: 10.62 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006402/0.309, allocations: 399.4 kB / 457 MB, free: 10.22 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.309, allocations: 0 / 457 MB, free: 10.22 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001317/0.3092, allocations: 95.89 kB / 457.1 MB, free: 10.12 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006317/0.3098, allocations: 86.61 kB / 457.2 MB, free: 10.04 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001491/0.3113, allocations: 1.057 MB / 458.3 MB, free: 8.949 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004645/0.3118, allocations: 0.8626 MB / 459.1 MB, free: 8.062 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002452/0.312, allocations: 80.12 kB / 459.2 MB, free: 7.984 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.739e-05/0.3121, allocations: 31.44 kB / 459.2 MB, free: 7.957 MB / 334.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3121, allocations: 0 / 459.2 MB, free: 7.957 MB / 334.1 MB Notification: Performance of Templates: time 0.00774/0.3199, allocations: 3.388 MB / 462.6 MB, free: 4.586 MB / 334.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: