Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001726/0.001726, allocations: 74.27 kB / 21.24 MB, free: 0.5547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002254/0.002254, allocations: 159.7 kB / 24.5 MB, free: 3.715 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.539/1.539, allocations: 177.2 MB / 204.9 MB, free: 8.992 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1783/0.1783, allocations: 29.42 MB / 290.7 MB, free: 3.266 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper") [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002081/0.002081, allocations: 63.91 kB / 431.2 MB, free: 3.215 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3664/0.3685, allocations: 62.44 MB / 493.6 MB, free: 37.75 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper): time 0.006779/0.3752, allocations: 6.269 MB / 499.9 MB, free: 33.57 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00227/0.3775, allocations: 1.57 MB / 0.4897 GB, free: 32.5 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002876/0.3778, allocations: 28.69 kB / 0.4897 GB, free: 32.48 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005873/0.3784, allocations: 182.9 kB / 0.4899 GB, free: 32.39 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006628/0.379, allocations: 388.5 kB / 0.4903 GB, free: 32.15 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003699/0.3794, allocations: 231.3 kB / 0.4905 GB, free: 32.02 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007827/0.3802, allocations: 1.071 MB / 0.4916 GB, free: 31.5 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003676/0.3806, allocations: 303.6 kB / 0.4918 GB, free: 31.35 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005518/0.3811, allocations: 0.491 MB / 0.4923 GB, free: 31.12 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005669/0.3817, allocations: 464.2 kB / 0.4928 GB, free: 30.95 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001056/0.3818, allocations: 89.14 kB / 0.4929 GB, free: 30.95 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001371/0.3819, allocations: 85.59 kB / 0.4929 GB, free: 30.95 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002249/0.3821, allocations: 279.8 kB / 0.4932 GB, free: 30.82 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003069/0.3825, allocations: 332.3 kB / 0.4935 GB, free: 30.64 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008701/0.3833, allocations: 1.052 MB / 0.4945 GB, free: 30.25 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3833, allocations: 0 / 0.4945 GB, free: 30.25 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3833, allocations: 4 kB / 0.4945 GB, free: 30.25 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.212e-05/0.3833, allocations: 0 / 0.4945 GB, free: 30.25 MB / 446.1 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.001861/0.3852, allocations: 0.9627 MB / 0.4955 GB, free: 29.62 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.3852, allocations: 13.58 kB / 0.4955 GB, free: 29.62 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001365/0.3854, allocations: 78.97 kB / 0.4956 GB, free: 29.58 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001047/0.3864, allocations: 0.584 MB / 0.4961 GB, free: 29.22 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001434/0.3866, allocations: 189.5 kB / 0.4963 GB, free: 29.04 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.128e-05/0.3867, allocations: 58.31 kB / 0.4964 GB, free: 29.02 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001089/0.3878, allocations: 0.7525 MB / 0.4971 GB, free: 28.66 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.3878, allocations: 3.938 kB / 0.4971 GB, free: 28.66 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.231e-05/0.3878, allocations: 22.5 kB / 0.4971 GB, free: 28.64 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.455e-05/0.3878, allocations: 12.94 kB / 0.4972 GB, free: 28.64 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00101/0.3888, allocations: 0.5996 MB / 0.4977 GB, free: 28.44 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002534/0.3914, allocations: 2.151 MB / 0.4998 GB, free: 26.94 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007757/0.3922, allocations: 398.9 kB / 0.5002 GB, free: 26.74 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003716/0.3925, allocations: 183.9 kB / 0.5004 GB, free: 26.66 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.809e-05/0.3926, allocations: 3.5 kB / 0.5004 GB, free: 26.66 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003938/0.3929, allocations: 253.3 kB / 0.5006 GB, free: 26.52 MB / 446.1 MB Notification: Performance of pre-optimization done (n=36): time 2.334e-06/0.393, allocations: 0 / 0.5006 GB, free: 26.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=36): time 0.002927/0.3959, allocations: 0.7873 MB / 0.5014 GB, free: 26.27 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.578e-05/0.3959, allocations: 150.6 kB / 0.5016 GB, free: 26.11 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002938/0.3962, allocations: 348.1 kB / 0.5019 GB, free: 25.92 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.521e-05/0.3963, allocations: 33.7 kB / 0.5019 GB, free: 25.88 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001708/0.3964, allocations: 326.6 kB / 0.5022 GB, free: 25.62 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.725e-05/0.3965, allocations: 129.1 kB / 0.5024 GB, free: 25.52 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.785e-05/0.3966, allocations: 74.61 kB / 0.5024 GB, free: 25.48 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.314e-05/0.3967, allocations: 350.4 kB / 0.5028 GB, free: 25.15 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002607/0.3969, allocations: 136.2 kB / 0.5029 GB, free: 25.11 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003063/0.3972, allocations: 248.8 kB / 0.5031 GB, free: 24.92 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001314/0.3986, allocations: 0.6577 MB / 0.5038 GB, free: 24.57 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.3986, allocations: 7.156 kB / 0.5038 GB, free: 24.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008983/0.3995, allocations: 0.5142 MB / 0.5043 GB, free: 24.34 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.3995, allocations: 8.156 kB / 0.5043 GB, free: 24.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.477e-06/0.3995, allocations: 2.625 kB / 0.5043 GB, free: 24.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004133/0.3999, allocations: 151.6 kB / 0.5044 GB, free: 24.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002665/0.4002, allocations: 78.59 kB / 0.5045 GB, free: 24.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002943/0.4031, allocations: 2.113 MB / 0.5066 GB, free: 22.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003221/0.4034, allocations: 54.2 kB / 0.5066 GB, free: 22.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.972e-05/0.4035, allocations: 16.38 kB / 0.5066 GB, free: 22.54 MB / 446.1 MB Warning: Assuming fixed start value for the following 2 variables: chopper.modulator.t1:DISCRETE(unit = \"s\" fixed = true protected = true ) type: Real chopper.modulator.t0:DISCRETE(unit = \"s\" fixed = true 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.t1,$PRE.chopper.modulator.t0,chopper.chopper.diode.on,chopper.modulator.t1,chopper.modulator.t0,chopper.modulator.gate) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0003204/0.4038, allocations: 252.9 kB / 0.5069 GB, free: 22.35 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.302e-05/0.4038, allocations: 42.81 kB / 0.5069 GB, free: 22.32 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001123/0.405, allocations: 480 kB / 0.5074 GB, free: 22.12 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.405, allocations: 3.25 kB / 0.5074 GB, free: 22.12 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.405, allocations: 3.062 kB / 0.5074 GB, free: 22.12 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.405, allocations: 11.5 kB / 0.5074 GB, free: 22.12 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005397/0.4055, allocations: 0.5277 MB / 0.5079 GB, free: 21.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.604e-06/0.4055, allocations: 0 / 0.5079 GB, free: 21.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002208/0.4057, allocations: 51.89 kB / 0.508 GB, free: 21.74 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003932/0.4061, allocations: 142.1 kB / 0.5081 GB, free: 21.69 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.524e-05/0.4062, allocations: 6.906 kB / 0.5081 GB, free: 21.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002593/0.4087, allocations: 2.108 MB / 0.5102 GB, free: 19.98 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.4087, allocations: 2.969 kB / 0.5102 GB, free: 19.98 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0014/0.4101, allocations: 0.6887 MB / 0.5108 GB, free: 19.66 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001471/0.4103, allocations: 65.33 kB / 0.5109 GB, free: 19.62 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.347e-05/0.4103, allocations: 7.031 kB / 0.5109 GB, free: 19.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002122/0.4105, allocations: 19.59 kB / 0.5109 GB, free: 19.61 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/0.4107, allocations: 41.28 kB / 0.511 GB, free: 19.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-05/0.4107, allocations: 13.19 kB / 0.511 GB, free: 19.59 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002101/0.4109, allocations: 244.9 kB / 0.5112 GB, free: 19.46 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4109, allocations: 3.938 kB / 0.5112 GB, free: 19.45 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006263/0.4115, allocations: 167.1 kB / 0.5114 GB, free: 19.41 MB / 446.1 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.gate,chopper.modulator.t0,chopper.modulator.t1,chopper.chopper.diode.on,system.initime) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001183/0.4116, allocations: 111.3 kB / 0.5115 GB, free: 19.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00092/0.4126, allocations: 0.4932 MB / 0.512 GB, free: 19.06 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.4126, allocations: 0 / 0.512 GB, free: 19.06 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000462/0.413, allocations: 327.9 kB / 0.5123 GB, free: 18.87 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005647/0.4136, allocations: 127 kB / 0.5124 GB, free: 18.82 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002005/0.4156, allocations: 1.257 MB / 0.5136 GB, free: 18.09 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003326/0.4159, allocations: 329.9 kB / 0.5139 GB, free: 17.96 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002375/0.4162, allocations: 79.53 kB / 0.514 GB, free: 17.95 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.117e-05/0.4162, allocations: 33.19 kB / 0.514 GB, free: 17.93 MB / 446.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4162, allocations: 0 / 0.514 GB, free: 17.93 MB / 446.1 MB Notification: Performance of Templates: time 0.01536/0.4316, allocations: 6.931 MB / 0.5208 GB, free: 17.12 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.349542684969492] Failed to read output from testmodel.py, exit status != 0: 0.44066715298686177 0.454548647 0.06809438300000001 Calling exit ...