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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001015/0.001015, allocations: 178.5 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.167/1.167, allocations: 194.5 MB / 211.6 MB, free: 3.055 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001558/0.001558, allocations: 113.6 kB / 256.9 MB, free: 4.34 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1589/0.1589, allocations: 38 MB / 340.1 MB, free: 1.367 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003248/0.0003248, allocations: 12 kB / 403.8 MB, free: 68.8 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07403/0.07437, allocations: 53.23 MB / 457 MB, free: 15.57 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2884/0.3628, allocations: 93.05 MB / 0.5372 GB, free: 2.258 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001972/0.3631, allocations: 95.69 kB / 0.5373 GB, free: 2.211 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03962/0.4027, allocations: 16.09 MB / 0.553 GB, free: 4.465 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4027, allocations: 0 / 0.553 GB, free: 4.465 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.086e-05/0.4028, allocations: 16 kB / 0.553 GB, free: 4.449 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.001601/0.4044, allocations: 0.9347 MB / 0.5539 GB, free: 3.512 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.4044, allocations: 12.02 kB / 0.5539 GB, free: 3.5 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001337/0.4046, allocations: 79.16 kB / 0.554 GB, free: 3.422 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002552/0.4071, allocations: 1.17 MB / 0.5551 GB, free: 2.445 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001293/0.4073, allocations: 114.4 kB / 0.5552 GB, free: 2.344 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.545e-05/0.4074, allocations: 67.47 kB / 0.5553 GB, free: 2.297 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001184/0.4086, allocations: 0.7582 MB / 0.556 GB, free: 1.723 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.891e-05/0.4086, allocations: 7.922 kB / 0.556 GB, free: 1.715 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.935e-05/0.4087, allocations: 32 kB / 0.5561 GB, free: 1.703 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.45e-05/0.4087, allocations: 16 kB / 0.5561 GB, free: 1.688 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001141/0.4098, allocations: 0.6128 MB / 0.5567 GB, free: 1.258 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003243/0.4131, allocations: 2.494 MB / 0.5591 GB, free: 15.21 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009007/0.414, allocations: 443.9 kB / 0.5596 GB, free: 14.88 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.722e-05/0.414, allocations: 4.344 kB / 0.5596 GB, free: 14.87 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003772/0.4144, allocations: 230.8 kB / 0.5598 GB, free: 14.67 MB / 378.7 MB Notification: Performance of pre-optimization done (n=36): time 2.595e-06/0.4144, allocations: 4 kB / 0.5598 GB, free: 14.67 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.002548/0.417, allocations: 0.8288 MB / 0.5606 GB, free: 13.96 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.479e-05/0.4171, allocations: 143.9 kB / 0.5607 GB, free: 13.79 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000364/0.4174, allocations: 349.9 kB / 0.5611 GB, free: 13.5 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.012e-05/0.4175, allocations: 36.33 kB / 0.5611 GB, free: 13.47 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001926/0.4177, allocations: 310.2 kB / 0.5614 GB, free: 13.23 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.478e-05/0.4178, allocations: 123.8 kB / 0.5615 GB, free: 13.13 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.68e-05/0.4178, allocations: 14.09 kB / 0.5615 GB, free: 13.12 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.4179, allocations: 358.3 kB / 0.5619 GB, free: 12.78 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002577/0.4182, allocations: 127.5 kB / 0.562 GB, free: 12.7 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003162/0.4185, allocations: 242.6 kB / 0.5622 GB, free: 12.46 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003018/0.4188, allocations: 163 kB / 0.5624 GB, free: 12.36 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.4189, allocations: 0 / 0.5624 GB, free: 12.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001137/0.42, allocations: 0.559 MB / 0.5629 GB, free: 11.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.42, allocations: 7.938 kB / 0.5629 GB, free: 11.92 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.42, allocations: 7.938 kB / 0.5629 GB, free: 11.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004317/0.4205, allocations: 147.7 kB / 0.5631 GB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003057/0.4208, allocations: 83.89 kB / 0.5632 GB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00291/0.4237, allocations: 2.086 MB / 0.5652 GB, free: 9.816 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002983/0.424, allocations: 51.02 kB / 0.5652 GB, free: 9.773 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.905e-05/0.4241, allocations: 19.88 kB / 0.5653 GB, free: 9.758 MB / 378.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.t0,chopper.modulator.t0,$PRE.chopper.modulator.t1,chopper.modulator.t1,chopper.chopper.gate,chopper.chopper.diode.on) * 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 (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.0002972/0.4244, allocations: 245.8 kB / 0.5655 GB, free: 9.566 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.001e-05/0.4244, allocations: 55.2 kB / 0.5655 GB, free: 9.516 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00113/0.4256, allocations: 480.8 kB / 0.566 GB, free: 9.168 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.022e-06/0.4256, allocations: 7.953 kB / 0.566 GB, free: 9.16 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.4256, allocations: 0 / 0.566 GB, free: 9.16 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.4256, allocations: 3.984 kB / 0.566 GB, free: 9.156 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006815/0.4263, allocations: 0.6874 MB / 0.5667 GB, free: 8.551 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.4263, allocations: 0 / 0.5667 GB, free: 8.551 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002593/0.4266, allocations: 51.92 kB / 0.5667 GB, free: 8.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003693/0.4269, allocations: 143.5 kB / 0.5669 GB, free: 8.383 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.736e-05/0.427, allocations: 11.8 kB / 0.5669 GB, free: 8.375 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002751/0.4297, allocations: 2.062 MB / 0.5689 GB, free: 6.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.4298, allocations: 0 / 0.5689 GB, free: 6.5 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001421/0.4312, allocations: 0.7258 MB / 0.5696 GB, free: 5.91 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001693/0.4314, allocations: 151.6 kB / 0.5698 GB, free: 5.758 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.282e-05/0.4314, allocations: 14.69 kB / 0.5698 GB, free: 5.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002255/0.4317, allocations: 22.78 kB / 0.5698 GB, free: 5.73 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.338e-05/0.4318, allocations: 37.47 kB / 0.5698 GB, free: 5.699 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.891e-05/0.4318, allocations: 11.5 kB / 0.5698 GB, free: 5.691 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002564/0.4321, allocations: 276.8 kB / 0.5701 GB, free: 5.48 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4321, allocations: 0 / 0.5701 GB, free: 5.48 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005506/0.4326, allocations: 168.5 kB / 0.5703 GB, free: 5.328 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.t0,chopper.modulator.t1,chopper.chopper.gate,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 (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.0001977/0.4328, allocations: 140.2 kB / 0.5704 GB, free: 5.191 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008558/0.4337, allocations: 0.5027 MB / 0.5709 GB, free: 4.785 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.4337, allocations: 4.188 kB / 0.5709 GB, free: 4.781 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004763/0.4342, allocations: 329.3 kB / 0.5712 GB, free: 4.512 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005247/0.4347, allocations: 152.5 kB / 0.5713 GB, free: 4.395 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001795/0.4365, allocations: 1.491 MB / 0.5728 GB, free: 2.977 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000502/0.4371, allocations: 0.9475 MB / 0.5737 GB, free: 2.027 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002727/0.4373, allocations: 84.64 kB / 0.5738 GB, free: 1.945 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.769e-05/0.4374, allocations: 35.44 kB / 0.5738 GB, free: 1.91 MB / 378.7 MB Notification: Performance of SimCode: time 4.51e-07/0.4374, allocations: 0 / 0.5738 GB, free: 1.91 MB / 378.7 MB Notification: Performance of Templates: time 0.01234/0.4498, allocations: 7.773 MB / 0.5814 GB, free: 10.16 MB / 394.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.makefile (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)