Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.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.RectifierBridge2mPulse.DiodeBridge2mPulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.1_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.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001472/0.001473, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.595/1.595, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.0004559/0.0004559, allocations: 12 kB / 278.9 MB, free: 12.8 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2994/0.2999, allocations: 47.58 MB / 326.5 MB, free: 1.402 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.004867/0.3048, allocations: 3.806 MB / 330.3 MB, free: 14.46 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003299/0.3082, allocations: 1.322 MB / 331.6 MB, free: 13.39 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005262/0.3087, allocations: 21.34 kB / 331.6 MB, free: 13.39 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007409/0.3095, allocations: 190.7 kB / 331.8 MB, free: 13.23 MB / 270.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Electrical/PowerConverters.mo:5153:20-5153:43:writable] Warning: 'each' used when modifying non-array element diode_p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Electrical/PowerConverters.mo:5164:20-5164:43:writable] Warning: 'each' used when modifying non-array element diode_n. Notification: Performance of NFTyping.typeBindings: time 0.001076/0.3106, allocations: 300.2 kB / 332.1 MB, free: 12.98 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005133/0.3111, allocations: 126.7 kB / 332.2 MB, free: 12.88 MB / 270.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Electrical/PowerConverters.mo:5153:20-5153:43:writable] Warning: 'each' used when modifying non-array element diode_p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Electrical/PowerConverters.mo:5164:20-5164:43:writable] Warning: 'each' used when modifying non-array element diode_n. Notification: Performance of NFFlatten.flatten: time 0.001783/0.3129, allocations: 0.9334 MB / 333.1 MB, free: 12.28 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00105/0.314, allocations: 0.66 MB / 333.8 MB, free: 11.94 MB / 270.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Electrical/PowerConverters.mo:5153:20-5153:43:writable] Warning: 'each' used when modifying non-array element diode_p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Electrical/PowerConverters.mo:5164:20-5164:43:writable] Warning: 'each' used when modifying non-array element diode_n. Notification: Performance of NFEvalConstants.evaluate: time 0.0007655/0.3147, allocations: 444.9 kB / 334.2 MB, free: 11.68 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007208/0.3155, allocations: 0.5213 MB / 334.8 MB, free: 11.16 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001063/0.3156, allocations: 72 kB / 334.8 MB, free: 11.09 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001501/0.3158, allocations: 64 kB / 334.9 MB, free: 11.03 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002751/0.316, allocations: 303 kB / 335.2 MB, free: 10.73 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002466/0.3163, allocations: 273.1 kB / 335.5 MB, free: 10.46 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001374/0.3177, allocations: 1.638 MB / 337.1 MB, free: 8.816 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.3177, allocations: 0 / 337.1 MB, free: 8.816 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3177, allocations: 0 / 337.1 MB, free: 8.816 MB / 270.1 MB Notification: Performance of Transformations before backend: time 2.038e-05/0.3177, allocations: 0 / 337.1 MB, free: 8.816 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.002729/0.3204, allocations: 1.42 MB / 338.5 MB, free: 7.34 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.3205, allocations: 12.02 kB / 338.5 MB, free: 7.328 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002293/0.3207, allocations: 134.4 kB / 338.7 MB, free: 7.195 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001425/0.3222, allocations: 0.8287 MB / 339.5 MB, free: 6.324 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.322e-05/0.3223, allocations: 81.94 kB / 339.6 MB, free: 6.246 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001715/0.3224, allocations: 99.94 kB / 339.7 MB, free: 6.148 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002386/0.3248, allocations: 1.419 MB / 341.1 MB, free: 4.695 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.964e-05/0.3249, allocations: 7.938 kB / 341.1 MB, free: 4.688 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001501/0.325, allocations: 40 kB / 341.1 MB, free: 4.648 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.998e-05/0.3251, allocations: 45.98 kB / 341.2 MB, free: 4.605 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002181/0.3273, allocations: 1.288 MB / 342.5 MB, free: 3.316 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006838/0.3341, allocations: 4.351 MB / 346.8 MB, free: 14.87 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002086/0.3363, allocations: 1.966 MB / 348.8 MB, free: 12.68 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.358e-05/0.3363, allocations: 12.61 kB / 348.8 MB, free: 12.67 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009531/0.3373, allocations: 0.5937 MB / 349.4 MB, free: 12.05 MB / 286.1 MB Notification: Performance of pre-optimization done (n=75): time 2.756e-06/0.3373, allocations: 0 / 349.4 MB, free: 12.05 MB / 286.1 MB Notification: Performance of matching and sorting (n=75): time 0.00713/0.3444, allocations: 2.83 MB / 352.2 MB, free: 9.199 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.761e-05/0.3445, allocations: 119.4 kB / 352.3 MB, free: 9.055 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001124/0.3457, allocations: 0.8168 MB / 353.2 MB, free: 8.227 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.383e-05/0.3457, allocations: 45.7 kB / 353.2 MB, free: 8.176 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004437/0.3462, allocations: 483.8 kB / 353.7 MB, free: 7.695 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002255/0.3464, allocations: 248.5 kB / 353.9 MB, free: 7.449 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.589e-05/0.3465, allocations: 12 kB / 353.9 MB, free: 7.438 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002006/0.3467, allocations: 390.8 kB / 354.3 MB, free: 7.047 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000623/0.3473, allocations: 397.7 kB / 354.7 MB, free: 6.656 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007648/0.3481, allocations: 0.5571 MB / 355.3 MB, free: 6.043 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006869/0.3488, allocations: 437.9 kB / 355.7 MB, free: 5.613 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.3488, allocations: 4 kB / 355.7 MB, free: 5.609 MB / 286.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002064/0.3509, allocations: 1.299 MB / 357 MB, free: 4.301 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.598e-05/0.3509, allocations: 8 kB / 357 MB, free: 4.293 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.3509, allocations: 7.984 kB / 357 MB, free: 4.285 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001091/0.352, allocations: 468.2 kB / 357.5 MB, free: 3.824 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003661/0.3524, allocations: 99.81 kB / 357.6 MB, free: 3.727 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007017/0.3594, allocations: 5.309 MB / 362.9 MB, free: 14.28 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005992/0.3601, allocations: 87.45 kB / 362.9 MB, free: 14.19 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.754e-05/0.3601, allocations: 24 kB / 363 MB, free: 14.17 MB / 302.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: 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 54 * 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.0007843/0.3609, allocations: 463.1 kB / 363.4 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001282/0.3611, allocations: 94.94 kB / 363.5 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002027/0.3613, allocations: 112.6 kB / 363.6 MB, free: 13.49 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.3613, allocations: 8 kB / 363.6 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.3613, allocations: 0 / 363.6 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.3613, allocations: 7.984 kB / 363.6 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003927/0.3652, allocations: 2.623 MB / 366.3 MB, free: 10.79 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.3653, allocations: 0 / 366.3 MB, free: 10.79 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002913/0.3655, allocations: 63.89 kB / 366.3 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009658/0.3665, allocations: 456.4 kB / 366.8 MB, free: 10.28 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.683e-05/0.3666, allocations: 19.98 kB / 366.8 MB, free: 10.26 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007179/0.3738, allocations: 5.283 MB / 372.1 MB, free: 4.84 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3738, allocations: 0 / 372.1 MB, free: 4.84 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00308/0.3769, allocations: 1.923 MB / 374 MB, free: 2.898 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006034/0.3775, allocations: 275.8 kB / 374.3 MB, free: 2.609 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001942/0.3777, allocations: 20 kB / 374.3 MB, free: 2.59 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004869/0.3782, allocations: 43.95 kB / 374.3 MB, free: 2.547 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002093/0.3784, allocations: 72.53 kB / 374.4 MB, free: 2.477 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.068e-05/0.3785, allocations: 24 kB / 374.4 MB, free: 2.453 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0009381/0.3794, allocations: 0.581 MB / 375 MB, free: 1.875 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.3794, allocations: 0 / 375 MB, free: 1.875 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001297/0.3807, allocations: 343 kB / 375.3 MB, free: 1.539 MB / 302.1 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) * Number of clocked states: 0 () * 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.0002588/0.381, allocations: 123.2 kB / 375.5 MB, free: 1.41 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002455/0.3835, allocations: 1.294 MB / 376.8 MB, free: 100 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.972e-06/0.3835, allocations: 4 kB / 376.8 MB, free: 96 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001324/0.3848, allocations: 0.8206 MB / 377.6 MB, free: 15.26 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001095/0.3859, allocations: 250.9 kB / 377.8 MB, free: 15.02 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004953/0.3909, allocations: 2.701 MB / 380.5 MB, free: 12.29 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001258/0.3922, allocations: 1.349 MB / 381.9 MB, free: 10.91 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000496/0.3927, allocations: 143.3 kB / 382 MB, free: 10.77 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001755/0.3929, allocations: 55.42 kB / 382.1 MB, free: 10.71 MB / 318.1 MB Notification: Performance of SimCode: time 1.082e-06/0.3929, allocations: 0 / 382.1 MB, free: 10.71 MB / 318.1 MB Notification: Performance of Templates: time 0.03444/0.4273, allocations: 17.75 MB / 399.8 MB, free: 8.938 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) Environment - environmentSimulation: