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.001242/0.001242, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001255/0.001255, allocations: 168.7 kB / 24.91 MB, free: 9.199 MB / 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.041/1.041, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] 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.2446/0.2446, allocations: 29.41 MB / 291.2 MB, free: 2.477 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.542e-06/1.542e-06, allocations: 0 / 316.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.427e-05/2.581e-05, allocations: 3.188 kB / 316.9 MB, free: 15.97 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper): time 0.005683/0.005709, allocations: 5.625 MB / 322.5 MB, free: 10.32 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002494/0.008203, allocations: 1.651 MB / 324.2 MB, free: 8.664 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003921/0.008595, allocations: 31.75 kB / 324.2 MB, free: 8.633 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005206/0.009116, allocations: 182.6 kB / 324.4 MB, free: 8.453 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006673/0.009783, allocations: 381.6 kB / 324.7 MB, free: 8.078 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004476/0.01023, allocations: 227.5 kB / 325 MB, free: 7.855 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000977/0.01121, allocations: 1.098 MB / 326.1 MB, free: 6.754 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003596/0.01157, allocations: 310.8 kB / 326.4 MB, free: 6.434 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009185/0.01249, allocations: 0.7133 MB / 327.1 MB, free: 5.719 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005451/0.01303, allocations: 398.9 kB / 327.5 MB, free: 5.328 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.083e-05/0.01312, allocations: 84 kB / 327.5 MB, free: 5.246 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.01322, allocations: 84 kB / 327.6 MB, free: 5.164 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002184/0.01344, allocations: 295.2 kB / 327.9 MB, free: 4.875 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002398/0.01368, allocations: 287.4 kB / 328.2 MB, free: 4.594 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006262/0.01431, allocations: 0.5996 MB / 328.8 MB, free: 3.992 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.01431, allocations: 0 / 328.8 MB, free: 3.992 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.01431, allocations: 0 / 328.8 MB, free: 3.992 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.361e-05/0.01433, allocations: 8 kB / 328.8 MB, free: 3.984 MB / 298.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.001111/0.01544, allocations: 0.8927 MB / 329.7 MB, free: 3.066 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.01547, allocations: 11.98 kB / 329.7 MB, free: 3.055 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001261/0.0156, allocations: 100.9 kB / 329.8 MB, free: 2.957 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005551/0.01615, allocations: 458.2 kB / 330.3 MB, free: 2.48 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001326/0.01629, allocations: 186.4 kB / 330.4 MB, free: 2.266 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.454e-05/0.01635, allocations: 72.31 kB / 330.5 MB, free: 2.195 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005211/0.01687, allocations: 0.4919 MB / 331 MB, free: 1.664 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.01689, allocations: 3.938 kB / 331 MB, free: 1.66 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.478e-05/0.01692, allocations: 20 kB / 331 MB, free: 1.641 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.297e-05/0.01694, allocations: 16 kB / 331 MB, free: 1.625 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002809/0.01722, allocations: 193.6 kB / 331.2 MB, free: 1.438 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002128/0.01934, allocations: 1.746 MB / 333 MB, free: 15.62 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003916/0.01974, allocations: 295.5 kB / 333.3 MB, free: 15.3 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001367/0.01987, allocations: 112.5 kB / 333.4 MB, free: 15.19 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.678e-05/0.0199, allocations: 12.27 kB / 333.4 MB, free: 15.18 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002112/0.02011, allocations: 170.8 kB / 333.5 MB, free: 14.98 MB / 314.7 MB Notification: Performance of pre-optimization done (n=36): time 2.575e-06/0.02011, allocations: 0 / 333.5 MB, free: 14.98 MB / 314.7 MB Notification: Performance of matching and sorting (n=36): time 0.001046/0.02116, allocations: 459.7 kB / 334 MB, free: 14.52 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.573e-05/0.02123, allocations: 136.5 kB / 334.1 MB, free: 14.36 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000214/0.02144, allocations: 319.2 kB / 334.4 MB, free: 14.04 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/0.02146, allocations: 33.7 kB / 334.5 MB, free: 14 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000138/0.0216, allocations: 293.1 kB / 334.8 MB, free: 13.7 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.842e-05/0.02168, allocations: 123 kB / 334.9 MB, free: 13.58 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.299e-05/0.02177, allocations: 82.11 kB / 335 MB, free: 13.5 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.02187, allocations: 362.7 kB / 335.3 MB, free: 13.13 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.149e-05/0.02194, allocations: 47.81 kB / 335.4 MB, free: 13.09 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001164/0.02206, allocations: 162.4 kB / 335.5 MB, free: 12.88 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002989/0.02236, allocations: 301.7 kB / 335.8 MB, free: 12.54 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.02236, allocations: 0 / 335.8 MB, free: 12.54 MB / 314.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0003385/0.0227, allocations: 289.4 kB / 336.1 MB, free: 12.24 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.02272, allocations: 8 kB / 336.1 MB, free: 12.23 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.02273, allocations: 4.469 kB / 336.1 MB, free: 12.23 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002582/0.02298, allocations: 163.6 kB / 336.3 MB, free: 12.07 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002038/0.02319, allocations: 99.77 kB / 336.4 MB, free: 11.97 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001447/0.02463, allocations: 1.727 MB / 338.1 MB, free: 10.14 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002548/0.02489, allocations: 47.67 kB / 338.1 MB, free: 10.09 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.859e-05/0.02492, allocations: 12 kB / 338.2 MB, free: 10.08 MB / 314.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.0002285/0.02515, allocations: 163.6 kB / 338.3 MB, free: 9.914 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.328e-05/0.02521, allocations: 35.97 kB / 338.3 MB, free: 9.879 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005777/0.02579, allocations: 262.4 kB / 338.6 MB, free: 9.613 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/0.0258, allocations: 12 kB / 338.6 MB, free: 9.602 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.0258, allocations: 3.984 kB / 338.6 MB, free: 9.598 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.02581, allocations: 0 / 338.6 MB, free: 9.598 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005741/0.02638, allocations: 407.6 kB / 339 MB, free: 9.168 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.02638, allocations: 0 / 339 MB, free: 9.168 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002219/0.02661, allocations: 51.91 kB / 339.1 MB, free: 9.117 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002973/0.0269, allocations: 167.6 kB / 339.2 MB, free: 8.949 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.716e-05/0.02693, allocations: 8 kB / 339.2 MB, free: 8.941 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001559/0.02849, allocations: 1.721 MB / 341 MB, free: 7.129 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.02849, allocations: 96 / 341 MB, free: 7.129 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006784/0.02917, allocations: 375.5 kB / 341.3 MB, free: 6.723 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001232/0.02929, allocations: 63.66 kB / 341.4 MB, free: 6.66 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.266e-05/0.02934, allocations: 4 kB / 341.4 MB, free: 6.656 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001306/0.02947, allocations: 12 kB / 341.4 MB, free: 6.645 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.02958, allocations: 43.86 kB / 341.4 MB, free: 6.602 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.208e-05/0.0296, allocations: 12 kB / 341.5 MB, free: 6.59 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001409/0.02974, allocations: 124.7 kB / 341.6 MB, free: 6.469 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02974, allocations: 0 / 341.6 MB, free: 6.469 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006472/0.03039, allocations: 179.5 kB / 341.8 MB, free: 6.293 MB / 314.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.0001451/0.03054, allocations: 88.45 kB / 341.8 MB, free: 6.195 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005856/0.03112, allocations: 351.9 kB / 342.2 MB, free: 5.836 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.012e-05/0.03113, allocations: 4.938 kB / 342.2 MB, free: 5.832 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003241/0.03146, allocations: 279 kB / 342.5 MB, free: 5.543 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004437/0.0319, allocations: 127.4 kB / 342.6 MB, free: 5.426 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002225/0.03412, allocations: 1.088 MB / 343.7 MB, free: 4.301 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001512/0.03428, allocations: 165.7 kB / 343.8 MB, free: 4.117 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001873/0.03446, allocations: 56.38 kB / 343.9 MB, free: 4.059 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002401/0.0347, allocations: 149.3 kB / 344 MB, free: 3.914 MB / 314.7 MB Notification: Performance of SimCode: time 1.783e-06/0.03471, allocations: 0 / 344 MB, free: 3.914 MB / 314.7 MB Notification: Performance of Templates: time 0.01409/0.0488, allocations: 8.132 MB / 352.2 MB, free: 11.95 MB / 330.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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.041401317343116]