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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 107 kB / 17.74 MB, free: 5.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001495/0.001496, allocations: 190.4 kB / 18.68 MB, free: 4.426 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1737/0.1737, allocations: 38.04 MB / 330.6 MB, free: 8.723 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 63.91 kB / 458.8 MB, free: 6.867 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2822/0.2835, allocations: 58.05 MB / 0.5048 GB, free: 7.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper): time 0.006405/0.2899, allocations: 6.584 MB / 0.5112 GB, free: 3.152 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002279/0.2922, allocations: 1.759 MB / 0.5129 GB, free: 1.891 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002973/0.2925, allocations: 22.88 kB / 0.5129 GB, free: 1.883 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006149/0.2931, allocations: 220.5 kB / 0.5131 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007069/0.2939, allocations: 384.1 kB / 0.5135 GB, free: 1.531 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004068/0.2943, allocations: 232.6 kB / 0.5137 GB, free: 1.398 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008954/0.2952, allocations: 1.074 MB / 0.5148 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005406/0.2958, allocations: 0.5093 MB / 0.5153 GB, free: 0.668 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000572/0.2963, allocations: 476.2 kB / 0.5157 GB, free: 456 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006435/0.297, allocations: 488.7 kB / 0.5162 GB, free: 244 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001243/0.2971, allocations: 84.56 kB / 0.5163 GB, free: 244 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000156/0.2973, allocations: 85.25 kB / 0.5164 GB, free: 244 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002778/0.2976, allocations: 275 kB / 0.5166 GB, free: 116 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004146/0.298, allocations: 409.2 kB / 0.517 GB, free: 15.86 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001213/0.2992, allocations: 1.04 MB / 0.518 GB, free: 15.47 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2992, allocations: 0.5312 kB / 0.518 GB, free: 15.47 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.2992, allocations: 0.5625 kB / 0.518 GB, free: 15.47 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.701e-05/0.2993, allocations: 0 / 0.518 GB, free: 15.47 MB / 398.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.002055/0.3013, allocations: 1.037 MB / 0.519 GB, free: 14.75 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.3014, allocations: 12.11 kB / 0.519 GB, free: 14.75 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001406/0.3015, allocations: 78.91 kB / 0.5191 GB, free: 14.71 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001131/0.3027, allocations: 0.6597 MB / 0.5198 GB, free: 14.29 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001416/0.3028, allocations: 112.9 kB / 0.5199 GB, free: 14.2 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.956e-05/0.3029, allocations: 59.59 kB / 0.5199 GB, free: 14.18 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001309/0.3042, allocations: 0.7528 MB / 0.5207 GB, free: 13.82 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/0.3043, allocations: 0 / 0.5207 GB, free: 13.82 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.119e-05/0.3043, allocations: 21.59 kB / 0.5207 GB, free: 13.8 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.585e-05/0.3044, allocations: 15.88 kB / 0.5207 GB, free: 13.8 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001246/0.3056, allocations: 0.6055 MB / 0.5213 GB, free: 13.6 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003347/0.309, allocations: 2.466 MB / 0.5237 GB, free: 11.93 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009329/0.3099, allocations: 430.2 kB / 0.5241 GB, free: 11.72 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000429/0.3104, allocations: 207 kB / 0.5243 GB, free: 11.63 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.368e-05/0.3104, allocations: 5.016 kB / 0.5243 GB, free: 11.63 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004533/0.3109, allocations: 236.6 kB / 0.5245 GB, free: 11.5 MB / 398.1 MB Notification: Performance of pre-optimization done (n=36): time 3.717e-06/0.3109, allocations: 5.297 kB / 0.5245 GB, free: 11.49 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.003004/0.3139, allocations: 0.8802 MB / 0.5254 GB, free: 11.14 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.838e-05/0.314, allocations: 138.5 kB / 0.5255 GB, free: 10.98 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004739/0.3145, allocations: 401.1 kB / 0.5259 GB, free: 10.79 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.541e-05/0.3145, allocations: 31.02 kB / 0.5259 GB, free: 10.75 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002534/0.3148, allocations: 329.5 kB / 0.5263 GB, free: 10.49 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001151/0.3149, allocations: 125.8 kB / 0.5264 GB, free: 10.39 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001221/0.315, allocations: 85 kB / 0.5265 GB, free: 10.34 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.3152, allocations: 355.3 kB / 0.5268 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002989/0.3155, allocations: 125.7 kB / 0.5269 GB, free: 9.969 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003683/0.3158, allocations: 249.8 kB / 0.5272 GB, free: 9.777 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001503/0.3174, allocations: 0.6602 MB / 0.5278 GB, free: 9.418 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.3174, allocations: 1.5 kB / 0.5278 GB, free: 9.418 MB / 398.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001041/0.3184, allocations: 0.5274 MB / 0.5283 GB, free: 9.18 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.3184, allocations: 6.812 kB / 0.5283 GB, free: 9.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.3185, allocations: 3.719 kB / 0.5283 GB, free: 9.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004386/0.3189, allocations: 150.8 kB / 0.5285 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000286/0.3192, allocations: 76.05 kB / 0.5285 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003294/0.3225, allocations: 2.254 MB / 0.5307 GB, free: 7.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003558/0.3229, allocations: 57.42 kB / 0.5308 GB, free: 7.215 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.353e-05/0.3229, allocations: 21.17 kB / 0.5308 GB, free: 7.207 MB / 398.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.0003296/0.3232, allocations: 244.9 kB / 0.5311 GB, free: 7.023 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.579e-05/0.3233, allocations: 46.83 kB / 0.5311 GB, free: 7 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001245/0.3246, allocations: 486.5 kB / 0.5316 GB, free: 6.797 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/0.3246, allocations: 7.312 kB / 0.5316 GB, free: 6.793 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3246, allocations: 1.125 kB / 0.5316 GB, free: 6.793 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000171/0.3248, allocations: 150.6 kB / 0.5317 GB, free: 6.656 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.349e-05/0.3248, allocations: 10.47 kB / 0.5317 GB, free: 6.648 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002386/0.3251, allocations: 21.78 kB / 0.5317 GB, free: 6.641 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.826e-05/0.3252, allocations: 26.73 kB / 0.5318 GB, free: 6.637 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001725/0.3269, allocations: 0.8129 MB / 0.5326 GB, free: 6.141 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001211/0.3281, allocations: 0.9162 MB / 0.5335 GB, free: 5.52 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003397/0.3285, allocations: 156.5 kB / 0.5336 GB, free: 5.445 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000328/0.3288, allocations: 283.6 kB / 0.5339 GB, free: 5.273 MB / 398.1 MB Notification: Performance of Backend: time 7.51e-07/0.3288, allocations: 7.938 kB / 0.5339 GB, free: 5.266 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00136/0.3302, allocations: 466.5 kB / 0.5343 GB, free: 4.945 MB / 398.1 MB Notification: Performance of SimCode: time 0.002413/0.3326, allocations: 1.768 MB / 0.5361 GB, free: 3.621 MB / 398.1 MB Notification: Performance of Templates: time 0.01507/0.3477, allocations: 8.065 MB / 0.5439 GB, free: 15.67 MB / 414.1 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)