Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.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) 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(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001022/0.001022, allocations: 182 kB / 13.64 MB, free: 1.676 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.322/1.322, allocations: 194.3 MB / 208.4 MB, free: 6.715 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.001667/0.001667, allocations: 120.7 kB / 253.5 MB, free: 9.594 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.665e-05/2.667e-05, allocations: 4 kB / 305 MB, free: 29.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08329/0.08333, allocations: 44.51 MB / 349.5 MB, free: 1.238 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2923/0.3756, allocations: 79.26 MB / 428.7 MB, free: 10.01 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000206/0.3759, allocations: 85.2 kB / 428.8 MB, free: 10 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04303/0.4189, allocations: 20.42 MB / 449.2 MB, free: 14.68 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.419, allocations: 0 / 449.2 MB, free: 14.68 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.004e-05/0.419, allocations: 24 kB / 449.3 MB, free: 14.66 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.002158/0.4212, allocations: 1.276 MB / 450.5 MB, free: 13.41 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.4213, allocations: 8.031 kB / 450.5 MB, free: 13.4 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002395/0.4215, allocations: 142.3 kB / 450.7 MB, free: 13.26 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003911/0.4254, allocations: 1.676 MB / 452.4 MB, free: 11.96 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.674e-05/0.4255, allocations: 73.44 kB / 452.4 MB, free: 11.93 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001573/0.4257, allocations: 98.52 kB / 452.5 MB, free: 11.86 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002123/0.4278, allocations: 1.384 MB / 453.9 MB, free: 10.89 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.526e-05/0.4278, allocations: 0 / 453.9 MB, free: 10.89 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001011/0.428, allocations: 48 kB / 454 MB, free: 10.88 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.918e-05/0.428, allocations: 41.98 kB / 454 MB, free: 10.84 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001707/0.4297, allocations: 1.175 MB / 455.2 MB, free: 10.11 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00596/0.4357, allocations: 4.338 MB / 459.5 MB, free: 6.84 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001709/0.4374, allocations: 1.946 MB / 461.5 MB, free: 5.074 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001058/0.4385, allocations: 0.7266 MB / 462.2 MB, free: 4.57 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.462e-05/0.4386, allocations: 12.78 kB / 462.2 MB, free: 4.559 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007532/0.4393, allocations: 0.575 MB / 462.8 MB, free: 4.129 MB / 314.7 MB Notification: Performance of pre-optimization done (n=75): time 3.427e-06/0.4394, allocations: 0 / 462.8 MB, free: 4.129 MB / 314.7 MB Notification: Performance of matching and sorting (n=75): time 0.001881/0.4412, allocations: 1.222 MB / 464 MB, free: 3.254 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.56e-05/0.4413, allocations: 122.8 kB / 464.1 MB, free: 3.113 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008605/0.4422, allocations: 0.7199 MB / 464.8 MB, free: 2.562 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.046e-05/0.4423, allocations: 45.08 kB / 464.9 MB, free: 2.523 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003933/0.4427, allocations: 487.7 kB / 465.3 MB, free: 2.137 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001906/0.4429, allocations: 244.1 kB / 465.6 MB, free: 1.902 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.603e-05/0.4429, allocations: 12 kB / 465.6 MB, free: 1.891 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001781/0.4431, allocations: 398.7 kB / 466 MB, free: 1.492 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000506/0.4436, allocations: 373.4 kB / 466.3 MB, free: 1.129 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006201/0.4442, allocations: 0.5113 MB / 466.9 MB, free: 0.5625 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005551/0.4448, allocations: 419 kB / 467.3 MB, free: 160 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.4448, allocations: 4 kB / 467.3 MB, free: 156 kB / 314.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.00178/0.4466, allocations: 1.253 MB / 468.5 MB, free: 14.89 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.4466, allocations: 8.438 kB / 468.5 MB, free: 14.88 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.964e-06/0.4466, allocations: 4 kB / 468.5 MB, free: 14.88 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000989/0.4476, allocations: 460.4 kB / 469 MB, free: 14.42 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003592/0.448, allocations: 99.88 kB / 469.1 MB, free: 14.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006218/0.4542, allocations: 5.094 MB / 474.2 MB, free: 9.098 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005841/0.4548, allocations: 87.45 kB / 474.3 MB, free: 9.012 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.151e-05/0.4549, allocations: 27.92 kB / 474.3 MB, free: 8.984 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * 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 {6 30} Notification: Performance of prepare postOptimizeDAE: time 0.0001874/0.4551, allocations: 154.6 kB / 474.4 MB, free: 8.824 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001277/0.4552, allocations: 86.97 kB / 474.5 MB, free: 8.738 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002811/0.4555, allocations: 108.5 kB / 474.6 MB, free: 8.625 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.4555, allocations: 11.95 kB / 474.6 MB, free: 8.613 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.4555, allocations: 0 / 474.6 MB, free: 8.613 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.116e-06/0.4556, allocations: 3.984 kB / 474.7 MB, free: 8.609 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003843/0.4594, allocations: 2.583 MB / 477.2 MB, free: 5.977 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.4594, allocations: 4.078 kB / 477.2 MB, free: 5.973 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002848/0.4597, allocations: 71.91 kB / 477.3 MB, free: 5.902 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009613/0.4607, allocations: 457.3 kB / 477.8 MB, free: 5.453 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.171e-05/0.4608, allocations: 15.98 kB / 477.8 MB, free: 5.438 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006251/0.467, allocations: 5.028 MB / 482.8 MB, free: 288 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.467, allocations: 3.953 kB / 482.8 MB, free: 284 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002675/0.4697, allocations: 1.857 MB / 484.7 MB, free: 14.4 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004536/0.4702, allocations: 275.9 kB / 484.9 MB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/0.4703, allocations: 15.98 kB / 484.9 MB, free: 14.09 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004154/0.4707, allocations: 47.95 kB / 485 MB, free: 14.05 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001839/0.4709, allocations: 68.67 kB / 485.1 MB, free: 13.98 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.876e-05/0.471, allocations: 23.98 kB / 485.1 MB, free: 13.96 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0008455/0.4718, allocations: 0.5772 MB / 485.7 MB, free: 13.38 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.4718, allocations: 0 / 485.7 MB, free: 13.38 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001033/0.4729, allocations: 343 kB / 486 MB, free: 13.05 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 36 * 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 {6 30} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002161/0.4731, allocations: 143.2 kB / 486.1 MB, free: 12.89 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001861/0.475, allocations: 1.228 MB / 487.4 MB, free: 11.65 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.475, allocations: 192 / 487.4 MB, free: 11.65 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001078/0.4761, allocations: 0.7918 MB / 488.2 MB, free: 10.85 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/0.4771, allocations: 251.2 kB / 488.4 MB, free: 10.61 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0033/0.4804, allocations: 1.799 MB / 490.2 MB, free: 8.781 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009639/0.4814, allocations: 1.341 MB / 491.5 MB, free: 7.41 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004212/0.4818, allocations: 151.1 kB / 491.7 MB, free: 7.258 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001376/0.482, allocations: 47.44 kB / 491.7 MB, free: 7.211 MB / 346.7 MB Notification: Performance of SimCode: time 1.342e-06/0.482, allocations: 0 / 491.7 MB, free: 7.211 MB / 346.7 MB Notification: Performance of Templates: time 0.02825/0.5103, allocations: 17.79 MB / 0.4976 GB, free: 5.406 MB / 362.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1)