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.001761/0.001765, allocations: 180 kB / 17.4 MB, free: 4.414 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.546/1.546, allocations: 194.5 MB / 212.6 MB, free: 2.93 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.001577/0.001577, allocations: 119.9 kB / 257.9 MB, free: 4.25 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1781/0.1781, allocations: 38 MB / 341.1 MB, free: 1.188 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003554/0.0003554, allocations: 11.98 kB / 405 MB, free: 68.47 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09042/0.09079, allocations: 53.23 MB / 458.3 MB, free: 15.23 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.345/0.4358, allocations: 93.09 MB / 0.5384 GB, free: 1.75 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004005/0.4363, allocations: 100.2 kB / 0.5385 GB, free: 1.699 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04323/0.4796, allocations: 16.07 MB / 0.5542 GB, free: 3.961 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.736e-06/0.4796, allocations: 0 / 0.5542 GB, free: 3.961 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.276e-05/0.4797, allocations: 20 kB / 0.5542 GB, free: 3.941 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.00257/0.4823, allocations: 0.9295 MB / 0.5551 GB, free: 3.004 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.928e-05/0.4823, allocations: 8.031 kB / 0.5551 GB, free: 2.996 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003791/0.4827, allocations: 76.09 kB / 0.5552 GB, free: 2.922 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00195/0.4847, allocations: 0.8458 MB / 0.556 GB, free: 2.223 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001751/0.4849, allocations: 114.5 kB / 0.5562 GB, free: 2.117 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001378/0.485, allocations: 54 kB / 0.5562 GB, free: 2.082 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001458/0.4865, allocations: 0.7727 MB / 0.557 GB, free: 1.496 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.318e-05/0.4866, allocations: 3.938 kB / 0.557 GB, free: 1.492 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.609e-05/0.4866, allocations: 25.55 kB / 0.557 GB, free: 1.484 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.883e-05/0.4867, allocations: 19.98 kB / 0.557 GB, free: 1.465 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001381/0.488, allocations: 0.6119 MB / 0.5576 GB, free: 1.039 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004028/0.4921, allocations: 2.505 MB / 0.5601 GB, free: 14.98 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008569/0.493, allocations: 420.9 kB / 0.5605 GB, free: 14.66 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004016/0.4934, allocations: 207.9 kB / 0.5607 GB, free: 14.52 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.699e-05/0.4934, allocations: 8.281 kB / 0.5607 GB, free: 14.51 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004492/0.4939, allocations: 229.6 kB / 0.5609 GB, free: 14.31 MB / 378.7 MB Notification: Performance of pre-optimization done (n=36): time 3.667e-06/0.4939, allocations: 0 / 0.5609 GB, free: 14.31 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.002797/0.4967, allocations: 0.8459 MB / 0.5617 GB, free: 13.58 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.91e-05/0.4968, allocations: 139.8 kB / 0.5618 GB, free: 13.42 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005699/0.4974, allocations: 393.8 kB / 0.5622 GB, free: 13.11 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.649e-05/0.4974, allocations: 33.33 kB / 0.5622 GB, free: 13.07 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002889/0.4977, allocations: 324.8 kB / 0.5626 GB, free: 12.82 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001288/0.4979, allocations: 120.5 kB / 0.5627 GB, free: 12.72 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.848e-05/0.4979, allocations: 7.375 kB / 0.5627 GB, free: 12.72 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.4981, allocations: 361.2 kB / 0.563 GB, free: 12.38 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002817/0.4984, allocations: 132.3 kB / 0.5631 GB, free: 12.29 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003589/0.4987, allocations: 236 kB / 0.5634 GB, free: 12.06 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001469/0.5002, allocations: 0.6632 MB / 0.564 GB, free: 11.53 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.5002, allocations: 0 / 0.564 GB, free: 11.53 MB / 378.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001275/0.5015, allocations: 0.5643 MB / 0.5646 GB, free: 11.09 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.864e-05/0.5016, allocations: 8 kB / 0.5646 GB, free: 11.08 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.631e-05/0.5016, allocations: 4 kB / 0.5646 GB, free: 11.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004471/0.502, allocations: 151.4 kB / 0.5647 GB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003064/0.5023, allocations: 79.53 kB / 0.5648 GB, free: 10.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0034/0.5058, allocations: 2.028 MB / 0.5668 GB, free: 9.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003878/0.5062, allocations: 56.58 kB / 0.5668 GB, free: 8.973 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.914e-05/0.5062, allocations: 19 kB / 0.5669 GB, free: 8.957 MB / 378.7 MB Warning: Assuming fixed start value for the following 2 variables: chopper.modulator.t0:DISCRETE(unit = "s" fixed = true protected = true ) type: Real chopper.modulator.t1: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,$PRE.chopper.modulator.t1,chopper.modulator.t0,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.000462/0.5067, allocations: 254.9 kB / 0.5671 GB, free: 8.758 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.353e-05/0.5068, allocations: 43.44 kB / 0.5671 GB, free: 8.715 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001189/0.508, allocations: 483.3 kB / 0.5676 GB, free: 8.367 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.508, allocations: 4 kB / 0.5676 GB, free: 8.363 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.508, allocations: 3.938 kB / 0.5676 GB, free: 8.359 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.508, allocations: 7.938 kB / 0.5676 GB, free: 8.352 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001011/0.509, allocations: 0.6799 MB / 0.5683 GB, free: 7.754 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.798e-06/0.509, allocations: 0 / 0.5683 GB, free: 7.754 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002528/0.5093, allocations: 51.94 kB / 0.5683 GB, free: 7.703 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003871/0.5097, allocations: 142.9 kB / 0.5685 GB, free: 7.59 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.752e-05/0.5098, allocations: 15.75 kB / 0.5685 GB, free: 7.578 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002781/0.5125, allocations: 2.018 MB / 0.5705 GB, free: 5.73 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.5126, allocations: 4.125 kB / 0.5705 GB, free: 5.727 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001458/0.514, allocations: 0.6945 MB / 0.5711 GB, free: 5.18 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002136/0.5143, allocations: 148 kB / 0.5713 GB, free: 5.031 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.053e-05/0.5143, allocations: 15.48 kB / 0.5713 GB, free: 5.023 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002455/0.5146, allocations: 19.72 kB / 0.5713 GB, free: 5.008 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/0.5147, allocations: 31.89 kB / 0.5713 GB, free: 4.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.887e-05/0.5147, allocations: 19.92 kB / 0.5714 GB, free: 4.965 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003321/0.5151, allocations: 272.5 kB / 0.5716 GB, free: 4.758 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5151, allocations: 0 / 0.5716 GB, free: 4.758 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000668/0.5158, allocations: 178.7 kB / 0.5718 GB, free: 4.598 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.0002445/0.516, allocations: 128.5 kB / 0.5719 GB, free: 4.469 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001021/0.517, allocations: 0.5052 MB / 0.5724 GB, free: 4.062 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.5171, allocations: 3.938 kB / 0.5724 GB, free: 4.059 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000557/0.5176, allocations: 333.3 kB / 0.5727 GB, free: 3.785 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007439/0.5184, allocations: 157.4 kB / 0.5729 GB, free: 3.664 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002402/0.5208, allocations: 1.478 MB / 0.5743 GB, free: 2.262 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005794/0.5214, allocations: 0.9285 MB / 0.5752 GB, free: 1.332 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000318/0.5217, allocations: 88.64 kB / 0.5753 GB, free: 1.242 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.921e-05/0.5218, allocations: 35.42 kB / 0.5753 GB, free: 1.207 MB / 378.7 MB Notification: Performance of SimCode: time 6.62e-07/0.5218, allocations: 0 / 0.5753 GB, free: 1.207 MB / 378.7 MB Notification: Performance of Templates: time 0.01584/0.5376, allocations: 7.89 MB / 0.5831 GB, free: 9.336 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)