Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.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.AC3ph.Elementary.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter1.i.1.|meter1.i.2.|meter1.i.3.|meter1.p.1.|meter1.p.2.|meter1.p.3.|meter1.v.1.|meter1.v.2.|meter1.v.3.|meter2.i.1.|meter2.i.2.|meter2.i.3.|meter2.p.1.|meter2.p.2.|meter2.p.3.|meter2.v.1.|meter2.v.2.|meter2.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer") translateModel(PowerSystems.Examples.AC3ph.Elementary.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter1.i.1.|meter1.i.2.|meter1.i.3.|meter1.p.1.|meter1.p.2.|meter1.p.3.|meter1.v.1.|meter1.v.2.|meter1.v.3.|meter2.i.1.|meter2.i.2.|meter2.i.3.|meter2.p.1.|meter2.p.2.|meter2.p.3.|meter2.v.1.|meter2.v.2.|meter2.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 110 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.001011/0.001012, 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.461/1.461, allocations: 222.9 MB / 241.7 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1815/0.1815, allocations: 38.05 MB / 329.9 MB, free: 8.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 67.88 kB / 458.2 MB, free: 6.887 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4064/0.4077, allocations: 58.04 MB / 0.5041 GB, free: 7.727 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.007777/0.4155, allocations: 6.528 MB / 0.5105 GB, free: 3.172 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004073/0.4196, allocations: 2.441 MB / 0.5129 GB, free: 1.465 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003542/0.42, allocations: 26.03 kB / 0.5129 GB, free: 1.453 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001435/0.4214, allocations: 0.5966 MB / 0.5135 GB, free: 1.105 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001422/0.4229, allocations: 0.6849 MB / 0.5141 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001369/0.4242, allocations: 455.2 kB / 0.5146 GB, free: 0.543 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002163/0.4264, allocations: 1.362 MB / 0.5159 GB, free: 15.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008699/0.4273, allocations: 487.5 kB / 0.5164 GB, free: 15.78 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009786/0.4283, allocations: 0.5787 MB / 0.5169 GB, free: 15.54 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001432/0.4297, allocations: 0.7891 MB / 0.5177 GB, free: 15.26 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002199/0.43, allocations: 78.59 kB / 0.5178 GB, free: 15.26 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008171/0.4308, allocations: 278.7 kB / 0.518 GB, free: 15.19 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006448/0.4315, allocations: 0.5163 MB / 0.5185 GB, free: 15.03 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005932/0.4321, allocations: 0.5282 MB / 0.5191 GB, free: 14.71 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001691/0.4338, allocations: 1.329 MB / 0.5204 GB, free: 14.22 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.4338, allocations: 5.594 kB / 0.5204 GB, free: 14.21 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4338, allocations: 0 / 0.5204 GB, free: 14.21 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.632e-05/0.4338, allocations: 0 / 0.5204 GB, free: 14.21 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.002495/0.4363, allocations: 1.323 MB / 0.5217 GB, free: 13.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.4364, allocations: 13.61 kB / 0.5217 GB, free: 13.32 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001156/0.4375, allocations: 197 kB / 0.5219 GB, free: 13.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00149/0.439, allocations: 0.718 MB / 0.5226 GB, free: 12.83 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.449e-05/0.4391, allocations: 55.38 kB / 0.5226 GB, free: 12.8 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002357/0.4394, allocations: 99.5 kB / 0.5227 GB, free: 12.77 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002505/0.4419, allocations: 1.391 MB / 0.5241 GB, free: 12.08 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.331e-05/0.4419, allocations: 2.75 kB / 0.5241 GB, free: 12.08 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001108/0.442, allocations: 38.98 kB / 0.5241 GB, free: 12.05 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003309/0.4424, allocations: 119.2 kB / 0.5242 GB, free: 12.04 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001923/0.4443, allocations: 1.102 MB / 0.5253 GB, free: 11.7 MB / 398.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009867/0.4542, allocations: 5.929 MB / 0.5311 GB, free: 7.043 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/0.4553, allocations: 0.716 MB / 0.5318 GB, free: 6.609 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004656/0.4557, allocations: 318.2 kB / 0.5321 GB, free: 6.445 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.447e-05/0.4558, allocations: 7.219 kB / 0.5321 GB, free: 6.445 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007253/0.4565, allocations: 488.4 kB / 0.5326 GB, free: 6.105 MB / 398.1 MB Notification: Performance of pre-optimization done (n=65): time 3.006e-06/0.4566, allocations: 1.094 kB / 0.5326 GB, free: 6.105 MB / 398.1 MB Notification: Performance of matching and sorting (n=66): time 0.003537/0.4601, allocations: 2.146 MB / 0.5347 GB, free: 4.797 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001069/0.4602, allocations: 168.4 kB / 0.5348 GB, free: 4.605 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007935/0.461, allocations: 0.6338 MB / 0.5354 GB, free: 4.238 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.873e-05/0.4611, allocations: 37.8 kB / 0.5355 GB, free: 4.199 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004473/0.4616, allocations: 0.5324 MB / 0.536 GB, free: 3.723 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001853/0.4617, allocations: 229.5 kB / 0.5362 GB, free: 3.527 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003013/0.4621, allocations: 207.7 kB / 0.5364 GB, free: 3.406 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001776/0.4622, allocations: 392.4 kB / 0.5368 GB, free: 3.035 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000529/0.4628, allocations: 342.6 kB / 0.5371 GB, free: 2.879 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000848/0.4636, allocations: 0.7662 MB / 0.5379 GB, free: 2.137 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001569/0.4652, allocations: 1.243 MB / 0.5391 GB, free: 1.102 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.458e-06/0.4652, allocations: 5.312 kB / 0.5391 GB, free: 1.102 MB / 398.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002656/0.4679, allocations: 1.434 MB / 0.5405 GB, free: 364 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.146e-05/0.468, allocations: 42.61 kB / 0.5405 GB, free: 328 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001601/0.4696, allocations: 0.79 MB / 0.5413 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007314/0.4703, allocations: 251.1 kB / 0.5415 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006814/0.471, allocations: 212.5 kB / 0.5417 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004603/0.4756, allocations: 4.386 MB / 0.546 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009204/0.4766, allocations: 55.12 kB / 0.5461 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002104/0.4768, allocations: 64.83 kB / 0.5461 GB, free: 11.97 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,tapChanger.cnt_2,$PRE.tapChanger.cnt_2,tapChanger.cnt_1,$PRE.tapChanger.cnt_1,$whenCondition2,$whenCondition1,tapChanger.tap_2,$PRE.tapChanger.tap_2,tapChanger.tap_1,$PRE.tapChanger.tap_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,12,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009126/0.4777, allocations: 408.4 kB / 0.5465 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001943/0.4779, allocations: 74.59 kB / 0.5466 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001481/0.4794, allocations: 0.8466 MB / 0.5474 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.315e-06/0.4794, allocations: 8 kB / 0.5474 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.4794, allocations: 3.984 kB / 0.5474 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/0.4795, allocations: 0 / 0.5474 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003232/0.4827, allocations: 1.767 MB / 0.5492 GB, free: 8.969 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.745e-06/0.4827, allocations: 4 kB / 0.5492 GB, free: 8.965 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007113/0.4834, allocations: 147.9 kB / 0.5493 GB, free: 8.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.027e-05/0.4835, allocations: 8 kB / 0.5493 GB, free: 8.812 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.499e-05/0.4835, allocations: 19.98 kB / 0.5493 GB, free: 8.793 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.594e-06/0.4835, allocations: 4 kB / 0.5493 GB, free: 8.789 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.4835, allocations: 7.938 kB / 0.5493 GB, free: 8.781 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002234/0.4858, allocations: 1.305 MB / 0.5506 GB, free: 7.438 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005204/0.4863, allocations: 200.2 kB / 0.5508 GB, free: 7.223 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001681/0.4865, allocations: 20.08 kB / 0.5508 GB, free: 7.203 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005491/0.4871, allocations: 27.97 kB / 0.5508 GB, free: 7.176 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001416/0.4872, allocations: 44.44 kB / 0.5509 GB, free: 7.133 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001047/0.4873, allocations: 55.89 kB / 0.5509 GB, free: 7.078 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007712/0.4881, allocations: 423 kB / 0.5513 GB, free: 6.668 MB / 414.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.4881, allocations: 0 / 0.5513 GB, free: 6.668 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001178/0.4893, allocations: 232 kB / 0.5516 GB, free: 6.441 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (trafo.i1[1],trafo.i1[2],trafo.i1[3]) * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,tapChanger.tap_1,tapChanger.tap_2,tapChanger.cnt_1,tapChanger.cnt_2,system.initime) * Number of discrete states: 6 (tapChanger.tap_2,tapChanger.cnt_2,$whenCondition2,tapChanger.tap_1,tapChanger.cnt_1,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * 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.0001772/0.4895, allocations: 123.1 kB / 0.5517 GB, free: 6.309 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001976/0.4915, allocations: 1.237 MB / 0.5529 GB, free: 5.039 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.4915, allocations: 0 / 0.5529 GB, free: 5.039 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005682/0.4921, allocations: 472 kB / 0.5533 GB, free: 4.57 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007866/0.4929, allocations: 144.5 kB / 0.5535 GB, free: 4.438 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003356/0.4962, allocations: 1.968 MB / 0.5554 GB, free: 2.422 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000794/0.497, allocations: 1.114 MB / 0.5565 GB, free: 1.277 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0006671/0.4977, allocations: 286.4 kB / 0.5568 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001632/0.4979, allocations: 63.42 kB / 0.5568 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4979, allocations: 0 / 0.5568 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of Templates: time 0.01598/0.5139, allocations: 8.779 MB / 0.5654 GB, free: 8.211 MB / 430.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Transformer.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches