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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001483/0.001483, allocations: 95.94 kB / 16.3 MB, free: 5.992 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.001984/0.001984, allocations: 181.9 kB / 17.19 MB, free: 5.906 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.527/1.527, allocations: 205.4 MB / 223.4 MB, free: 5.516 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.0005118/0.0005122, allocations: 12 kB / 280.1 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3015/0.302, allocations: 47.59 MB / 327.7 MB, free: 1.445 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.006385/0.3085, allocations: 3.806 MB / 331.5 MB, free: 14.51 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.004095/0.3127, allocations: 1.326 MB / 332.8 MB, free: 13.43 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006906/0.3134, allocations: 21.06 kB / 332.9 MB, free: 13.43 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008371/0.3142, allocations: 179.3 kB / 333 MB, free: 13.28 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.001268/0.3155, allocations: 300 kB / 333.3 MB, free: 13.03 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005812/0.3161, allocations: 138.1 kB / 333.5 MB, free: 12.92 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.00209/0.3182, allocations: 0.9261 MB / 334.4 MB, free: 12.32 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001392/0.3196, allocations: 0.6627 MB / 335.1 MB, free: 11.98 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.001211/0.3209, allocations: 445.5 kB / 335.5 MB, free: 11.71 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001146/0.322, allocations: 0.5291 MB / 336 MB, free: 11.18 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001643/0.3222, allocations: 68 kB / 336.1 MB, free: 11.12 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002375/0.3225, allocations: 68 kB / 336.2 MB, free: 11.05 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004006/0.3229, allocations: 299.1 kB / 336.4 MB, free: 10.76 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004166/0.3233, allocations: 277.1 kB / 336.7 MB, free: 10.48 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002127/0.3255, allocations: 1.638 MB / 338.4 MB, free: 8.84 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.706e-06/0.3255, allocations: 0 / 338.4 MB, free: 8.84 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.995e-06/0.3255, allocations: 0 / 338.4 MB, free: 8.84 MB / 270.1 MB Notification: Performance of Transformations before backend: time 2.698e-05/0.3255, allocations: 0 / 338.4 MB, free: 8.84 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.00372/0.3293, allocations: 1.412 MB / 339.8 MB, free: 7.371 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.859e-05/0.3293, allocations: 12.03 kB / 339.8 MB, free: 7.359 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003726/0.3297, allocations: 138.4 kB / 339.9 MB, free: 7.223 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001991/0.3317, allocations: 0.8326 MB / 340.7 MB, free: 6.348 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.36e-05/0.3318, allocations: 77.94 kB / 340.8 MB, free: 6.273 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002171/0.3321, allocations: 99.98 kB / 340.9 MB, free: 6.176 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003504/0.3356, allocations: 1.419 MB / 342.3 MB, free: 4.723 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.83e-05/0.3356, allocations: 4 kB / 342.3 MB, free: 4.719 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001458/0.3358, allocations: 39.98 kB / 342.4 MB, free: 4.68 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.928e-05/0.3359, allocations: 38 kB / 342.4 MB, free: 4.645 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003202/0.3391, allocations: 1.296 MB / 343.7 MB, free: 3.344 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008902/0.348, allocations: 4.351 MB / 348.1 MB, free: 14.89 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002926/0.351, allocations: 1.966 MB / 350 MB, free: 12.71 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.058e-05/0.3511, allocations: 12.61 kB / 350 MB, free: 12.7 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001373/0.3525, allocations: 0.5976 MB / 350.6 MB, free: 12.08 MB / 286.1 MB Notification: Performance of pre-optimization done (n=75): time 4.148e-06/0.3525, allocations: 0 / 350.6 MB, free: 12.08 MB / 286.1 MB Notification: Performance of matching and sorting (n=75): time 0.01164/0.3642, allocations: 2.83 MB / 353.5 MB, free: 9.223 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/0.3643, allocations: 111.5 kB / 353.6 MB, free: 9.086 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002153/0.3665, allocations: 0.8168 MB / 354.4 MB, free: 8.258 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001235/0.3667, allocations: 45.69 kB / 354.4 MB, free: 8.207 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007725/0.3675, allocations: 483.8 kB / 354.9 MB, free: 7.727 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002534/0.3677, allocations: 248.5 kB / 355.2 MB, free: 7.48 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.553e-05/0.3678, allocations: 12 kB / 355.2 MB, free: 7.469 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002497/0.3681, allocations: 394.8 kB / 355.6 MB, free: 7.074 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001097/0.3692, allocations: 393.7 kB / 355.9 MB, free: 6.688 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001138/0.3703, allocations: 0.5532 MB / 356.5 MB, free: 6.078 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00107/0.3714, allocations: 445.9 kB / 356.9 MB, free: 5.641 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.014e-05/0.3714, allocations: 4 kB / 356.9 MB, free: 5.637 MB / 286.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003163/0.3746, allocations: 1.295 MB / 358.2 MB, free: 4.332 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.072e-05/0.3747, allocations: 12.03 kB / 358.2 MB, free: 4.32 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.308e-05/0.3747, allocations: 4 kB / 358.2 MB, free: 4.316 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001591/0.3763, allocations: 476.2 kB / 358.7 MB, free: 3.848 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004397/0.3768, allocations: 95.83 kB / 358.8 MB, free: 3.754 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007742/0.3845, allocations: 5.309 MB / 364.1 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007626/0.3853, allocations: 83.45 kB / 364.2 MB, free: 14.22 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.615e-05/0.3854, allocations: 28 kB / 364.2 MB, free: 14.2 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.0009345/0.3864, allocations: 475.2 kB / 364.7 MB, free: 13.72 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002502/0.3866, allocations: 86.97 kB / 364.8 MB, free: 13.63 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002647/0.3869, allocations: 108.6 kB / 364.9 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.767e-06/0.3869, allocations: 8 kB / 364.9 MB, free: 13.51 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.3869, allocations: 3.984 kB / 364.9 MB, free: 13.51 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.3869, allocations: 0 / 364.9 MB, free: 13.51 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004533/0.3915, allocations: 2.627 MB / 367.5 MB, free: 10.82 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.3915, allocations: 0 / 367.5 MB, free: 10.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003056/0.3918, allocations: 67.91 kB / 367.6 MB, free: 10.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001017/0.3929, allocations: 460.3 kB / 368 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.736e-05/0.3929, allocations: 15.98 kB / 368 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007952/0.4009, allocations: 5.279 MB / 373.3 MB, free: 4.867 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.4009, allocations: 0 / 373.3 MB, free: 4.867 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003278/0.4042, allocations: 1.923 MB / 375.2 MB, free: 2.926 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006442/0.4049, allocations: 275.9 kB / 375.5 MB, free: 2.637 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002187/0.4051, allocations: 12 kB / 375.5 MB, free: 2.625 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005639/0.4057, allocations: 47.95 kB / 375.6 MB, free: 2.578 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002074/0.4059, allocations: 76.53 kB / 375.7 MB, free: 2.504 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.003e-05/0.406, allocations: 20 kB / 375.7 MB, free: 2.484 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.001111/0.4071, allocations: 0.5849 MB / 376.3 MB, free: 1.902 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4071, allocations: 0 / 376.3 MB, free: 1.902 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001506/0.4086, allocations: 339.1 kB / 376.6 MB, free: 1.57 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.0003128/0.409, allocations: 131.2 kB / 376.7 MB, free: 1.434 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002781/0.4118, allocations: 1.286 MB / 378 MB, free: 132 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.76e-06/0.4118, allocations: 0 / 378 MB, free: 132 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00142/0.4132, allocations: 0.828 MB / 378.8 MB, free: 15.29 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001166/0.4144, allocations: 250.9 kB / 379.1 MB, free: 15.05 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005284/0.4197, allocations: 2.709 MB / 381.8 MB, free: 12.31 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001339/0.4211, allocations: 1.345 MB / 383.1 MB, free: 10.94 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005556/0.4216, allocations: 143.3 kB / 383.3 MB, free: 10.79 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001806/0.4218, allocations: 51.44 kB / 383.3 MB, free: 10.74 MB / 318.1 MB Notification: Performance of SimCode: time 6.61e-07/0.4218, allocations: 4 kB / 383.3 MB, free: 10.74 MB / 318.1 MB Notification: Performance of Templates: time 0.03445/0.4563, allocations: 17.75 MB / 401.1 MB, free: 8.965 MB / 334.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: