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.001096/0.001096, allocations: 181.2 kB / 16.39 MB, free: 5.762 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.517/1.517, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001072/0.001073, allocations: 88 kB / 270.8 MB, free: 8.367 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1703/0.1703, allocations: 38.06 MB / 357.2 MB, free: 1.883 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003046/0.0003046, allocations: 8 kB / 424 MB, free: 37.66 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2692/0.2695, allocations: 56.31 MB / 480.3 MB, free: 9.543 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1323/0.4018, allocations: 100.1 MB / 0.5668 GB, free: 2.352 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000254/0.4021, allocations: 99.94 kB / 0.5669 GB, free: 2.254 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03244/0.4346, allocations: 11.51 MB / 0.5781 GB, free: 6.586 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.4346, allocations: 4 kB / 0.5781 GB, free: 6.582 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.588e-05/0.4347, allocations: 19.92 kB / 0.5781 GB, free: 6.562 MB / 410.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.001449/0.4361, allocations: 0.8302 MB / 0.5789 GB, free: 5.676 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.4362, allocations: 15.97 kB / 0.5789 GB, free: 5.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001134/0.4363, allocations: 63.2 kB / 0.579 GB, free: 5.598 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003055/0.4394, allocations: 1.227 MB / 0.5802 GB, free: 4.328 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.349e-05/0.4394, allocations: 33 kB / 0.5802 GB, free: 4.297 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.114e-05/0.4395, allocations: 36 kB / 0.5803 GB, free: 4.262 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008015/0.4403, allocations: 0.5351 MB / 0.5808 GB, free: 3.688 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.4403, allocations: 0 / 0.5808 GB, free: 3.688 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.044e-05/0.4404, allocations: 19.94 kB / 0.5808 GB, free: 3.668 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.195e-05/0.4404, allocations: 20.98 kB / 0.5808 GB, free: 3.648 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006213/0.441, allocations: 391.6 kB / 0.5812 GB, free: 3.266 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002339/0.4434, allocations: 1.929 MB / 0.5831 GB, free: 1.227 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005533/0.444, allocations: 333.3 kB / 0.5834 GB, free: 0.8828 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.444, allocations: 4.062 kB / 0.5834 GB, free: 0.8789 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003513/0.4443, allocations: 280.3 kB / 0.5837 GB, free: 0.5742 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 1.954e-06/0.4444, allocations: 0 / 0.5837 GB, free: 0.5742 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.002044/0.4464, allocations: 1.453 MB / 0.5851 GB, free: 14.99 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.812e-05/0.4465, allocations: 162.2 kB / 0.5853 GB, free: 14.8 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003463/0.4469, allocations: 345 kB / 0.5856 GB, free: 14.46 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.043e-05/0.4469, allocations: 33.7 kB / 0.5856 GB, free: 14.42 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002094/0.4471, allocations: 303.6 kB / 0.5859 GB, free: 14.12 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.875e-05/0.4472, allocations: 118.3 kB / 0.586 GB, free: 14 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.869e-05/0.4472, allocations: 8 kB / 0.586 GB, free: 13.99 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.4474, allocations: 358.8 kB / 0.5864 GB, free: 13.63 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001937/0.4476, allocations: 121 kB / 0.5865 GB, free: 13.51 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002984/0.4479, allocations: 286.1 kB / 0.5868 GB, free: 13.16 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002514/0.4482, allocations: 185.6 kB / 0.5869 GB, free: 12.97 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.4482, allocations: 4 kB / 0.5869 GB, free: 12.97 MB / 426.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0007869/0.449, allocations: 0.6139 MB / 0.5875 GB, free: 12.32 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.55e-05/0.449, allocations: 33.7 kB / 0.5876 GB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.4491, allocations: 8 kB / 0.5876 GB, free: 12.28 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001149/0.4492, allocations: 33.5 kB / 0.5876 GB, free: 12.24 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003811/0.4496, allocations: 107.8 kB / 0.5877 GB, free: 12.14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000999/0.4506, allocations: 1.385 MB / 0.5891 GB, free: 10.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002723/0.4509, allocations: 31.92 kB / 0.5891 GB, free: 10.58 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.149e-05/0.4509, allocations: 31.97 kB / 0.5891 GB, free: 10.55 MB / 426.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 57 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002599/0.4512, allocations: 247.1 kB / 0.5894 GB, free: 10.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.291e-05/0.4513, allocations: 59.61 kB / 0.5894 GB, free: 10.24 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007564/0.452, allocations: 0.5365 MB / 0.5899 GB, free: 9.668 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.452, allocations: 11.94 kB / 0.59 GB, free: 9.656 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.452, allocations: 0 / 0.59 GB, free: 9.656 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.4521, allocations: 0 / 0.59 GB, free: 9.656 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001275/0.4533, allocations: 1.061 MB / 0.591 GB, free: 8.508 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.4534, allocations: 0 / 0.591 GB, free: 8.508 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002936/0.4537, allocations: 55.91 kB / 0.591 GB, free: 8.453 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.18e-05/0.4537, allocations: 24.84 kB / 0.5911 GB, free: 8.426 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.047e-05/0.4538, allocations: 15.98 kB / 0.5911 GB, free: 8.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009057/0.4547, allocations: 1.365 MB / 0.5924 GB, free: 6.91 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.4547, allocations: 0 / 0.5924 GB, free: 6.91 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009894/0.4557, allocations: 0.8322 MB / 0.5932 GB, free: 6.016 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001729/0.4559, allocations: 140.5 kB / 0.5934 GB, free: 5.859 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.206e-05/0.4559, allocations: 11.95 kB / 0.5934 GB, free: 5.848 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002296/0.4562, allocations: 28.05 kB / 0.5934 GB, free: 5.82 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.904e-05/0.4562, allocations: 19.97 kB / 0.5934 GB, free: 5.801 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.945e-05/0.4563, allocations: 35.95 kB / 0.5935 GB, free: 5.766 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002438/0.4565, allocations: 267.1 kB / 0.5937 GB, free: 5.508 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4565, allocations: 0 / 0.5937 GB, free: 5.508 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005332/0.4571, allocations: 115.9 kB / 0.5938 GB, free: 5.395 MB / 426.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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 29 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002138/0.4573, allocations: 139.2 kB / 0.5939 GB, free: 5.246 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006921/0.458, allocations: 0.5142 MB / 0.5945 GB, free: 4.707 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.458, allocations: 3.938 kB / 0.5945 GB, free: 4.703 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000374/0.4584, allocations: 374.4 kB / 0.5948 GB, free: 4.312 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004576/0.4589, allocations: 89.95 kB / 0.5949 GB, free: 4.223 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001521/0.4604, allocations: 1.189 MB / 0.5961 GB, free: 3 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004886/0.4609, allocations: 0.8976 MB / 0.5969 GB, free: 2.074 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002874/0.4612, allocations: 88.44 kB / 0.597 GB, free: 1.984 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.717e-05/0.4613, allocations: 35.44 kB / 0.5971 GB, free: 1.949 MB / 426.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4613, allocations: 0 / 0.5971 GB, free: 1.949 MB / 426.7 MB Notification: Performance of Templates: time 0.00877/0.4701, allocations: 4.37 MB / 0.6013 GB, free: 13.59 MB / 442.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