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/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001054/0.001054, allocations: 176.5 kB / 17.4 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.484/1.484, allocations: 205.4 MB / 223.6 MB, free: 9.008 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007213/0.0007212, allocations: 86.41 kB / 271.9 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2779/0.2779, allocations: 38.08 MB / 358.3 MB, free: 1.727 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003862/0.0003862, allocations: 12 kB / 425.2 MB, free: 37.37 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.3113, allocations: 56.32 MB / 481.6 MB, free: 9.59 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1526/0.464, allocations: 110.2 MB / 0.5779 GB, free: 8.039 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003072/0.4643, allocations: 95.81 kB / 0.578 GB, free: 7.949 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08707/0.5514, allocations: 29.68 MB / 0.607 GB, free: 9.883 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.5515, allocations: 3.938 kB / 0.607 GB, free: 9.879 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.687e-05/0.5516, allocations: 27.94 kB / 0.607 GB, free: 9.852 MB / 442.7 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.003735/0.5553, allocations: 1.187 MB / 0.6082 GB, free: 8.602 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.5554, allocations: 12.03 kB / 0.6082 GB, free: 8.59 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001763/0.5571, allocations: 259.4 kB / 0.6084 GB, free: 8.336 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002562/0.5597, allocations: 1.021 MB / 0.6094 GB, free: 7.273 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.948e-05/0.5598, allocations: 63.11 kB / 0.6095 GB, free: 7.211 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002737/0.5601, allocations: 83.98 kB / 0.6095 GB, free: 7.129 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002379/0.5625, allocations: 1.361 MB / 0.6109 GB, free: 5.668 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.92e-05/0.5625, allocations: 7.938 kB / 0.6109 GB, free: 5.66 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.42e-05/0.5626, allocations: 31.98 kB / 0.6109 GB, free: 5.629 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001711/0.5628, allocations: 101.9 kB / 0.611 GB, free: 5.527 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0019/0.5647, allocations: 1.03 MB / 0.612 GB, free: 4.5 MB / 442.7 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.007445/0.5722, allocations: 5.773 MB / 0.6177 GB, free: 14.45 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001152/0.5734, allocations: 0.7923 MB / 0.6184 GB, free: 13.59 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005313/0.5739, allocations: 371.2 kB / 0.6188 GB, free: 13.23 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.181e-05/0.574, allocations: 20.53 kB / 0.6188 GB, free: 13.21 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000749/0.5748, allocations: 0.5168 MB / 0.6193 GB, free: 12.66 MB / 458.7 MB Notification: Performance of pre-optimization done (n=73): time 5.11e-06/0.5748, allocations: 0 / 0.6193 GB, free: 12.66 MB / 458.7 MB Notification: Performance of matching and sorting (n=74): time 0.004098/0.5789, allocations: 2.395 MB / 0.6216 GB, free: 10.19 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001198/0.579, allocations: 170.7 kB / 0.6218 GB, free: 9.984 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008689/0.5799, allocations: 0.6092 MB / 0.6224 GB, free: 9.367 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 5.871e-05/0.58, allocations: 37.7 kB / 0.6224 GB, free: 9.324 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005132/0.5805, allocations: 0.5097 MB / 0.6229 GB, free: 8.805 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002535/0.5808, allocations: 256.4 kB / 0.6232 GB, free: 8.551 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.174e-05/0.5809, allocations: 16 kB / 0.6232 GB, free: 8.535 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001964/0.5811, allocations: 386.8 kB / 0.6236 GB, free: 8.148 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006112/0.5817, allocations: 378.4 kB / 0.6239 GB, free: 7.777 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008612/0.5825, allocations: 0.7647 MB / 0.6247 GB, free: 6.832 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001762/0.5843, allocations: 1.28 MB / 0.6259 GB, free: 5.355 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.075e-05/0.5843, allocations: 4 kB / 0.6259 GB, free: 5.352 MB / 458.7 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002873/0.5872, allocations: 1.479 MB / 0.6274 GB, free: 3.855 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.18e-05/0.5873, allocations: 37.7 kB / 0.6274 GB, free: 3.812 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001782/0.5891, allocations: 0.8817 MB / 0.6283 GB, free: 2.922 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007479/0.5899, allocations: 249.5 kB / 0.6285 GB, free: 2.672 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008066/0.5907, allocations: 207.6 kB / 0.6287 GB, free: 2.469 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004562/0.5953, allocations: 4.04 MB / 0.6327 GB, free: 14.16 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009689/0.5963, allocations: 71.73 kB / 0.6327 GB, free: 14.09 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001961/0.5965, allocations: 63.91 kB / 0.6328 GB, free: 14.03 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,$whenCondition1,$whenCondition2,$PRE.tapChanger.cnt_1,tapChanger.cnt_1,$PRE.tapChanger.cnt_2,tapChanger.cnt_2,$PRE.tapChanger.tap_1,tapChanger.tap_1,$PRE.tapChanger.tap_2,tapChanger.tap_2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (115): * Single equations (assignments): 110 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 12,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009407/0.5975, allocations: 403.1 kB / 0.6332 GB, free: 13.62 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000216/0.5977, allocations: 79 kB / 0.6332 GB, free: 13.54 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001779/0.5995, allocations: 0.947 MB / 0.6342 GB, free: 12.57 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.02e-05/0.5995, allocations: 12 kB / 0.6342 GB, free: 12.56 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.5995, allocations: 0 / 0.6342 GB, free: 12.56 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/0.5996, allocations: 3.984 kB / 0.6342 GB, free: 12.55 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003499/0.6031, allocations: 1.934 MB / 0.6361 GB, free: 10.54 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.6031, allocations: 0 / 0.6361 GB, free: 10.54 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007532/0.6038, allocations: 156 kB / 0.6362 GB, free: 10.39 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.308e-05/0.6039, allocations: 4 kB / 0.6362 GB, free: 10.39 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-05/0.6039, allocations: 19.98 kB / 0.6362 GB, free: 10.37 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.396e-06/0.604, allocations: 7.938 kB / 0.6362 GB, free: 10.36 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.604, allocations: 4 kB / 0.6363 GB, free: 10.36 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00228/0.6063, allocations: 1.475 MB / 0.6377 GB, free: 8.84 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004268/0.6067, allocations: 224 kB / 0.6379 GB, free: 8.602 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001395/0.6069, allocations: 16 kB / 0.6379 GB, free: 8.586 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004553/0.6073, allocations: 39.95 kB / 0.638 GB, free: 8.547 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001241/0.6075, allocations: 52.53 kB / 0.638 GB, free: 8.496 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.43e-05/0.6075, allocations: 39.95 kB / 0.638 GB, free: 8.457 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007011/0.6083, allocations: 415 kB / 0.6384 GB, free: 8.055 MB / 474.7 MB Notification: Performance of sort global known variables: time 2e-07/0.6083, allocations: 0 / 0.6384 GB, free: 8.055 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001466/0.6097, allocations: 264 kB / 0.6387 GB, free: 7.797 MB / 474.7 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 (66): * Single equations (assignments): 62 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004173/0.6102, allocations: 173.7 kB / 0.6389 GB, free: 7.621 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00221/0.6124, allocations: 1.304 MB / 0.6401 GB, free: 6.281 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/0.6124, allocations: 0 / 0.6401 GB, free: 6.281 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007326/0.6131, allocations: 0.5102 MB / 0.6406 GB, free: 5.758 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/0.6142, allocations: 136.1 kB / 0.6408 GB, free: 5.629 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004218/0.6184, allocations: 2.429 MB / 0.6431 GB, free: 3.16 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00101/0.6194, allocations: 1.114 MB / 0.6442 GB, free: 2.016 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0009263/0.6204, allocations: 290.2 kB / 0.6445 GB, free: 1.727 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002168/0.6206, allocations: 63.44 kB / 0.6446 GB, free: 1.664 MB / 474.7 MB Notification: Performance of SimCode: time 7.11e-07/0.6206, allocations: 0 / 0.6446 GB, free: 1.664 MB / 474.7 MB Notification: Performance of Templates: time 0.2403/0.8609, allocations: 8.723 MB / 0.6531 GB, free: 134 MB / 474.7 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Transformer.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches