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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.001207/0.001207, allocations: 109.8 kB / 17.06 MB, free: 6.016 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.00124/0.00124, allocations: 191 kB / 18 MB, free: 5.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.178/0.178, allocations: 38.03 MB / 329.9 MB, free: 8.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 55.91 kB / 458.1 MB, free: 6.84 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4009/0.4021, allocations: 58.06 MB / 0.5041 GB, free: 8.008 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.006265/0.4084, allocations: 5.494 MB / 0.5095 GB, free: 4.176 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002179/0.4106, allocations: 1.304 MB / 0.5107 GB, free: 3.254 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002808/0.4109, allocations: 19.22 kB / 0.5107 GB, free: 3.246 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005302/0.4115, allocations: 128.5 kB / 0.5109 GB, free: 3.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001054/0.4126, allocations: 376.9 kB / 0.5112 GB, free: 2.973 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003636/0.4129, allocations: 132.1 kB / 0.5114 GB, free: 2.906 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000839/0.4138, allocations: 0.7493 MB / 0.5121 GB, free: 2.574 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000324/0.4141, allocations: 208.7 kB / 0.5123 GB, free: 2.488 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004506/0.4146, allocations: 333.4 kB / 0.5126 GB, free: 2.336 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007334/0.4153, allocations: 384.3 kB / 0.513 GB, free: 2.191 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.433e-05/0.4154, allocations: 36.28 kB / 0.513 GB, free: 2.191 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001217/0.4156, allocations: 36.09 kB / 0.513 GB, free: 2.191 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003277/0.4159, allocations: 197.1 kB / 0.5132 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003117/0.4162, allocations: 246.7 kB / 0.5135 GB, free: 1.977 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007157/0.4169, allocations: 0.5306 MB / 0.514 GB, free: 1.762 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.4169, allocations: 1.188 kB / 0.514 GB, free: 1.762 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.417, allocations: 3.938 kB / 0.514 GB, free: 1.758 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.167e-06/0.417, allocations: 0 / 0.514 GB, free: 1.758 MB / 382.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.001338/0.4183, allocations: 0.8175 MB / 0.5148 GB, free: 1.145 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/0.4184, allocations: 18.05 kB / 0.5148 GB, free: 1.137 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001219/0.4185, allocations: 54.33 kB / 0.5149 GB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009292/0.4194, allocations: 497.1 kB / 0.5153 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.871e-05/0.4195, allocations: 31.69 kB / 0.5154 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.911e-05/0.4196, allocations: 37.91 kB / 0.5154 GB, free: 0.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009264/0.4205, allocations: 0.4997 MB / 0.5159 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/0.4205, allocations: 3.938 kB / 0.5159 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.624e-05/0.4206, allocations: 17.67 kB / 0.5159 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.944e-05/0.4206, allocations: 18.64 kB / 0.5159 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008181/0.4215, allocations: 366.3 kB / 0.5163 GB, free: 364 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003384/0.4249, allocations: 2.066 MB / 0.5183 GB, free: 14.78 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000519/0.4254, allocations: 247.7 kB / 0.5185 GB, free: 14.65 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002831/0.4257, allocations: 130.4 kB / 0.5186 GB, free: 14.6 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/0.4257, allocations: 3.625 kB / 0.5186 GB, free: 14.6 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.998e-05/0.4258, allocations: 36.42 kB / 0.5187 GB, free: 14.55 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.864e-06/0.4258, allocations: 7.938 kB / 0.5187 GB, free: 14.55 MB / 398.1 MB Notification: Performance of matching and sorting (n=23): time 0.001493/0.4273, allocations: 0.7701 MB / 0.5194 GB, free: 14.01 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.485e-05/0.4274, allocations: 80.94 kB / 0.5195 GB, free: 13.92 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004883/0.4279, allocations: 387.7 kB / 0.5199 GB, free: 13.72 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.4279, allocations: 30.8 kB / 0.5199 GB, free: 13.69 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002621/0.4282, allocations: 297.3 kB / 0.5202 GB, free: 13.45 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.963e-05/0.4283, allocations: 89.23 kB / 0.5203 GB, free: 13.38 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001285/0.4284, allocations: 83.91 kB / 0.5204 GB, free: 13.32 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001829/0.4286, allocations: 348.5 kB / 0.5207 GB, free: 13 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001743/0.4288, allocations: 88.36 kB / 0.5208 GB, free: 12.97 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003579/0.4291, allocations: 278.9 kB / 0.5211 GB, free: 12.69 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004875/0.4296, allocations: 402.9 kB / 0.5214 GB, free: 12.34 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.4296, allocations: 2.609 kB / 0.5214 GB, free: 12.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007393/0.4304, allocations: 458.5 kB / 0.5219 GB, free: 12.14 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.4304, allocations: 12.09 kB / 0.5219 GB, free: 12.13 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.4304, allocations: 6.688 kB / 0.5219 GB, free: 12.13 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002119/0.4306, allocations: 54.95 kB / 0.5219 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002619/0.4309, allocations: 81.66 kB / 0.522 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001458/0.4324, allocations: 1.61 MB / 0.5236 GB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002096/0.4326, allocations: 19.61 kB / 0.5236 GB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.418e-05/0.4326, allocations: 24.81 kB / 0.5236 GB, free: 10.58 MB / 398.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.0002378/0.4329, allocations: 203 kB / 0.5238 GB, free: 10.42 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.726e-05/0.433, allocations: 42.19 kB / 0.5239 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004143/0.4334, allocations: 247.2 kB / 0.5241 GB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.4334, allocations: 2.75 kB / 0.5241 GB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.4334, allocations: 0 / 0.5241 GB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.757e-06/0.4334, allocations: 2.828 kB / 0.5241 GB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001086/0.4345, allocations: 0.6873 MB / 0.5248 GB, free: 9.805 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.4345, allocations: 2.094 kB / 0.5248 GB, free: 9.805 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002265/0.4348, allocations: 49.27 kB / 0.5248 GB, free: 9.797 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.4348, allocations: 3.812 kB / 0.5248 GB, free: 9.797 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.4348, allocations: 1.562 kB / 0.5248 GB, free: 9.797 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.4348, allocations: 2.438 kB / 0.5248 GB, free: 9.797 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.4348, allocations: 1.344 kB / 0.5248 GB, free: 9.797 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005918/0.4354, allocations: 439 kB / 0.5253 GB, free: 9.52 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000138/0.4356, allocations: 124.8 kB / 0.5254 GB, free: 9.398 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.035e-05/0.4356, allocations: 6.125 kB / 0.5254 GB, free: 9.395 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001383/0.4357, allocations: 9.953 kB / 0.5254 GB, free: 9.391 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.572e-05/0.4358, allocations: 15.91 kB / 0.5254 GB, free: 9.387 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.574e-05/0.4358, allocations: 9.516 kB / 0.5254 GB, free: 9.383 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002856/0.4361, allocations: 261.9 kB / 0.5257 GB, free: 9.254 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4361, allocations: 1.312 kB / 0.5257 GB, free: 9.254 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000454/0.4366, allocations: 86.44 kB / 0.5258 GB, free: 9.246 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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.000142/0.4367, allocations: 110.9 kB / 0.5259 GB, free: 9.141 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007031/0.4374, allocations: 384.6 kB / 0.5262 GB, free: 8.941 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.4374, allocations: 0 / 0.5262 GB, free: 8.941 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001506/0.4376, allocations: 90.67 kB / 0.5263 GB, free: 8.914 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006414/0.4382, allocations: 107.3 kB / 0.5264 GB, free: 8.867 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001579/0.4398, allocations: 0.8407 MB / 0.5272 GB, free: 8.371 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007269/0.4406, allocations: 0.8577 MB / 0.5281 GB, free: 7.652 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002798/0.4409, allocations: 83.17 kB / 0.5282 GB, free: 7.629 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.069e-05/0.4409, allocations: 35.34 kB / 0.5282 GB, free: 7.617 MB / 398.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4409, allocations: 0 / 0.5282 GB, free: 7.617 MB / 398.1 MB Notification: Performance of Templates: time 0.0125/0.4535, allocations: 3.641 MB / 0.5317 GB, free: 6.828 MB / 398.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)