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.001409/0.001409, allocations: 84.34 kB / 20.96 MB, free: 3.449 MB / 18.57 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.001583/0.001583, allocations: 165.3 kB / 24.27 MB, free: 144 kB / 18.57 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.479/1.479, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 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.3741/0.3741, allocations: 29.41 MB / 290.5 MB, free: 2.438 MB / 266.7 MB " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.403e-05/2.583e-05, allocations: 2.312 kB / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper): time 0.009346/0.009372, allocations: 6.247 MB / 375.1 MB, free: 5.039 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00332/0.01269, allocations: 1.566 MB / 376.7 MB, free: 3.469 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005007/0.01319, allocations: 31.75 kB / 376.7 MB, free: 3.438 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000731/0.01392, allocations: 186.4 kB / 376.9 MB, free: 3.254 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001042/0.01497, allocations: 397.5 kB / 377.3 MB, free: 2.863 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006338/0.0156, allocations: 235.5 kB / 377.5 MB, free: 2.633 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001395/0.01699, allocations: 1.102 MB / 378.6 MB, free: 1.527 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005204/0.01751, allocations: 306.8 kB / 378.9 MB, free: 1.215 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001081/0.0186, allocations: 0.6624 MB / 379.6 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001045/0.01964, allocations: 430.9 kB / 380 MB, free: 132 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001367/0.01978, allocations: 84 kB / 380.1 MB, free: 48 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001807/0.01996, allocations: 84.05 kB / 380.2 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003602/0.02032, allocations: 299.1 kB / 380.5 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000401/0.02072, allocations: 283.4 kB / 380.7 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001403/0.02212, allocations: 1.063 MB / 381.8 MB, free: 14.33 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.02213, allocations: 0 / 381.8 MB, free: 14.33 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.02213, allocations: 0 / 381.8 MB, free: 14.33 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.167e-05/0.02214, allocations: 0 / 381.8 MB, free: 14.33 MB / 362.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.002192/0.02433, allocations: 0.949 MB / 382.8 MB, free: 13.35 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.02437, allocations: 11.98 kB / 382.8 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002522/0.02462, allocations: 128.5 kB / 382.9 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001302/0.02593, allocations: 0.6217 MB / 383.5 MB, free: 12.56 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002401/0.02617, allocations: 198.3 kB / 383.7 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001159/0.02628, allocations: 56.38 kB / 383.8 MB, free: 12.28 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001517/0.0278, allocations: 0.7541 MB / 384.5 MB, free: 11.49 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.02782, allocations: 0 / 384.5 MB, free: 11.49 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-05/0.02789, allocations: 24 kB / 384.5 MB, free: 11.47 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.742e-05/0.02791, allocations: 12 kB / 384.5 MB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00135/0.02926, allocations: 0.605 MB / 385.2 MB, free: 10.85 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003938/0.0332, allocations: 2.16 MB / 387.3 MB, free: 8.613 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009937/0.03419, allocations: 389.5 kB / 387.7 MB, free: 8.207 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004677/0.03466, allocations: 195 kB / 387.9 MB, free: 8.012 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.291e-05/0.03469, allocations: 12.22 kB / 387.9 MB, free: 8 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005119/0.03521, allocations: 235.5 kB / 388.1 MB, free: 7.746 MB / 362.7 MB Notification: Performance of pre-optimization done (n=36): time 4.047e-06/0.03521, allocations: 3.984 kB / 388.1 MB, free: 7.742 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.00331/0.03852, allocations: 0.8073 MB / 388.9 MB, free: 6.926 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/0.03862, allocations: 132.5 kB / 389.1 MB, free: 6.766 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004654/0.03909, allocations: 353.6 kB / 389.4 MB, free: 6.414 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.09e-05/0.03913, allocations: 33.64 kB / 389.4 MB, free: 6.375 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003096/0.03944, allocations: 336.6 kB / 389.8 MB, free: 6.039 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001334/0.03957, allocations: 127 kB / 389.9 MB, free: 5.914 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001638/0.03974, allocations: 86.14 kB / 390 MB, free: 5.82 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002118/0.03995, allocations: 350.7 kB / 390.3 MB, free: 5.469 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003287/0.04028, allocations: 132.9 kB / 390.5 MB, free: 5.34 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004446/0.04072, allocations: 249.3 kB / 390.7 MB, free: 5.051 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001707/0.04243, allocations: 0.6564 MB / 391.4 MB, free: 4.348 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.04243, allocations: 0 / 391.4 MB, free: 4.348 MB / 362.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001245/0.04368, allocations: 0.5374 MB / 391.9 MB, free: 3.801 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.0437, allocations: 4 kB / 391.9 MB, free: 3.797 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.04371, allocations: 4 kB / 391.9 MB, free: 3.793 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005042/0.04421, allocations: 156.7 kB / 392.1 MB, free: 3.637 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003069/0.04452, allocations: 75.84 kB / 392.1 MB, free: 3.562 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004133/0.04865, allocations: 2.122 MB / 394.2 MB, free: 1.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003364/0.04899, allocations: 55.64 kB / 394.3 MB, free: 1.285 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.745e-05/0.04902, allocations: 20 kB / 394.3 MB, free: 1.266 MB / 362.7 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.0003718/0.0494, allocations: 237.7 kB / 394.6 MB, free: 1.023 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/0.0495, allocations: 63.77 kB / 394.6 MB, free: 0.9609 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001402/0.0509, allocations: 475.4 kB / 395.1 MB, free: 500 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/0.05091, allocations: 7.984 kB / 395.1 MB, free: 492 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.05091, allocations: 0 / 395.1 MB, free: 492 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.05092, allocations: 0 / 395.1 MB, free: 492 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008178/0.05174, allocations: 0.5222 MB / 395.6 MB, free: 15.92 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.05174, allocations: 4 kB / 395.6 MB, free: 15.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002586/0.052, allocations: 43.92 kB / 395.7 MB, free: 15.87 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000466/0.05246, allocations: 144.8 kB / 395.8 MB, free: 15.73 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.905e-05/0.05249, allocations: 12 kB / 395.8 MB, free: 15.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003711/0.0562, allocations: 2.125 MB / 397.9 MB, free: 13.49 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.05621, allocations: 4 kB / 397.9 MB, free: 13.48 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001764/0.05797, allocations: 0.7061 MB / 398.6 MB, free: 12.75 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001578/0.05813, allocations: 67.67 kB / 398.7 MB, free: 12.68 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.082e-05/0.05818, allocations: 12 kB / 398.7 MB, free: 12.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002281/0.05841, allocations: 19.98 kB / 398.7 MB, free: 12.65 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/0.05853, allocations: 35.92 kB / 398.8 MB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.941e-05/0.05856, allocations: 12 kB / 398.8 MB, free: 12.6 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002898/0.05885, allocations: 239.2 kB / 399 MB, free: 12.37 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05885, allocations: 0 / 399 MB, free: 12.37 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000632/0.05948, allocations: 167.6 kB / 399.2 MB, free: 12.21 MB / 378.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.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.0001516/0.05964, allocations: 111.2 kB / 399.3 MB, free: 12.09 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001115/0.06075, allocations: 498.5 kB / 399.8 MB, free: 11.59 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.06075, allocations: 0 / 399.8 MB, free: 11.59 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006268/0.06138, allocations: 334.6 kB / 400.1 MB, free: 11.25 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006398/0.06202, allocations: 136.3 kB / 400.2 MB, free: 11.12 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002536/0.06456, allocations: 1.167 MB / 401.4 MB, free: 9.918 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004198/0.06498, allocations: 339 kB / 401.7 MB, free: 9.559 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002444/0.06522, allocations: 76.33 kB / 401.8 MB, free: 9.48 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.124e-05/0.06531, allocations: 32.5 kB / 401.8 MB, free: 9.449 MB / 378.7 MB Notification: Performance of SimCode: time 3.91e-07/0.06531, allocations: 0 / 401.8 MB, free: 9.449 MB / 378.7 MB Notification: Performance of Templates: time 0.01435/0.07966, allocations: 6.915 MB / 408.8 MB, free: 2.668 MB / 378.7 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 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.885368784074672]