Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.0009772/0.0009772, allocations: 86.41 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.001069/0.001069, 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.678/1.678, allocations: 205.4 MB / 222.1 MB, free: 5.883 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.0006928/0.000693, allocations: 16 kB / 278.9 MB, free: 13.03 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3268/0.3275, allocations: 47.59 MB / 326.5 MB, free: 1.387 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.004283/0.3318, allocations: 3.142 MB / 329.6 MB, free: 14.92 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002096/0.334, allocations: 0.9085 MB / 330.6 MB, free: 14.18 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000566/0.3346, allocations: 10.69 kB / 330.6 MB, free: 14.17 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003241/0.3349, allocations: 61.66 kB / 330.6 MB, free: 14.12 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005731/0.3355, allocations: 115.6 kB / 330.7 MB, free: 14.02 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004687/0.336, allocations: 108.5 kB / 330.8 MB, free: 13.93 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009051/0.3369, allocations: 0.5474 MB / 331.4 MB, free: 13.59 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004323/0.3374, allocations: 154.6 kB / 331.5 MB, free: 13.49 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004709/0.3378, allocations: 173.4 kB / 331.7 MB, free: 13.4 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004669/0.3383, allocations: 206.7 kB / 331.9 MB, free: 13.26 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001088/0.3384, allocations: 24.06 kB / 331.9 MB, free: 13.26 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001427/0.3386, allocations: 22.91 kB / 332 MB, free: 13.26 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.3387, allocations: 81.98 kB / 332 MB, free: 13.2 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001883/0.3389, allocations: 112.5 kB / 332.1 MB, free: 13.12 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005125/0.3394, allocations: 472.7 kB / 332.6 MB, free: 12.77 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.3394, allocations: 3.938 kB / 332.6 MB, free: 12.76 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3394, allocations: 0 / 332.6 MB, free: 12.76 MB / 270.1 MB Notification: Performance of Transformations before backend: time 2.355e-05/0.3395, allocations: 0 / 332.6 MB, free: 12.76 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.001597/0.3411, allocations: 0.685 MB / 333.3 MB, free: 12.18 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.3411, allocations: 8.906 kB / 333.3 MB, free: 12.18 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001925/0.3413, allocations: 63.52 kB / 333.4 MB, free: 12.14 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006068/0.3419, allocations: 346.7 kB / 333.7 MB, free: 11.82 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000104/0.342, allocations: 33.86 kB / 333.7 MB, free: 11.8 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.623e-05/0.3421, allocations: 47.84 kB / 333.8 MB, free: 11.78 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009067/0.3431, allocations: 449.4 kB / 334.2 MB, free: 11.48 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.001e-05/0.3431, allocations: 0 / 334.2 MB, free: 11.48 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.713e-05/0.3431, allocations: 16.38 kB / 334.2 MB, free: 11.47 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.617e-05/0.3432, allocations: 10.88 kB / 334.3 MB, free: 11.47 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006831/0.3439, allocations: 322.6 kB / 334.6 MB, free: 11.31 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002534/0.3464, allocations: 1.844 MB / 336.4 MB, free: 9.363 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008232/0.3472, allocations: 0.6047 MB / 337 MB, free: 8.695 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005605/0.3478, allocations: 277.8 kB / 337.3 MB, free: 8.422 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.118e-05/0.3479, allocations: 4.328 kB / 337.3 MB, free: 8.418 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004848/0.3484, allocations: 277.1 kB / 337.6 MB, free: 8.129 MB / 270.1 MB Notification: Performance of pre-optimization done (n=43): time 1.693e-06/0.3484, allocations: 3.938 kB / 337.6 MB, free: 8.125 MB / 270.1 MB Notification: Performance of matching and sorting (n=43): time 0.002324/0.3507, allocations: 0.8394 MB / 338.4 MB, free: 7.258 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.908e-05/0.3508, allocations: 92.98 kB / 338.5 MB, free: 7.148 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004021/0.3512, allocations: 316.4 kB / 338.8 MB, free: 6.836 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.989e-05/0.3513, allocations: 29.7 kB / 338.8 MB, free: 6.801 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001834/0.3514, allocations: 220.3 kB / 339.1 MB, free: 6.582 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001257/0.3516, allocations: 134.1 kB / 339.2 MB, free: 6.449 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.937e-05/0.3516, allocations: 4 kB / 339.2 MB, free: 6.445 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.3518, allocations: 350.8 kB / 339.5 MB, free: 6.094 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002709/0.3521, allocations: 121.1 kB / 339.6 MB, free: 5.977 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003553/0.3524, allocations: 252.9 kB / 339.9 MB, free: 5.676 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003057/0.3528, allocations: 152.4 kB / 340 MB, free: 5.527 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.3528, allocations: 4 kB / 340 MB, free: 5.523 MB / 270.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009207/0.3537, allocations: 0.5013 MB / 340.5 MB, free: 5.012 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.681e-05/0.3537, allocations: 8.469 kB / 340.6 MB, free: 5.004 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/0.3538, allocations: 12 kB / 340.6 MB, free: 4.992 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004783/0.3542, allocations: 148.6 kB / 340.7 MB, free: 4.844 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002264/0.3545, allocations: 63.91 kB / 340.8 MB, free: 4.781 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002925/0.3574, allocations: 2.311 MB / 343.1 MB, free: 2.34 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002945/0.3577, allocations: 43.66 kB / 343.1 MB, free: 2.297 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.198e-05/0.3578, allocations: 16 kB / 343.1 MB, free: 2.281 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 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.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 (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 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002446/0.358, allocations: 178.5 kB / 343.3 MB, free: 2.098 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.997e-05/0.3581, allocations: 39.53 kB / 343.4 MB, free: 2.059 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001035/0.3582, allocations: 48.3 kB / 343.4 MB, free: 2.012 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.3582, allocations: 4 kB / 343.4 MB, free: 2.008 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.3582, allocations: 3.953 kB / 343.4 MB, free: 2.004 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.3582, allocations: 3.984 kB / 343.4 MB, free: 2 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001649/0.3599, allocations: 1.02 MB / 344.4 MB, free: 0.9141 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.3599, allocations: 0 / 344.4 MB, free: 0.9141 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001667/0.3601, allocations: 35.98 kB / 344.5 MB, free: 0.8789 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003574/0.3604, allocations: 146.9 kB / 344.6 MB, free: 0.7344 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.275e-05/0.3605, allocations: 11.98 kB / 344.6 MB, free: 0.7227 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002877/0.3634, allocations: 2.313 MB / 346.9 MB, free: 14.27 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.865e-06/0.3634, allocations: 7.953 kB / 346.9 MB, free: 14.27 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001128/0.3645, allocations: 0.7119 MB / 347.7 MB, free: 13.53 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002078/0.3647, allocations: 156.5 kB / 347.8 MB, free: 13.36 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.766e-05/0.3648, allocations: 11.95 kB / 347.8 MB, free: 13.34 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002049/0.365, allocations: 16 kB / 347.8 MB, free: 13.33 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.3651, allocations: 31.94 kB / 347.9 MB, free: 13.3 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.087e-05/0.3652, allocations: 16 kB / 347.9 MB, free: 13.28 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000258/0.3654, allocations: 215.1 kB / 348.1 MB, free: 13.07 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3655, allocations: 0 / 348.1 MB, free: 13.07 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.00065/0.3661, allocations: 147.7 kB / 348.2 MB, free: 12.93 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 (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 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001894/0.3663, allocations: 119.8 kB / 348.4 MB, free: 12.8 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001094/0.3674, allocations: 0.5257 MB / 348.9 MB, free: 12.26 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.3674, allocations: 3.984 kB / 348.9 MB, free: 12.26 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005998/0.368, allocations: 371.3 kB / 349.2 MB, free: 11.88 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005479/0.3686, allocations: 80.97 kB / 349.3 MB, free: 11.8 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002009/0.3706, allocations: 1.03 MB / 350.4 MB, free: 10.75 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006225/0.3713, allocations: 0.8279 MB / 351.2 MB, free: 9.895 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001757/0.3714, allocations: 39.31 kB / 351.2 MB, free: 9.855 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.181e-05/0.3715, allocations: 23.44 kB / 351.2 MB, free: 9.832 MB / 286.1 MB Notification: Performance of SimCode: time 1.102e-06/0.3715, allocations: 0 / 351.2 MB, free: 9.832 MB / 286.1 MB Notification: Performance of Templates: time 0.01342/0.385, allocations: 6.117 MB / 357.4 MB, free: 3.707 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1)