Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.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.AC1ph_DC.Elementary.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter2.i|meter2.p|meter2.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter2.i|meter2.p|meter2.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001546/0.001546, allocations: 174.8 kB / 13.63 MB, free: 1.684 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.522/1.522, allocations: 205.2 MB / 219.4 MB, free: 14.26 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.0009042/0.0009044, allocations: 86.66 kB / 267.5 MB, free: 14.1 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1581/0.1581, allocations: 37.98 MB / 353.5 MB, free: 1.754 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.268e-05/3.306e-05, allocations: 4 kB / 417.7 MB, free: 29.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1047, allocations: 56.32 MB / 474.1 MB, free: 4.797 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4416/0.5464, allocations: 99.95 MB / 0.5606 GB, free: 2.781 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002453/0.5467, allocations: 87.7 kB / 0.5606 GB, free: 2.738 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0481/0.5948, allocations: 11.52 MB / 0.5719 GB, free: 8.781 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.786e-06/0.5948, allocations: 0 / 0.5719 GB, free: 8.781 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.821e-05/0.5949, allocations: 12 kB / 0.5719 GB, free: 8.77 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001777/0.5967, allocations: 0.7581 MB / 0.5726 GB, free: 7.992 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.5968, allocations: 8.031 kB / 0.5727 GB, free: 7.984 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001897/0.597, allocations: 67.2 kB / 0.5727 GB, free: 7.918 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004831/0.6018, allocations: 1.217 MB / 0.5739 GB, free: 6.848 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.701e-05/0.6019, allocations: 30.88 kB / 0.5739 GB, free: 6.832 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/0.602, allocations: 42.5 kB / 0.574 GB, free: 6.801 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001329/0.6033, allocations: 0.5258 MB / 0.5745 GB, free: 6.375 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/0.6034, allocations: 0 / 0.5745 GB, free: 6.375 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.589e-05/0.6035, allocations: 14.44 kB / 0.5745 GB, free: 6.371 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.458e-05/0.6035, allocations: 28.28 kB / 0.5745 GB, free: 6.348 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001026/0.6046, allocations: 381.1 kB / 0.5749 GB, free: 6.082 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003562/0.6081, allocations: 1.932 MB / 0.5768 GB, free: 4.316 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008508/0.609, allocations: 325.6 kB / 0.5771 GB, free: 4.074 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004765/0.6095, allocations: 180.2 kB / 0.5773 GB, free: 3.945 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.592e-05/0.6096, allocations: 8 kB / 0.5773 GB, free: 3.938 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005793/0.6102, allocations: 266.9 kB / 0.5775 GB, free: 3.691 MB / 378.7 MB Notification: Performance of pre-optimization done (n=35): time 5.46e-06/0.6102, allocations: 0 / 0.5775 GB, free: 3.691 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.002438/0.6126, allocations: 1.061 MB / 0.5786 GB, free: 2.723 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001163/0.6128, allocations: 165.3 kB / 0.5787 GB, free: 2.527 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005945/0.6134, allocations: 345.7 kB / 0.579 GB, free: 2.238 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.345e-05/0.6134, allocations: 36.02 kB / 0.5791 GB, free: 2.203 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003047/0.6137, allocations: 294.6 kB / 0.5794 GB, free: 1.977 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001457/0.6139, allocations: 115.4 kB / 0.5795 GB, free: 1.879 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.836e-05/0.6139, allocations: 14.75 kB / 0.5795 GB, free: 1.871 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002029/0.6142, allocations: 358.5 kB / 0.5798 GB, free: 1.531 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00031/0.6145, allocations: 114.6 kB / 0.5799 GB, free: 1.453 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004791/0.615, allocations: 285.8 kB / 0.5802 GB, free: 1.148 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004106/0.6154, allocations: 177.3 kB / 0.5804 GB, free: 1.008 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.6154, allocations: 0 / 0.5804 GB, free: 1.008 MB / 378.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001185/0.6166, allocations: 0.5089 MB / 0.5809 GB, free: 0.582 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.756e-05/0.6167, allocations: 37.66 kB / 0.5809 GB, free: 0.5391 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.665e-05/0.6167, allocations: 4 kB / 0.5809 GB, free: 0.5352 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.285e-05/0.6167, allocations: 8 kB / 0.5809 GB, free: 0.5273 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007092/0.6175, allocations: 111.2 kB / 0.581 GB, free: 432 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.345e-05/0.6175, allocations: 11.94 kB / 0.581 GB, free: 420 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004732/0.618, allocations: 30.58 kB / 0.5811 GB, free: 400 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.927e-05/0.6181, allocations: 31.3 kB / 0.5811 GB, free: 372 kB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002094/0.6183, allocations: 175.8 kB / 0.5813 GB, free: 196 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.678e-05/0.6184, allocations: 51.44 kB / 0.5813 GB, free: 144 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001085/0.6195, allocations: 446.1 kB / 0.5817 GB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.094e-05/0.6195, allocations: 4 kB / 0.5817 GB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.6196, allocations: 0 / 0.5817 GB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.6196, allocations: 7.984 kB / 0.5818 GB, free: 15.79 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001801/0.6214, allocations: 0.942 MB / 0.5827 GB, free: 14.98 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/0.6214, allocations: 3.953 kB / 0.5827 GB, free: 14.97 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004843/0.6219, allocations: 63.89 kB / 0.5827 GB, free: 14.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.663e-06/0.6219, allocations: 4 kB / 0.5827 GB, free: 14.91 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.59e-05/0.622, allocations: 9.562 kB / 0.5828 GB, free: 14.9 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.124e-06/0.622, allocations: 4 kB / 0.5828 GB, free: 14.9 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.622, allocations: 0 / 0.5828 GB, free: 14.9 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00151/0.6235, allocations: 0.7271 MB / 0.5835 GB, free: 14.29 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002951/0.6239, allocations: 138.5 kB / 0.5836 GB, free: 14.14 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.48e-05/0.624, allocations: 14.5 kB / 0.5836 GB, free: 14.13 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003971/0.6244, allocations: 15.06 kB / 0.5836 GB, free: 14.12 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.6245, allocations: 22.91 kB / 0.5836 GB, free: 14.1 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.252e-05/0.6246, allocations: 33.2 kB / 0.5837 GB, free: 14.07 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000525/0.6252, allocations: 262.3 kB / 0.5839 GB, free: 13.86 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.771e-06/0.6252, allocations: 0 / 0.5839 GB, free: 13.86 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009537/0.6261, allocations: 118.2 kB / 0.584 GB, free: 13.76 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (trafo.i1) * 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 (33): * Single equations (assignments): 31 * Array equations: 0 * 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.0003731/0.6265, allocations: 157.1 kB / 0.5842 GB, free: 13.6 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001034/0.6276, allocations: 400.4 kB / 0.5846 GB, free: 13.28 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.6276, allocations: 4 kB / 0.5846 GB, free: 13.28 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005307/0.6282, allocations: 252.3 kB / 0.5848 GB, free: 13.08 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008428/0.629, allocations: 91.53 kB / 0.5849 GB, free: 13.02 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001994/0.631, allocations: 0.7113 MB / 0.5856 GB, free: 12.36 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006586/0.6317, allocations: 0.8922 MB / 0.5865 GB, free: 11.45 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005144/0.6322, allocations: 96.3 kB / 0.5866 GB, free: 11.36 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/0.6324, allocations: 34.88 kB / 0.5866 GB, free: 11.32 MB / 394.7 MB Notification: Performance of SimCode: time 9.32e-07/0.6324, allocations: 0 / 0.5866 GB, free: 11.32 MB / 394.7 MB Notification: Performance of Templates: time 0.01431/0.6467, allocations: 4.321 MB / 0.5908 GB, free: 7.02 MB / 394.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches