Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.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.Inverters.Chopper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meterDCin.i|meterDCin.p|meterDCin.v|meterDCout.i|meterDCout.p|meterDCout.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meterDCin.i|meterDCin.p|meterDCin.v|meterDCout.i|meterDCout.p|meterDCout.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001208/0.001208, 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.334/1.334, 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.0009333/0.0009339, allocations: 86.64 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.1552/0.1552, allocations: 37.98 MB / 353.5 MB, free: 1.754 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.112e-05/3.139e-05, allocations: 4 kB / 417.7 MB, free: 29.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1132, allocations: 56.32 MB / 474.1 MB, free: 4.801 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4053/0.5186, allocations: 98.15 MB / 0.5588 GB, free: 4.484 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002137/0.5188, allocations: 92.2 kB / 0.5589 GB, free: 4.441 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04015/0.559, allocations: 16.12 MB / 0.5746 GB, free: 6.68 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.559, allocations: 7.938 kB / 0.5746 GB, free: 6.672 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.249e-05/0.5591, allocations: 12 kB / 0.5746 GB, free: 6.66 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.001544/0.5606, allocations: 0.8629 MB / 0.5755 GB, free: 5.789 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.5607, allocations: 8.031 kB / 0.5755 GB, free: 5.781 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001463/0.5608, allocations: 75.16 kB / 0.5756 GB, free: 5.707 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002682/0.5635, allocations: 1.163 MB / 0.5767 GB, free: 4.75 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001425/0.5637, allocations: 110.7 kB / 0.5768 GB, free: 4.652 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.256e-05/0.5638, allocations: 59.69 kB / 0.5769 GB, free: 4.613 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001124/0.5649, allocations: 0.7137 MB / 0.5776 GB, free: 4.082 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.5649, allocations: 3.953 kB / 0.5776 GB, free: 4.078 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.189e-05/0.565, allocations: 23.06 kB / 0.5776 GB, free: 4.074 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.645e-05/0.565, allocations: 16 kB / 0.5776 GB, free: 4.059 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008517/0.5659, allocations: 0.5341 MB / 0.5781 GB, free: 3.707 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00337/0.5693, allocations: 2.508 MB / 0.5806 GB, free: 1.637 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000773/0.5701, allocations: 417 kB / 0.581 GB, free: 1.316 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003102/0.5704, allocations: 186 kB / 0.5811 GB, free: 1.188 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.056e-05/0.5704, allocations: 8.281 kB / 0.5812 GB, free: 1.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003273/0.5708, allocations: 222.3 kB / 0.5814 GB, free: 0.9922 MB / 378.7 MB Notification: Performance of pre-optimization done (n=36): time 2.805e-06/0.5708, allocations: 0 / 0.5814 GB, free: 0.9922 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.001082/0.5719, allocations: 443.1 kB / 0.5818 GB, free: 0.6445 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.938e-05/0.572, allocations: 135.6 kB / 0.5819 GB, free: 496 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003834/0.5723, allocations: 348.2 kB / 0.5822 GB, free: 212 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.51e-05/0.5724, allocations: 35.86 kB / 0.5823 GB, free: 176 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002076/0.5726, allocations: 324.8 kB / 0.5826 GB, free: 15.93 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.519e-05/0.5727, allocations: 115.5 kB / 0.5827 GB, free: 15.83 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.831e-05/0.5727, allocations: 10.94 kB / 0.5827 GB, free: 15.82 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.5729, allocations: 362 kB / 0.5831 GB, free: 15.48 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001843/0.5731, allocations: 110.7 kB / 0.5832 GB, free: 15.41 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002481/0.5733, allocations: 226.8 kB / 0.5834 GB, free: 15.2 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002374/0.5736, allocations: 151 kB / 0.5835 GB, free: 15.09 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.5736, allocations: 0 / 0.5835 GB, free: 15.09 MB / 394.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001001/0.5746, allocations: 0.5188 MB / 0.584 GB, free: 14.68 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.5746, allocations: 8 kB / 0.584 GB, free: 14.68 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/0.5746, allocations: 4 kB / 0.584 GB, free: 14.67 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003055/0.575, allocations: 131.3 kB / 0.5842 GB, free: 14.57 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003223/0.5753, allocations: 83.72 kB / 0.5842 GB, free: 14.49 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002215/0.5775, allocations: 1.94 MB / 0.5861 GB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003403/0.5779, allocations: 55.53 kB / 0.5862 GB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.945e-05/0.5779, allocations: 19.56 kB / 0.5862 GB, free: 12.65 MB / 394.7 MB Warning: Assuming fixed start value for the following 2 variables: chopper.modulator.t1:DISCRETE(unit = "s" fixed = false protected = true ) type: Real chopper.modulator.t0:DISCRETE(unit = "s" fixed = false protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 8 (system.initime,$whenCondition1,$PRE.chopper.modulator.t0,chopper.modulator.t0,$PRE.chopper.modulator.t1,chopper.modulator.t1,chopper.chopper.gate,chopper.chopper.diode.on) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * 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: 0 * Non-linear torn systems: 1 {2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001351/0.578, allocations: 140.3 kB / 0.5863 GB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.212e-05/0.5781, allocations: 43.44 kB / 0.5864 GB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009699/0.5791, allocations: 453.1 kB / 0.5868 GB, free: 12.15 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.505e-05/0.5791, allocations: 7.984 kB / 0.5868 GB, free: 12.14 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.5791, allocations: 3.938 kB / 0.5868 GB, free: 12.14 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.979e-05/0.5792, allocations: 7.938 kB / 0.5868 GB, free: 12.13 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000755/0.5799, allocations: 0.6609 MB / 0.5875 GB, free: 11.55 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.5799, allocations: 4 kB / 0.5875 GB, free: 11.54 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002693/0.5802, allocations: 59.75 kB / 0.5875 GB, free: 11.49 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002505/0.5805, allocations: 123.7 kB / 0.5877 GB, free: 11.39 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.804e-05/0.5805, allocations: 7.891 kB / 0.5877 GB, free: 11.39 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002093/0.5826, allocations: 1.931 MB / 0.5896 GB, free: 9.625 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.5826, allocations: 0 / 0.5896 GB, free: 9.625 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001245/0.5839, allocations: 0.6818 MB / 0.5902 GB, free: 9.066 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001755/0.5841, allocations: 153.1 kB / 0.5904 GB, free: 8.914 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.003e-05/0.5841, allocations: 7.062 kB / 0.5904 GB, free: 8.91 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000233/0.5844, allocations: 19.78 kB / 0.5904 GB, free: 8.895 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/0.5845, allocations: 42.33 kB / 0.5904 GB, free: 8.859 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.313e-05/0.5845, allocations: 10.94 kB / 0.5904 GB, free: 8.852 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002961/0.5848, allocations: 279.3 kB / 0.5907 GB, free: 8.637 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5848, allocations: 0 / 0.5907 GB, free: 8.637 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005941/0.5854, allocations: 172.4 kB / 0.5909 GB, free: 8.48 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (meterDCin.pav,meterDCout.pav,load.i) * Number of discrete variables: 6 ($whenCondition1,chopper.modulator.t0,chopper.modulator.t1,chopper.chopper.gate,chopper.chopper.diode.on,system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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: 0 * Non-linear torn systems: 1 {2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002306/0.5857, allocations: 129.1 kB / 0.591 GB, free: 8.348 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007804/0.5865, allocations: 488.2 kB / 0.5915 GB, free: 7.969 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.5865, allocations: 4 kB / 0.5915 GB, free: 7.965 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004259/0.5869, allocations: 314.1 kB / 0.5918 GB, free: 7.711 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006063/0.5875, allocations: 147.3 kB / 0.5919 GB, free: 7.598 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001566/0.5891, allocations: 0.9092 MB / 0.5928 GB, free: 6.766 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005613/0.5897, allocations: 0.9389 MB / 0.5937 GB, free: 5.824 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002927/0.59, allocations: 88.56 kB / 0.5938 GB, free: 5.738 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.36e-05/0.5901, allocations: 31.44 kB / 0.5938 GB, free: 5.707 MB / 394.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5901, allocations: 4 kB / 0.5938 GB, free: 5.703 MB / 394.7 MB Notification: Performance of Templates: time 0.01422/0.6043, allocations: 7.857 MB / 0.6015 GB, free: 13.88 MB / 410.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches