Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/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="mat",numberOfIntervals=2000,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter2.i|meter2.p|meter2.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase") translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter2.i|meter2.p|meter2.v",fileNamePrefix="PowerSystems_latest_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.001422/0.001422, allocations: 110.4 kB / 17.06 MB, free: 6.023 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.001469/0.001469, allocations: 191 kB / 18 MB, free: 5.105 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.556/1.556, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1844/0.1844, allocations: 38.05 MB / 329.9 MB, free: 8.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 59.91 kB / 458.1 MB, free: 6.863 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4401/0.4413, allocations: 58.06 MB / 0.5041 GB, free: 7.754 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.006846/0.4482, allocations: 5.501 MB / 0.5095 GB, free: 3.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002579/0.4508, allocations: 1.303 MB / 0.5107 GB, free: 3.012 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002913/0.4511, allocations: 18.75 kB / 0.5108 GB, free: 3.004 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005421/0.4517, allocations: 130 kB / 0.5109 GB, free: 2.938 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009355/0.4527, allocations: 381.6 kB / 0.5113 GB, free: 2.727 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003262/0.453, allocations: 136.4 kB / 0.5114 GB, free: 2.656 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008295/0.4538, allocations: 0.7426 MB / 0.5121 GB, free: 2.332 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003192/0.4542, allocations: 213.5 kB / 0.5123 GB, free: 2.242 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005212/0.4547, allocations: 347.7 kB / 0.5126 GB, free: 2.082 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000664/0.4554, allocations: 373.3 kB / 0.513 GB, free: 1.949 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.29e-05/0.4555, allocations: 37.03 kB / 0.513 GB, free: 1.949 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001006/0.4556, allocations: 36.19 kB / 0.5131 GB, free: 1.949 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002477/0.4558, allocations: 197.5 kB / 0.5133 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002786/0.4561, allocations: 249.5 kB / 0.5135 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000725/0.4568, allocations: 0.5239 MB / 0.514 GB, free: 1.523 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.4569, allocations: 5.469 kB / 0.514 GB, free: 1.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.825e-06/0.4569, allocations: 0 / 0.514 GB, free: 1.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.057e-05/0.4569, allocations: 4.594 kB / 0.514 GB, free: 1.516 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.001372/0.4583, allocations: 0.8054 MB / 0.5148 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.4583, allocations: 13.94 kB / 0.5148 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000104/0.4584, allocations: 54.86 kB / 0.5149 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007856/0.4592, allocations: 487.1 kB / 0.5153 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.923e-05/0.4593, allocations: 33.28 kB / 0.5154 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.227e-05/0.4593, allocations: 38.77 kB / 0.5154 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007353/0.4601, allocations: 0.4978 MB / 0.5159 GB, free: 280 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.4601, allocations: 1.562 kB / 0.5159 GB, free: 280 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.925e-05/0.4602, allocations: 17.03 kB / 0.5159 GB, free: 268 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.763e-05/0.4602, allocations: 18.84 kB / 0.5159 GB, free: 268 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006476/0.4608, allocations: 370.1 kB / 0.5163 GB, free: 140 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002847/0.4637, allocations: 2.073 MB / 0.5183 GB, free: 14.55 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004505/0.4642, allocations: 235.9 kB / 0.5185 GB, free: 14.44 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002471/0.4644, allocations: 138.5 kB / 0.5187 GB, free: 14.38 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.442e-05/0.4645, allocations: 10.39 kB / 0.5187 GB, free: 14.37 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.4645, allocations: 33.64 kB / 0.5187 GB, free: 14.33 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.774e-06/0.4645, allocations: 0 / 0.5187 GB, free: 14.33 MB / 398.1 MB Notification: Performance of matching and sorting (n=23): time 0.001309/0.4658, allocations: 0.7574 MB / 0.5194 GB, free: 13.8 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.127e-05/0.4659, allocations: 84.39 kB / 0.5195 GB, free: 13.71 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004482/0.4663, allocations: 387.3 kB / 0.5199 GB, free: 13.51 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/0.4664, allocations: 30.92 kB / 0.5199 GB, free: 13.48 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002107/0.4666, allocations: 288.9 kB / 0.5202 GB, free: 13.24 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.494e-05/0.4667, allocations: 82.03 kB / 0.5203 GB, free: 13.18 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/0.4668, allocations: 82.23 kB / 0.5204 GB, free: 13.13 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.4669, allocations: 350.4 kB / 0.5207 GB, free: 12.8 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001414/0.4671, allocations: 88.19 kB / 0.5208 GB, free: 12.77 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002758/0.4674, allocations: 276.7 kB / 0.521 GB, free: 12.49 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004625/0.4678, allocations: 404.7 kB / 0.5214 GB, free: 12.14 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.4679, allocations: 5.281 kB / 0.5214 GB, free: 12.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007193/0.4686, allocations: 450.3 kB / 0.5219 GB, free: 11.94 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.4686, allocations: 9.812 kB / 0.5219 GB, free: 11.94 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.4686, allocations: 6.094 kB / 0.5219 GB, free: 11.94 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000223/0.4689, allocations: 54.62 kB / 0.5219 GB, free: 11.92 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000271/0.4691, allocations: 81.55 kB / 0.522 GB, free: 11.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00151/0.4707, allocations: 1.608 MB / 0.5236 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002396/0.4709, allocations: 23.62 kB / 0.5236 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.68e-05/0.471, allocations: 21.56 kB / 0.5236 GB, free: 10.39 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.0002662/0.4712, allocations: 197.8 kB / 0.5238 GB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.875e-05/0.4713, allocations: 45.31 kB / 0.5238 GB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003825/0.4717, allocations: 234.8 kB / 0.5241 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-06/0.4717, allocations: 6.375 kB / 0.5241 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.4717, allocations: 1.531 kB / 0.5241 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.4717, allocations: 5.5 kB / 0.5241 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001046/0.4728, allocations: 0.6988 MB / 0.5248 GB, free: 9.613 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.4728, allocations: 1.375 kB / 0.5248 GB, free: 9.613 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002242/0.473, allocations: 47.06 kB / 0.5248 GB, free: 9.609 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.473, allocations: 5.312 kB / 0.5248 GB, free: 9.605 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.4731, allocations: 2.75 kB / 0.5248 GB, free: 9.605 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.4731, allocations: 2.031 kB / 0.5248 GB, free: 9.605 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.4731, allocations: 5.438 kB / 0.5248 GB, free: 9.602 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006183/0.4737, allocations: 431.1 kB / 0.5252 GB, free: 9.332 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000124/0.4738, allocations: 123.9 kB / 0.5254 GB, free: 9.211 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.085e-05/0.4739, allocations: 7.453 kB / 0.5254 GB, free: 9.207 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001388/0.474, allocations: 12.92 kB / 0.5254 GB, free: 9.199 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.407e-05/0.4741, allocations: 11.56 kB / 0.5254 GB, free: 9.199 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.56e-05/0.4741, allocations: 6.25 kB / 0.5254 GB, free: 9.199 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003192/0.4744, allocations: 259.4 kB / 0.5256 GB, free: 9.074 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4744, allocations: 0 / 0.5256 GB, free: 9.074 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005699/0.475, allocations: 86.16 kB / 0.5257 GB, free: 9.066 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.0001426/0.4752, allocations: 107.3 kB / 0.5258 GB, free: 8.965 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007758/0.4759, allocations: 383.3 kB / 0.5262 GB, free: 8.766 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.476, allocations: 0 / 0.5262 GB, free: 8.766 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001554/0.4761, allocations: 93.89 kB / 0.5263 GB, free: 8.734 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006466/0.4768, allocations: 97.31 kB / 0.5264 GB, free: 8.691 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001527/0.4783, allocations: 0.8455 MB / 0.5272 GB, free: 8.195 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007446/0.4791, allocations: 0.8569 MB / 0.528 GB, free: 7.477 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002817/0.4794, allocations: 84.73 kB / 0.5281 GB, free: 7.453 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.637e-05/0.4794, allocations: 30.16 kB / 0.5281 GB, free: 7.445 MB / 398.1 MB Notification: Performance of SimCode: time 8.32e-07/0.4794, allocations: 0 / 0.5281 GB, free: 7.445 MB / 398.1 MB Notification: Performance of Templates: time 0.01086/0.4903, allocations: 3.658 MB / 0.5317 GB, free: 6.645 MB / 398.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches