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.001138/0.001138, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001301/0.001301, allocations: 167.3 kB / 24.99 MB, free: 8.746 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.004/1.004, allocations: 177.1 MB / 205.3 MB, free: 5.645 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.2698/0.2698, allocations: 29.42 MB / 291.2 MB, free: 2.422 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.152e-06/1.152e-06, allocations: 0 / 369.6 MB, free: 11.3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.199e-05/1.314e-05, allocations: 5.688 kB / 369.6 MB, free: 11.29 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper): time 0.005337/0.00535, allocations: 6.659 MB / 376.3 MB, free: 4.594 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001634/0.006984, allocations: 1.608 MB / 377.9 MB, free: 2.98 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002238/0.007207, allocations: 31.75 kB / 377.9 MB, free: 2.949 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003822/0.00759, allocations: 190.5 kB / 378.1 MB, free: 2.762 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000443/0.008033, allocations: 393.5 kB / 378.5 MB, free: 2.375 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002812/0.008314, allocations: 239.4 kB / 378.7 MB, free: 2.141 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007521/0.009066, allocations: 1.105 MB / 379.8 MB, free: 1.031 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002993/0.009365, allocations: 294.9 kB / 380.1 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006173/0.009983, allocations: 0.6663 MB / 380.8 MB, free: 64 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004222/0.0104, allocations: 454.8 kB / 381.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.308e-05/0.01048, allocations: 88 kB / 381.3 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.755e-05/0.01057, allocations: 88 kB / 381.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001917/0.01076, allocations: 295.3 kB / 381.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002026/0.01096, allocations: 287.4 kB / 382 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004648/0.01142, allocations: 0.6035 MB / 382.6 MB, free: 14.27 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.01143, allocations: 4 kB / 382.6 MB, free: 14.27 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.01143, allocations: 0 / 382.6 MB, free: 14.27 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.01143, allocations: 0 / 382.6 MB, free: 14.27 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.001144/0.01258, allocations: 1.057 MB / 383.6 MB, free: 13.17 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.01261, allocations: 15.98 kB / 383.7 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001394/0.01275, allocations: 128.5 kB / 383.8 MB, free: 13.03 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000661/0.01341, allocations: 0.6089 MB / 384.4 MB, free: 12.4 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001202/0.01353, allocations: 194.3 kB / 384.6 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.103e-05/0.01359, allocations: 56.38 kB / 384.6 MB, free: 12.12 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006133/0.01421, allocations: 0.5415 MB / 385.2 MB, free: 11.53 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.01422, allocations: 0 / 385.2 MB, free: 11.53 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.943e-05/0.01426, allocations: 28 kB / 385.2 MB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.291e-05/0.01427, allocations: 12 kB / 385.2 MB, free: 11.49 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004138/0.01469, allocations: 269.7 kB / 385.5 MB, free: 11.23 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001855/0.01654, allocations: 2.411 MB / 387.9 MB, free: 8.727 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004103/0.01695, allocations: 306.5 kB / 388.2 MB, free: 8.391 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001827/0.01713, allocations: 135.6 kB / 388.3 MB, free: 8.246 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.01715, allocations: 8.281 kB / 388.3 MB, free: 8.238 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002248/0.01738, allocations: 196.5 kB / 388.5 MB, free: 8.016 MB / 362.7 MB Notification: Performance of pre-optimization done (n=36): time 1.383e-06/0.01738, allocations: 0 / 388.5 MB, free: 8.016 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.001175/0.01856, allocations: 0.5408 MB / 389.1 MB, free: 7.465 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.013e-05/0.01861, allocations: 132.5 kB / 389.2 MB, free: 7.305 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002632/0.01887, allocations: 394.6 kB / 389.6 MB, free: 6.906 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.474e-05/0.01889, allocations: 33.7 kB / 389.6 MB, free: 6.867 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001743/0.01907, allocations: 371.4 kB / 390 MB, free: 6.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.901e-05/0.01915, allocations: 134.9 kB / 390.1 MB, free: 6.367 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.631e-05/0.01923, allocations: 83.84 kB / 390.2 MB, free: 6.273 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.01938, allocations: 0.5274 MB / 390.7 MB, free: 5.734 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001168/0.0195, allocations: 60.95 kB / 390.8 MB, free: 5.676 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001763/0.01967, allocations: 227.9 kB / 391 MB, free: 5.387 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003699/0.02004, allocations: 369.6 kB / 391.4 MB, free: 4.961 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.02005, allocations: 8 kB / 391.4 MB, free: 4.953 MB / 362.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004474/0.02049, allocations: 397.2 kB / 391.8 MB, free: 4.555 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.02051, allocations: 4 kB / 391.8 MB, free: 4.551 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.02052, allocations: 4 kB / 391.8 MB, free: 4.547 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002138/0.02073, allocations: 123.8 kB / 391.9 MB, free: 4.422 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001645/0.02089, allocations: 83.83 kB / 392 MB, free: 4.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001496/0.02239, allocations: 2.297 MB / 394.3 MB, free: 1.926 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001375/0.02253, allocations: 47.66 kB / 394.3 MB, free: 1.879 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.896e-05/0.02255, allocations: 16 kB / 394.3 MB, free: 1.863 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.0001409/0.02269, allocations: 188.4 kB / 394.5 MB, free: 1.668 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.831e-05/0.02274, allocations: 59.75 kB / 394.6 MB, free: 1.609 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000473/0.02321, allocations: 334.3 kB / 394.9 MB, free: 1.27 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.02321, allocations: 7.984 kB / 394.9 MB, free: 1.262 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.02322, allocations: 7.938 kB / 394.9 MB, free: 1.254 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.02322, allocations: 0 / 394.9 MB, free: 1.254 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004175/0.02364, allocations: 0.5631 MB / 395.5 MB, free: 0.6445 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.02364, allocations: 8.031 kB / 395.5 MB, free: 0.6367 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001271/0.02377, allocations: 47.92 kB / 395.5 MB, free: 0.5898 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001484/0.02392, allocations: 103.6 kB / 395.6 MB, free: 496 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.021e-05/0.02394, allocations: 11.98 kB / 395.6 MB, free: 484 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00129/0.02523, allocations: 2.298 MB / 397.9 MB, free: 14.05 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.02523, allocations: 4 kB / 397.9 MB, free: 14.05 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00061/0.02584, allocations: 481.8 kB / 398.4 MB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.983e-05/0.02592, allocations: 67.67 kB / 398.5 MB, free: 13.47 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.962e-05/0.02595, allocations: 8 kB / 398.5 MB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.258e-05/0.02604, allocations: 11.98 kB / 398.5 MB, free: 13.45 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.503e-05/0.02612, allocations: 39.92 kB / 398.5 MB, free: 13.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/0.02613, allocations: 8 kB / 398.5 MB, free: 13.4 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001462/0.02628, allocations: 255.1 kB / 398.8 MB, free: 13.16 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02628, allocations: 4 kB / 398.8 MB, free: 13.15 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000339/0.02662, allocations: 171.5 kB / 399 MB, free: 12.98 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 8.948e-05/0.02671, allocations: 107.2 kB / 399.1 MB, free: 12.87 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005016/0.02721, allocations: 450.4 kB / 399.5 MB, free: 12.41 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.02721, allocations: 0 / 399.5 MB, free: 12.41 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002588/0.02747, allocations: 341.1 kB / 399.8 MB, free: 12.05 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003572/0.02782, allocations: 141.2 kB / 400 MB, free: 11.92 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001646/0.02947, allocations: 1.141 MB / 401.1 MB, free: 10.73 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001114/0.02958, allocations: 169.7 kB / 401.3 MB, free: 10.54 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001348/0.02972, allocations: 68.34 kB / 401.4 MB, free: 10.48 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.317e-05/0.02977, allocations: 36.5 kB / 401.4 MB, free: 10.44 MB / 378.7 MB Notification: Performance of SimCode: time 9.41e-07/0.02977, allocations: 0 / 401.4 MB, free: 10.44 MB / 378.7 MB Notification: Performance of Templates: time 0.008601/0.03837, allocations: 6.987 MB / 408.4 MB, free: 3.59 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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3294205591082573]