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.001471/0.001471, allocations: 176.4 kB / 8.346 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.558/1.558, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008371/0.0008368, allocations: 89.31 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1903/0.1903, allocations: 37.99 MB / 348 MB, free: 7.77 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.415e-05/1.418e-05, allocations: 4 kB / 410.6 MB, free: 46.96 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1034, allocations: 56.33 MB / 466.9 MB, free: 6.57 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3757/0.4792, allocations: 109.4 MB / 0.5628 GB, free: 1.512 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002342/0.4795, allocations: 87.94 kB / 0.5629 GB, free: 1.426 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.08032/0.5598, allocations: 29.46 MB / 0.5916 GB, free: 3.602 MB / 427.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.5599, allocations: 0 / 0.5916 GB, free: 3.602 MB / 427.1 MB Notification: Performance of Transformations before backend: time 4.711e-05/0.5599, allocations: 20 kB / 0.5917 GB, free: 3.582 MB / 427.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.001883/0.5618, allocations: 1.109 MB / 0.5927 GB, free: 2.414 MB / 427.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.5619, allocations: 8.031 kB / 0.5928 GB, free: 2.406 MB / 427.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001429/0.5633, allocations: 258.4 kB / 0.593 GB, free: 2.152 MB / 427.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003532/0.5668, allocations: 1.425 MB / 0.5944 GB, free: 0.6875 MB / 427.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.42e-05/0.5669, allocations: 35.98 kB / 0.5944 GB, free: 0.6523 MB / 427.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001172/0.567, allocations: 52 kB / 0.5945 GB, free: 0.6016 MB / 427.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001356/0.5684, allocations: 0.8863 MB / 0.5953 GB, free: 15.71 MB / 443.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001584/0.57, allocations: 1.208 MB / 0.5965 GB, free: 14.41 MB / 443.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.226e-05/0.57, allocations: 7.922 kB / 0.5965 GB, free: 14.4 MB / 443.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.213e-05/0.5701, allocations: 7.938 kB / 0.5965 GB, free: 14.39 MB / 443.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001592/0.5703, allocations: 97.95 kB / 0.5966 GB, free: 14.29 MB / 443.1 MB Warning: The model contains alias variables with conflicting start and/or 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.005803/0.5761, allocations: 5.595 MB / 0.6021 GB, free: 8.43 MB / 443.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001057/0.5772, allocations: 0.78 MB / 0.6029 GB, free: 7.594 MB / 443.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004434/0.5776, allocations: 363.7 kB / 0.6032 GB, free: 7.234 MB / 443.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.13e-05/0.5777, allocations: 8.547 kB / 0.6032 GB, free: 7.227 MB / 443.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006841/0.5784, allocations: 0.5009 MB / 0.6037 GB, free: 6.691 MB / 443.1 MB Notification: Performance of pre-optimization done (n=74): time 2.364e-06/0.5784, allocations: 0 / 0.6037 GB, free: 6.691 MB / 443.1 MB Notification: Performance of matching and sorting (n=75): time 0.003019/0.5814, allocations: 1.922 MB / 0.6056 GB, free: 4.715 MB / 443.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.626e-05/0.5815, allocations: 170.8 kB / 0.6057 GB, free: 4.512 MB / 443.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005731/0.5821, allocations: 0.5031 MB / 0.6062 GB, free: 4 MB / 443.1 MB Notification: Performance of collectPreVariables (initialization): time 4.403e-05/0.5821, allocations: 29.7 kB / 0.6063 GB, free: 3.965 MB / 443.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003638/0.5825, allocations: 0.5058 MB / 0.6068 GB, free: 3.449 MB / 443.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001786/0.5827, allocations: 260.3 kB / 0.607 GB, free: 3.191 MB / 443.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.947e-05/0.5827, allocations: 3.938 kB / 0.607 GB, free: 3.188 MB / 443.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.5829, allocations: 378.8 kB / 0.6074 GB, free: 2.809 MB / 443.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004731/0.5834, allocations: 354.5 kB / 0.6077 GB, free: 2.461 MB / 443.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007025/0.5841, allocations: 0.7272 MB / 0.6084 GB, free: 1.551 MB / 443.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007017/0.5848, allocations: 0.4921 MB / 0.6089 GB, free: 1.055 MB / 443.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.455e-06/0.5848, allocations: 7.953 kB / 0.6089 GB, free: 1.047 MB / 443.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002253/0.5871, allocations: 1.332 MB / 0.6102 GB, free: 15.7 MB / 459.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.473e-05/0.5871, allocations: 37.7 kB / 0.6102 GB, free: 15.66 MB / 459.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001438/0.5886, allocations: 0.8443 MB / 0.6111 GB, free: 14.81 MB / 459.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006691/0.5893, allocations: 245.8 kB / 0.6113 GB, free: 14.56 MB / 459.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007375/0.59, allocations: 223.6 kB / 0.6115 GB, free: 14.34 MB / 459.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003716/0.5937, allocations: 3.85 MB / 0.6153 GB, free: 10.26 MB / 459.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006776/0.5944, allocations: 43.86 kB / 0.6153 GB, free: 10.21 MB / 459.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.134e-05/0.5945, allocations: 59.98 kB / 0.6154 GB, free: 10.16 MB / 459.1 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (116): * Single equations (assignments): 111 * 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.000205/0.5948, allocations: 178.2 kB / 0.6155 GB, free: 9.969 MB / 459.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.503e-05/0.5949, allocations: 71.16 kB / 0.6156 GB, free: 9.898 MB / 459.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00145/0.5963, allocations: 0.8822 MB / 0.6165 GB, free: 9.008 MB / 459.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.955e-05/0.5964, allocations: 12 kB / 0.6165 GB, free: 8.996 MB / 459.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.195e-06/0.5964, allocations: 0 / 0.6165 GB, free: 8.996 MB / 459.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.5964, allocations: 7.984 kB / 0.6165 GB, free: 8.988 MB / 459.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002592/0.599, allocations: 1.739 MB / 0.6182 GB, free: 7.191 MB / 459.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.599, allocations: 0 / 0.6182 GB, free: 7.191 MB / 459.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007712/0.5998, allocations: 167.8 kB / 0.6183 GB, free: 7.027 MB / 459.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.435e-06/0.5998, allocations: 4.203 kB / 0.6183 GB, free: 7.023 MB / 459.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.811e-05/0.5998, allocations: 19.94 kB / 0.6184 GB, free: 7.004 MB / 459.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.134e-06/0.5999, allocations: 11.92 kB / 0.6184 GB, free: 6.992 MB / 459.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.5999, allocations: 4 kB / 0.6184 GB, free: 6.988 MB / 459.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00174/0.6016, allocations: 1.451 MB / 0.6198 GB, free: 5.465 MB / 459.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002864/0.6019, allocations: 212.1 kB / 0.62 GB, free: 5.238 MB / 459.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.677e-05/0.602, allocations: 11.95 kB / 0.62 GB, free: 5.227 MB / 459.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004039/0.6024, allocations: 39.94 kB / 0.6201 GB, free: 5.188 MB / 459.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.377e-05/0.6025, allocations: 40.52 kB / 0.6201 GB, free: 5.148 MB / 459.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.844e-05/0.6026, allocations: 39.95 kB / 0.6201 GB, free: 5.109 MB / 459.1 MB Notification: Performance of sorting global known variables: time 0.0003942/0.603, allocations: 375.1 kB / 0.6205 GB, free: 4.746 MB / 459.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.603, allocations: 4 kB / 0.6205 GB, free: 4.742 MB / 459.1 MB Notification: Performance of remove unused functions: time 0.0009298/0.604, allocations: 227.9 kB / 0.6207 GB, free: 4.52 MB / 459.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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 63 * 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.000278/0.6042, allocations: 180.1 kB / 0.6209 GB, free: 4.336 MB / 459.1 MB Notification: Performance of simCode: created initialization part: time 0.001649/0.6059, allocations: 1.227 MB / 0.6221 GB, free: 3.07 MB / 459.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.6059, allocations: 4.125 kB / 0.6221 GB, free: 3.066 MB / 459.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005568/0.6065, allocations: 0.4897 MB / 0.6226 GB, free: 2.566 MB / 459.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005665/0.6071, allocations: 111.5 kB / 0.6227 GB, free: 2.461 MB / 459.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002427/0.6095, allocations: 1.584 MB / 0.6242 GB, free: 0.8359 MB / 459.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006853/0.6102, allocations: 1.135 MB / 0.6253 GB, free: 15.67 MB / 475.1 MB Notification: Performance of simCode: alias equations: time 0.0007642/0.611, allocations: 302.4 kB / 0.6256 GB, free: 15.37 MB / 475.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001634/0.6111, allocations: 59.42 kB / 0.6257 GB, free: 15.31 MB / 475.1 MB Notification: Performance of SimCode: time 2.81e-07/0.6112, allocations: 0 / 0.6257 GB, free: 15.31 MB / 475.1 MB Notification: Performance of Templates: time 0.01435/0.6255, allocations: 8.112 MB / 0.6336 GB, free: 7.199 MB / 475.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","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches