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.001052/0.001052, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.001156/0.001156, allocations: 168.7 kB / 15.95 MB, free: 204 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.757/1.757, allocations: 205.4 MB / 222.1 MB, free: 5.383 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.0004333/0.0004334, allocations: 12 kB / 278.9 MB, free: 12.66 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.3149, allocations: 47.59 MB / 326.5 MB, free: 1.422 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.004936/0.3199, allocations: 4.046 MB / 330.6 MB, free: 14.26 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.004505/0.3245, allocations: 1.286 MB / 331.8 MB, free: 13.2 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008189/0.3254, allocations: 24.59 kB / 331.9 MB, free: 13.19 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008923/0.3263, allocations: 169 kB / 332 MB, free: 13.06 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.3274, allocations: 304.9 kB / 332.3 MB, free: 12.82 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004863/0.3279, allocations: 137.9 kB / 332.5 MB, free: 12.71 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001779/0.3296, allocations: 1.592 MB / 334 MB, free: 11.76 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001153/0.3308, allocations: 0.6589 MB / 334.7 MB, free: 11.22 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001134/0.332, allocations: 470.1 kB / 335.2 MB, free: 10.76 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001054/0.333, allocations: 0.6147 MB / 335.8 MB, free: 10.14 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001352/0.3332, allocations: 68 kB / 335.8 MB, free: 10.08 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001831/0.3334, allocations: 64 kB / 335.9 MB, free: 10.02 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000358/0.3337, allocations: 326.9 kB / 336.2 MB, free: 9.695 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003106/0.3341, allocations: 269.1 kB / 336.5 MB, free: 9.426 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001813/0.3359, allocations: 1.645 MB / 338.1 MB, free: 7.777 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.259e-05/0.3359, allocations: 4 kB / 338.1 MB, free: 7.773 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.3359, allocations: 3.938 kB / 338.1 MB, free: 7.77 MB / 270.1 MB Notification: Performance of Transformations before backend: time 3.468e-05/0.336, allocations: 0 / 338.1 MB, free: 7.77 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.002948/0.3389, allocations: 1.412 MB / 339.6 MB, free: 6.301 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.451e-05/0.339, allocations: 8.031 kB / 339.6 MB, free: 6.293 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002591/0.3392, allocations: 138.4 kB / 339.7 MB, free: 6.156 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001372/0.3406, allocations: 0.8326 MB / 340.5 MB, free: 5.281 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.497e-05/0.3407, allocations: 77.95 kB / 340.6 MB, free: 5.207 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00016/0.3409, allocations: 103.9 kB / 340.7 MB, free: 5.105 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002522/0.3434, allocations: 1.427 MB / 342.1 MB, free: 3.645 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.609e-05/0.3434, allocations: 0 / 342.1 MB, free: 3.645 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000104/0.3436, allocations: 40 kB / 342.2 MB, free: 3.605 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.667e-05/0.3436, allocations: 45.98 kB / 342.2 MB, free: 3.562 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002175/0.3458, allocations: 1.292 MB / 343.5 MB, free: 2.27 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006419/0.3522, allocations: 4.351 MB / 347.9 MB, free: 13.82 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002005/0.3543, allocations: 1.963 MB / 349.8 MB, free: 11.64 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009759/0.3553, allocations: 0.6337 MB / 350.5 MB, free: 11 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.331e-05/0.3553, allocations: 8.656 kB / 350.5 MB, free: 10.99 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001039/0.3564, allocations: 0.6014 MB / 351.1 MB, free: 10.37 MB / 286.1 MB Notification: Performance of pre-optimization done (n=75): time 2.856e-06/0.3564, allocations: 4 kB / 351.1 MB, free: 10.37 MB / 286.1 MB Notification: Performance of matching and sorting (n=75): time 0.007303/0.3637, allocations: 2.809 MB / 353.9 MB, free: 7.527 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001199/0.3638, allocations: 119.5 kB / 354 MB, free: 7.387 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001309/0.3652, allocations: 0.813 MB / 354.8 MB, free: 6.562 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 7.758e-05/0.3652, allocations: 41.7 kB / 354.9 MB, free: 6.516 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005731/0.3658, allocations: 479.8 kB / 355.3 MB, free: 6.039 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002686/0.3661, allocations: 252.4 kB / 355.6 MB, free: 5.789 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.998e-05/0.3662, allocations: 12 kB / 355.6 MB, free: 5.777 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0003651/0.3665, allocations: 402.7 kB / 356 MB, free: 5.375 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006547/0.3672, allocations: 401.7 kB / 356.4 MB, free: 4.98 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008636/0.3681, allocations: 0.5493 MB / 356.9 MB, free: 4.375 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007573/0.3688, allocations: 445.9 kB / 357.4 MB, free: 3.938 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.3688, allocations: 0 / 357.4 MB, free: 3.938 MB / 286.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002296/0.3711, allocations: 1.295 MB / 358.6 MB, free: 2.633 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.804e-05/0.3712, allocations: 11.92 kB / 358.7 MB, free: 2.621 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/0.3712, allocations: 4 kB / 358.7 MB, free: 2.617 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001244/0.3725, allocations: 472.2 kB / 359.1 MB, free: 2.152 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003754/0.3729, allocations: 95.83 kB / 359.2 MB, free: 2.059 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00779/0.3807, allocations: 5.13 MB / 364.3 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007781/0.3815, allocations: 87.45 kB / 364.4 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.706e-05/0.3815, allocations: 27.98 kB / 364.5 MB, free: 12.68 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.001009/0.3826, allocations: 467.4 kB / 364.9 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001376/0.3827, allocations: 86.97 kB / 365 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002518/0.383, allocations: 112.5 kB / 365.1 MB, free: 12.01 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.383, allocations: 8 kB / 365.1 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.383, allocations: 4 kB / 365.1 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.394e-05/0.383, allocations: 3.984 kB / 365.1 MB, free: 11.99 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004393/0.3874, allocations: 2.631 MB / 367.8 MB, free: 9.301 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/0.3875, allocations: 0 / 367.8 MB, free: 9.301 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003032/0.3878, allocations: 63.91 kB / 367.8 MB, free: 9.238 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001067/0.3888, allocations: 464.3 kB / 368.3 MB, free: 8.781 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.053e-05/0.3889, allocations: 12 kB / 368.3 MB, free: 8.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00748/0.3964, allocations: 5.091 MB / 373.4 MB, free: 3.535 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.3964, allocations: 128 / 373.4 MB, free: 3.535 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003478/0.3999, allocations: 1.931 MB / 375.3 MB, free: 1.586 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007299/0.4007, allocations: 283.8 kB / 375.6 MB, free: 1.289 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001172/0.4008, allocations: 12 kB / 375.6 MB, free: 1.277 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004018/0.4012, allocations: 47.95 kB / 375.6 MB, free: 1.23 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002363/0.4014, allocations: 72.48 kB / 375.7 MB, free: 1.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.526e-05/0.4015, allocations: 23.98 kB / 375.7 MB, free: 1.137 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.001064/0.4026, allocations: 0.581 MB / 376.3 MB, free: 0.5586 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.116e-06/0.4026, allocations: 0 / 376.3 MB, free: 0.5586 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001407/0.404, allocations: 351 kB / 376.7 MB, free: 220 kB / 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.0002767/0.4043, allocations: 115.2 kB / 376.8 MB, free: 92 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002471/0.4068, allocations: 1.282 MB / 378.1 MB, free: 14.79 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.4068, allocations: 0 / 378.1 MB, free: 14.79 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001372/0.4082, allocations: 0.8286 MB / 378.9 MB, free: 13.96 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001138/0.4093, allocations: 262.8 kB / 379.1 MB, free: 13.7 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004885/0.4142, allocations: 2.703 MB / 381.8 MB, free: 10.97 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009878/0.4152, allocations: 1.318 MB / 383.2 MB, free: 9.625 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005027/0.4157, allocations: 151.3 kB / 383.3 MB, free: 9.473 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001583/0.4159, allocations: 51.44 kB / 383.4 MB, free: 9.422 MB / 318.1 MB Notification: Performance of SimCode: time 1.122e-06/0.4159, allocations: 0 / 383.4 MB, free: 9.422 MB / 318.1 MB Notification: Performance of Templates: time 0.02957/0.4455, allocations: 17.77 MB / 401.1 MB, free: 7.625 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile (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)