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.001663/0.001663, allocations: 187.8 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.411/1.411, allocations: 194.3 MB / 203.1 MB, free: 9.258 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00162/0.00162, allocations: 110.4 kB / 248.1 MB, free: 6.355 MB / 203.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1698/0.1698, allocations: 37.92 MB / 330.9 MB, free: 7.301 MB / 283.1 MB Notification: Performance of FrontEnd - loaded program: time 1.755e-05/1.756e-05, allocations: 4 kB / 390.4 MB, free: 78.24 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08075/0.08079, allocations: 53.24 MB / 443.6 MB, free: 25.1 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3451/0.426, allocations: 92.3 MB / 0.5233 GB, free: 10.2 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002256/0.4262, allocations: 92.27 kB / 0.5234 GB, free: 10.18 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03605/0.4623, allocations: 15.93 MB / 0.539 GB, free: 1.539 MB / 347.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.4623, allocations: 0 / 0.539 GB, free: 1.539 MB / 347.1 MB Notification: Performance of Transformations before backend: time 2.941e-05/0.4624, allocations: 19.75 kB / 0.539 GB, free: 1.523 MB / 347.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.001321/0.4637, allocations: 0.8739 MB / 0.5398 GB, free: 0.6484 MB / 347.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.4638, allocations: 8.031 kB / 0.5399 GB, free: 0.6406 MB / 347.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001287/0.4639, allocations: 75.16 kB / 0.5399 GB, free: 0.5664 MB / 347.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002449/0.4664, allocations: 1.154 MB / 0.5411 GB, free: 15.64 MB / 363.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001396/0.4665, allocations: 88.7 kB / 0.5411 GB, free: 15.54 MB / 363.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.475e-05/0.4666, allocations: 43.89 kB / 0.5412 GB, free: 15.5 MB / 363.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007731/0.4674, allocations: 499.3 kB / 0.5417 GB, free: 15.2 MB / 363.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009096/0.4683, allocations: 0.6262 MB / 0.5423 GB, free: 14.7 MB / 363.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.4683, allocations: 3.938 kB / 0.5423 GB, free: 14.69 MB / 363.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.078e-05/0.4684, allocations: 4 kB / 0.5423 GB, free: 14.69 MB / 363.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.367e-05/0.4684, allocations: 16 kB / 0.5423 GB, free: 14.67 MB / 363.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003233/0.4717, allocations: 2.368 MB / 0.5446 GB, free: 12.74 MB / 363.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007052/0.4724, allocations: 393.4 kB / 0.545 GB, free: 12.45 MB / 363.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002755/0.4727, allocations: 176.9 kB / 0.5451 GB, free: 12.32 MB / 363.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.014e-05/0.4727, allocations: 4.281 kB / 0.5452 GB, free: 12.32 MB / 363.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003087/0.473, allocations: 214.2 kB / 0.5454 GB, free: 12.13 MB / 363.1 MB Notification: Performance of pre-optimization done (n=36): time 2.074e-06/0.473, allocations: 0 / 0.5454 GB, free: 12.13 MB / 363.1 MB Notification: Performance of matching and sorting (n=36): time 0.0009948/0.474, allocations: 401.6 kB / 0.5457 GB, free: 11.82 MB / 363.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.084e-05/0.4741, allocations: 139.9 kB / 0.5459 GB, free: 11.65 MB / 363.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003212/0.4745, allocations: 285.4 kB / 0.5461 GB, free: 11.43 MB / 363.1 MB Notification: Performance of collectPreVariables (initialization): time 4.114e-05/0.4745, allocations: 29.7 kB / 0.5462 GB, free: 11.39 MB / 363.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002137/0.4747, allocations: 322.4 kB / 0.5465 GB, free: 11.13 MB / 363.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.193e-05/0.4748, allocations: 115.4 kB / 0.5466 GB, free: 11.04 MB / 363.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.706e-05/0.4748, allocations: 0 / 0.5466 GB, free: 11.04 MB / 363.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.475, allocations: 351.5 kB / 0.5469 GB, free: 10.7 MB / 363.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001707/0.4752, allocations: 106.2 kB / 0.547 GB, free: 10.63 MB / 363.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003293/0.4755, allocations: 223.2 kB / 0.5472 GB, free: 10.42 MB / 363.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002075/0.4757, allocations: 136.9 kB / 0.5474 GB, free: 10.33 MB / 363.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.4757, allocations: 0 / 0.5474 GB, free: 10.33 MB / 363.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009693/0.4767, allocations: 478.4 kB / 0.5478 GB, free: 9.953 MB / 363.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.4767, allocations: 12.39 kB / 0.5478 GB, free: 9.941 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.4768, allocations: 8 kB / 0.5478 GB, free: 9.934 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003667/0.4771, allocations: 123.2 kB / 0.548 GB, free: 9.836 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003023/0.4775, allocations: 82.58 kB / 0.548 GB, free: 9.758 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002082/0.4796, allocations: 1.862 MB / 0.5499 GB, free: 8.062 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003383/0.4799, allocations: 39.73 kB / 0.5499 GB, free: 8.023 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.085e-05/0.4799, allocations: 15.44 kB / 0.5499 GB, free: 8.012 MB / 363.1 MB Warning: Assuming fixed start value for the following 2 variables: chopper.modulator.t1:DISCRETE(unit = "s" fixed = false protected = true ) type: Real chopper.modulator.t0:DISCRETE(unit = "s" fixed = false 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 () * 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.0002852/0.4802, allocations: 124.1 kB / 0.55 GB, free: 7.887 MB / 363.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.169e-05/0.4803, allocations: 39.53 kB / 0.5501 GB, free: 7.848 MB / 363.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009534/0.4813, allocations: 424.6 kB / 0.5505 GB, free: 7.531 MB / 363.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.4813, allocations: 4.188 kB / 0.5505 GB, free: 7.527 MB / 363.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.358e-06/0.4813, allocations: 4 kB / 0.5505 GB, free: 7.523 MB / 363.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.297e-06/0.4813, allocations: 11.86 kB / 0.5505 GB, free: 7.512 MB / 363.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007005/0.482, allocations: 0.5815 MB / 0.5511 GB, free: 7.004 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.482, allocations: 4 kB / 0.5511 GB, free: 7 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000263/0.4823, allocations: 55.53 kB / 0.5511 GB, free: 6.949 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002191/0.4825, allocations: 118.2 kB / 0.5512 GB, free: 6.855 MB / 363.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.471e-05/0.4826, allocations: 4 kB / 0.5512 GB, free: 6.852 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001919/0.4845, allocations: 1.859 MB / 0.553 GB, free: 5.168 MB / 363.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.4845, allocations: 0 / 0.553 GB, free: 5.168 MB / 363.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001156/0.4857, allocations: 0.6501 MB / 0.5537 GB, free: 4.633 MB / 363.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001772/0.4859, allocations: 137.5 kB / 0.5538 GB, free: 4.492 MB / 363.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.038e-05/0.4859, allocations: 4 kB / 0.5538 GB, free: 4.488 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002289/0.4862, allocations: 11.98 kB / 0.5538 GB, free: 4.477 MB / 363.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.934e-05/0.4863, allocations: 38.12 kB / 0.5539 GB, free: 4.445 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-05/0.4863, allocations: 11.06 kB / 0.5539 GB, free: 4.438 MB / 363.1 MB Notification: Performance of sorting global known variables: time 0.0002209/0.4865, allocations: 214.4 kB / 0.5541 GB, free: 4.273 MB / 363.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4865, allocations: 4 kB / 0.5541 GB, free: 4.27 MB / 363.1 MB Notification: Performance of remove unused functions: time 0.0006331/0.4872, allocations: 155.4 kB / 0.5542 GB, free: 4.117 MB / 363.1 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 () * 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.0002635/0.4874, allocations: 135.1 kB / 0.5544 GB, free: 3.98 MB / 363.1 MB Notification: Performance of simCode: created initialization part: time 0.0008055/0.4883, allocations: 458.7 kB / 0.5548 GB, free: 3.629 MB / 363.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.4883, allocations: 0 / 0.5548 GB, free: 3.629 MB / 363.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004315/0.4887, allocations: 305.4 kB / 0.5551 GB, free: 3.383 MB / 363.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006376/0.4894, allocations: 110.1 kB / 0.5552 GB, free: 3.301 MB / 363.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001581/0.491, allocations: 0.8792 MB / 0.5561 GB, free: 2.488 MB / 363.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005346/0.4915, allocations: 0.9394 MB / 0.557 GB, free: 1.547 MB / 363.1 MB Notification: Performance of simCode: alias equations: time 0.0002647/0.4918, allocations: 80.25 kB / 0.557 GB, free: 1.465 MB / 363.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.458e-05/0.4919, allocations: 31.44 kB / 0.5571 GB, free: 1.434 MB / 363.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4919, allocations: 0 / 0.5571 GB, free: 1.434 MB / 363.1 MB Notification: Performance of Templates: time 0.01101/0.5029, allocations: 6.326 MB / 0.5633 GB, free: 11.16 MB / 379.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)