Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00142/0.001421, allocations: 194.2 kB / 16.13 MB, free: 6.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.817/1.817, allocations: 205.1 MB / 222 MB, free: 4.738 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001639/0.001639, allocations: 47.94 kB / 278.1 MB, free: 12.74 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4046/0.4062, allocations: 46.63 MB / 324.7 MB, free: 1.945 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.01017/0.4165, allocations: 3.69 MB / 328.4 MB, free: 15.04 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003694/0.4202, allocations: 0.9353 MB / 329.3 MB, free: 14.27 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007864/0.421, allocations: 10.56 kB / 329.3 MB, free: 14.27 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000546/0.4217, allocations: 58.75 kB / 329.4 MB, free: 14.21 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001236/0.423, allocations: 127 kB / 329.5 MB, free: 14.11 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009245/0.4239, allocations: 137.3 kB / 329.6 MB, free: 13.99 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001589/0.4256, allocations: 0.5722 MB / 330.2 MB, free: 13.64 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006712/0.4263, allocations: 183.7 kB / 330.4 MB, free: 13.54 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006852/0.427, allocations: 197.8 kB / 330.6 MB, free: 13.43 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008049/0.4278, allocations: 233.2 kB / 330.8 MB, free: 13.26 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002061/0.428, allocations: 34.91 kB / 330.9 MB, free: 13.26 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003362/0.4284, allocations: 30.91 kB / 330.9 MB, free: 13.26 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000276/0.4287, allocations: 101.5 kB / 331 MB, free: 13.17 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007972/0.4295, allocations: 232.7 kB / 331.2 MB, free: 13.02 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001356/0.4309, allocations: 0.5878 MB / 331.8 MB, free: 12.57 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.859e-06/0.4309, allocations: 0 / 331.8 MB, free: 12.57 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.4309, allocations: 4.844 kB / 331.8 MB, free: 12.56 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.785e-05/0.431, allocations: 0 / 331.8 MB, free: 12.56 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.002853/0.4339, allocations: 0.7707 MB / 332.6 MB, free: 11.91 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.894e-05/0.4339, allocations: 9.625 kB / 332.6 MB, free: 11.91 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003347/0.4343, allocations: 56.97 kB / 332.6 MB, free: 11.89 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/0.4353, allocations: 363 kB / 333 MB, free: 11.54 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.341e-05/0.4354, allocations: 35.03 kB / 333 MB, free: 11.53 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001401/0.4356, allocations: 49 kB / 333.1 MB, free: 11.51 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00165/0.4372, allocations: 452.4 kB / 333.5 MB, free: 11.2 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.491e-05/0.4373, allocations: 4 kB / 333.5 MB, free: 11.2 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001016/0.4374, allocations: 19.98 kB / 333.5 MB, free: 11.18 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.062e-05/0.4375, allocations: 8 kB / 333.5 MB, free: 11.17 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001233/0.4387, allocations: 323.7 kB / 333.9 MB, free: 10.86 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004287/0.443, allocations: 1.824 MB / 335.7 MB, free: 8.93 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001189/0.4442, allocations: 0.6163 MB / 336.3 MB, free: 8.25 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008192/0.4451, allocations: 273.3 kB / 336.6 MB, free: 7.98 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.709e-05/0.4451, allocations: 4.328 kB / 336.6 MB, free: 7.977 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008406/0.446, allocations: 269.2 kB / 336.8 MB, free: 7.695 MB / 270.1 MB Notification: Performance of pre-optimization done (n=43): time 5.851e-06/0.446, allocations: 0 / 336.8 MB, free: 7.695 MB / 270.1 MB Notification: Performance of matching and sorting (n=43): time 0.004361/0.4504, allocations: 0.8471 MB / 337.7 MB, free: 6.82 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001591/0.4506, allocations: 92.98 kB / 337.8 MB, free: 6.711 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006563/0.4512, allocations: 312.4 kB / 338.1 MB, free: 6.395 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 6.997e-05/0.4513, allocations: 37.7 kB / 338.1 MB, free: 6.352 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00029/0.4516, allocations: 208.4 kB / 338.3 MB, free: 6.141 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002154/0.4519, allocations: 146 kB / 338.5 MB, free: 5.996 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002138/0.4521, allocations: 82.25 kB / 338.5 MB, free: 5.91 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0002274/0.4523, allocations: 354.7 kB / 338.9 MB, free: 5.555 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004306/0.4528, allocations: 121.1 kB / 339 MB, free: 5.438 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006332/0.4534, allocations: 253 kB / 339.3 MB, free: 5.137 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001071/0.4545, allocations: 378.1 kB / 339.6 MB, free: 4.715 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.4546, allocations: 0 / 339.6 MB, free: 4.715 MB / 270.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001545/0.4561, allocations: 0.506 MB / 340.1 MB, free: 4.199 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.972e-05/0.4562, allocations: 8 kB / 340.1 MB, free: 4.191 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.063e-05/0.4562, allocations: 4 kB / 340.1 MB, free: 4.188 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009082/0.4571, allocations: 147.6 kB / 340.3 MB, free: 4.043 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004431/0.4576, allocations: 63.84 kB / 340.4 MB, free: 3.98 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004946/0.4626, allocations: 2.296 MB / 342.6 MB, free: 1.555 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005532/0.4631, allocations: 51.56 kB / 342.7 MB, free: 1.504 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.846e-05/0.4632, allocations: 19.94 kB / 342.7 MB, free: 1.484 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 13 (meanVoltage.y,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,rectifier.diode_n2.off,rectifier.diode_n1.off,rectifier.diode_p2.off,rectifier.diode_p1.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * 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 {(4,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0004394/0.4637, allocations: 177.7 kB / 342.9 MB, free: 1.301 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001538/0.4638, allocations: 43.52 kB / 342.9 MB, free: 1.258 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001766/0.464, allocations: 44.3 kB / 343 MB, free: 1.215 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.119e-05/0.4641, allocations: 8 kB / 343 MB, free: 1.207 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.4641, allocations: 0 / 343 MB, free: 1.207 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.136e-06/0.4641, allocations: 0 / 343 MB, free: 1.207 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002808/0.4669, allocations: 1.024 MB / 344 MB, free: 124 kB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/0.4669, allocations: 4 kB / 344 MB, free: 120 kB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003356/0.4673, allocations: 39.91 kB / 344 MB, free: 80 kB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008166/0.4681, allocations: 143.1 kB / 344.2 MB, free: 15.94 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.25e-05/0.4682, allocations: 12 kB / 344.2 MB, free: 15.93 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004599/0.4728, allocations: 2.293 MB / 346.5 MB, free: 13.5 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.4728, allocations: 0 / 346.5 MB, free: 13.5 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001987/0.4748, allocations: 0.7233 MB / 347.2 MB, free: 12.75 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003056/0.4752, allocations: 156.5 kB / 347.4 MB, free: 12.57 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/0.4753, allocations: 12 kB / 347.4 MB, free: 12.56 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004007/0.4757, allocations: 11.98 kB / 347.4 MB, free: 12.55 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001515/0.4759, allocations: 31.95 kB / 347.4 MB, free: 12.52 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.831e-05/0.4759, allocations: 23.98 kB / 347.4 MB, free: 12.5 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003636/0.4763, allocations: 211.1 kB / 347.7 MB, free: 12.29 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.4763, allocations: 0 / 347.7 MB, free: 12.29 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.00103/0.4774, allocations: 147.7 kB / 347.8 MB, free: 12.14 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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 {(4,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002284/0.4776, allocations: 115.8 kB / 347.9 MB, free: 12.02 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001725/0.4794, allocations: 0.5369 MB / 348.4 MB, free: 11.47 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 9.849e-06/0.4794, allocations: 4 kB / 348.5 MB, free: 11.46 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001004/0.4804, allocations: 371.1 kB / 348.8 MB, free: 11.09 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008372/0.4813, allocations: 69 kB / 348.9 MB, free: 11.02 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00318/0.4845, allocations: 1.03 MB / 349.9 MB, free: 9.961 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006848/0.4852, allocations: 0.8279 MB / 350.7 MB, free: 9.109 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002773/0.4855, allocations: 39.31 kB / 350.8 MB, free: 9.07 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.4856, allocations: 31.38 kB / 350.8 MB, free: 9.039 MB / 286.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4856, allocations: 0 / 350.8 MB, free: 9.039 MB / 286.1 MB Notification: Performance of Templates: time 0.02287/0.5085, allocations: 6.396 MB / 357.2 MB, free: 2.637 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile (rm -f Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1)