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.001233/0.001233, allocations: 107.6 kB / 17.06 MB, free: 5.824 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.001305/0.001305, allocations: 192 kB / 18 MB, free: 4.977 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.477/1.477, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1856/0.1856, allocations: 38.04 MB / 329.9 MB, free: 8.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 63.91 kB / 458.2 MB, free: 6.848 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4787/0.4802, allocations: 58.05 MB / 0.5041 GB, free: 7.762 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.008356/0.4886, allocations: 6.53 MB / 0.5105 GB, free: 3.199 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006318/0.495, allocations: 2.43 MB / 0.5129 GB, free: 1.496 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007792/0.4958, allocations: 26.88 kB / 0.5129 GB, free: 1.484 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001868/0.4976, allocations: 0.6101 MB / 0.5135 GB, free: 1.129 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001978/0.4996, allocations: 0.691 MB / 0.5142 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001607/0.5013, allocations: 456.6 kB / 0.5146 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002261/0.5035, allocations: 1.363 MB / 0.5159 GB, free: 0 / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000932/0.5045, allocations: 485.9 kB / 0.5164 GB, free: 15.8 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001196/0.5057, allocations: 0.5821 MB / 0.5169 GB, free: 15.55 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001775/0.5075, allocations: 0.7903 MB / 0.5177 GB, free: 15.28 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002543/0.5077, allocations: 74.44 kB / 0.5178 GB, free: 15.28 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008508/0.5086, allocations: 274.3 kB / 0.5181 GB, free: 15.21 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007721/0.5094, allocations: 0.5203 MB / 0.5186 GB, free: 15.05 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000839/0.5102, allocations: 0.5273 MB / 0.5191 GB, free: 14.73 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002106/0.5123, allocations: 1.33 MB / 0.5204 GB, free: 14.24 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.5124, allocations: 0 / 0.5204 GB, free: 14.24 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.5124, allocations: 1.125 kB / 0.5204 GB, free: 14.24 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.448e-05/0.5124, allocations: 0 / 0.5204 GB, free: 14.24 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.002765/0.5152, allocations: 1.324 MB / 0.5217 GB, free: 13.35 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.247e-05/0.5153, allocations: 13.48 kB / 0.5217 GB, free: 13.34 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001097/0.5164, allocations: 200.4 kB / 0.5219 GB, free: 13.29 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001358/0.5177, allocations: 0.7106 MB / 0.5226 GB, free: 12.86 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.196e-05/0.5178, allocations: 61.38 kB / 0.5226 GB, free: 12.83 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002426/0.5181, allocations: 101.2 kB / 0.5227 GB, free: 12.79 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002512/0.5206, allocations: 1.388 MB / 0.5241 GB, free: 12.11 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.638e-05/0.5206, allocations: 3.438 kB / 0.5241 GB, free: 12.11 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.988e-05/0.5207, allocations: 42.23 kB / 0.5241 GB, free: 12.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003362/0.5211, allocations: 119.9 kB / 0.5242 GB, free: 12.06 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0022/0.5233, allocations: 1.092 MB / 0.5253 GB, free: 11.72 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.007782/0.5311, allocations: 5.937 MB / 0.5311 GB, free: 7.105 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001145/0.5322, allocations: 0.7065 MB / 0.5318 GB, free: 6.68 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005075/0.5328, allocations: 319.7 kB / 0.5321 GB, free: 6.516 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.089e-05/0.5328, allocations: 7.781 kB / 0.5321 GB, free: 6.516 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006901/0.5335, allocations: 484.7 kB / 0.5326 GB, free: 6.18 MB / 398.1 MB Notification: Performance of pre-optimization done (n=65): time 2.395e-06/0.5335, allocations: 0 / 0.5326 GB, free: 6.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=66): time 0.003919/0.5375, allocations: 2.147 MB / 0.5347 GB, free: 4.871 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001167/0.5376, allocations: 172.3 kB / 0.5348 GB, free: 4.676 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008348/0.5384, allocations: 0.6367 MB / 0.5354 GB, free: 4.305 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.001e-05/0.5385, allocations: 41.33 kB / 0.5355 GB, free: 4.262 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004184/0.5389, allocations: 0.5289 MB / 0.536 GB, free: 3.789 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001934/0.5391, allocations: 226 kB / 0.5362 GB, free: 3.598 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003264/0.5395, allocations: 208.5 kB / 0.5364 GB, free: 3.477 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001859/0.5397, allocations: 387.9 kB / 0.5368 GB, free: 3.109 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005515/0.5402, allocations: 337.9 kB / 0.5371 GB, free: 2.957 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008564/0.5411, allocations: 0.7738 MB / 0.5379 GB, free: 2.207 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001541/0.5426, allocations: 1.251 MB / 0.5391 GB, free: 1.164 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.097e-06/0.5426, allocations: 4.188 kB / 0.5391 GB, free: 1.164 MB / 398.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002581/0.5452, allocations: 1.439 MB / 0.5405 GB, free: 424 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.09e-05/0.5453, allocations: 41.42 kB / 0.5405 GB, free: 388 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001432/0.5467, allocations: 0.7902 MB / 0.5413 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007752/0.5475, allocations: 247.6 kB / 0.5415 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006728/0.5482, allocations: 213.3 kB / 0.5417 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004697/0.5529, allocations: 4.373 MB / 0.546 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007708/0.5537, allocations: 60.84 kB / 0.5461 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001177/0.5538, allocations: 67.16 kB / 0.5461 GB, free: 12.04 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.0007094/0.5545, allocations: 405.2 kB / 0.5465 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001095/0.5547, allocations: 75.09 kB / 0.5466 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001363/0.556, allocations: 0.8515 MB / 0.5474 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/0.5561, allocations: 8 kB / 0.5474 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.5561, allocations: 4 kB / 0.5474 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.828e-06/0.5561, allocations: 3.984 kB / 0.5474 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002734/0.5588, allocations: 1.76 MB / 0.5492 GB, free: 8.914 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.5588, allocations: 4.219 kB / 0.5492 GB, free: 8.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006822/0.5595, allocations: 155.8 kB / 0.5493 GB, free: 8.758 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.5595, allocations: 4 kB / 0.5493 GB, free: 8.754 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.428e-05/0.5596, allocations: 23.98 kB / 0.5493 GB, free: 8.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.5596, allocations: 4 kB / 0.5493 GB, free: 8.727 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.5596, allocations: 0 / 0.5493 GB, free: 8.727 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001683/0.5613, allocations: 1.309 MB / 0.5506 GB, free: 7.379 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002874/0.5616, allocations: 196.2 kB / 0.5508 GB, free: 7.168 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.163e-05/0.5617, allocations: 19.98 kB / 0.5508 GB, free: 7.148 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003277/0.562, allocations: 31.97 kB / 0.5509 GB, free: 7.117 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.5621, allocations: 52.39 kB / 0.5509 GB, free: 7.066 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.698e-05/0.5622, allocations: 39.95 kB / 0.5509 GB, free: 7.027 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004751/0.5627, allocations: 427 kB / 0.5514 GB, free: 6.613 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5627, allocations: 0 / 0.5514 GB, free: 6.613 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001119/0.5638, allocations: 232 kB / 0.5516 GB, free: 6.387 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.0002017/0.5641, allocations: 123 kB / 0.5517 GB, free: 6.254 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002096/0.5662, allocations: 1.242 MB / 0.5529 GB, free: 4.98 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.5662, allocations: 0 / 0.5529 GB, free: 4.98 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005775/0.5668, allocations: 462.8 kB / 0.5533 GB, free: 4.52 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007586/0.5675, allocations: 144.4 kB / 0.5535 GB, free: 4.387 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003373/0.5709, allocations: 1.971 MB / 0.5554 GB, free: 2.371 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008592/0.5718, allocations: 1.114 MB / 0.5565 GB, free: 1.227 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0006315/0.5724, allocations: 294.4 kB / 0.5568 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001665/0.5726, allocations: 59.44 kB / 0.5568 GB, free: 0.875 MB / 414.1 MB Notification: Performance of SimCode: time 1.153e-06/0.5726, allocations: 4 kB / 0.5568 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of Templates: time 0.01811/0.5907, allocations: 8.78 MB / 0.5654 GB, free: 8.148 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