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.001301/0.001301, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001765/0.001765, allocations: 191.8 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.002/2.002, allocations: 205.1 MB / 222.1 MB, free: 4.703 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.001688/0.001689, allocations: 51.94 kB / 278.2 MB, free: 12.64 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4239/0.4256, allocations: 46.62 MB / 324.9 MB, free: 1.938 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.005822/0.4315, allocations: 3.686 MB / 328.6 MB, free: 15.03 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00306/0.4346, allocations: 0.9356 MB / 329.5 MB, free: 14.27 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003679/0.435, allocations: 7.562 kB / 329.5 MB, free: 14.27 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003509/0.4354, allocations: 57.16 kB / 329.6 MB, free: 14.21 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004982/0.4359, allocations: 131 kB / 329.7 MB, free: 14.1 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005112/0.4365, allocations: 137.9 kB / 329.8 MB, free: 13.98 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009874/0.4375, allocations: 0.6057 MB / 330.4 MB, free: 13.61 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005734/0.4381, allocations: 209.1 kB / 330.6 MB, free: 13.5 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000415/0.4385, allocations: 230.2 kB / 330.9 MB, free: 13.36 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000335/0.4389, allocations: 244.7 kB / 331.1 MB, free: 13.18 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001047/0.439, allocations: 55.94 kB / 331.1 MB, free: 13.18 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001144/0.4391, allocations: 54.75 kB / 331.2 MB, free: 13.18 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001543/0.4392, allocations: 116.7 kB / 331.3 MB, free: 13.08 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003649/0.4396, allocations: 268.3 kB / 331.6 MB, free: 12.89 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008251/0.4405, allocations: 0.6136 MB / 332.2 MB, free: 12.43 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.019e-05/0.4405, allocations: 1.25 kB / 332.2 MB, free: 12.43 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.4405, allocations: 0 / 332.2 MB, free: 12.43 MB / 270.1 MB Notification: Performance of Transformations before backend: time 2.02e-05/0.4405, allocations: 0 / 332.2 MB, free: 12.43 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.001882/0.4424, allocations: 0.7712 MB / 333 MB, free: 11.77 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.832e-05/0.4425, allocations: 9.781 kB / 333 MB, free: 11.77 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001727/0.4427, allocations: 59.16 kB / 333 MB, free: 11.74 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006968/0.4434, allocations: 368.1 kB / 333.4 MB, free: 11.39 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.25e-05/0.4435, allocations: 31.22 kB / 333.4 MB, free: 11.38 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001182/0.4436, allocations: 44.34 kB / 333.5 MB, free: 11.37 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009688/0.4446, allocations: 455.5 kB / 333.9 MB, free: 10.93 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.784e-05/0.4446, allocations: 4 kB / 333.9 MB, free: 10.93 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.984e-05/0.4447, allocations: 16 kB / 333.9 MB, free: 10.91 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.026e-05/0.4447, allocations: 12 kB / 333.9 MB, free: 10.9 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006278/0.4454, allocations: 319.7 kB / 334.3 MB, free: 10.59 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002513/0.4479, allocations: 1.828 MB / 336.1 MB, free: 8.656 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008487/0.4487, allocations: 0.6085 MB / 336.7 MB, free: 7.984 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005999/0.4494, allocations: 285.4 kB / 337 MB, free: 7.703 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.966e-05/0.4494, allocations: 4.328 kB / 337 MB, free: 7.699 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000481/0.4499, allocations: 265.2 kB / 337.2 MB, free: 7.422 MB / 270.1 MB Notification: Performance of pre-optimization done (n=43): time 1.693e-06/0.4499, allocations: 0 / 337.2 MB, free: 7.422 MB / 270.1 MB Notification: Performance of matching and sorting (n=43): time 0.002339/0.4523, allocations: 0.8432 MB / 338.1 MB, free: 6.551 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.954e-05/0.4524, allocations: 85.06 kB / 338.2 MB, free: 6.449 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004161/0.4528, allocations: 316.4 kB / 338.5 MB, free: 6.125 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 5.256e-05/0.4529, allocations: 37.69 kB / 338.5 MB, free: 6.082 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001991/0.4531, allocations: 212.4 kB / 338.7 MB, free: 5.871 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001478/0.4532, allocations: 138 kB / 338.8 MB, free: 5.734 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001507/0.4534, allocations: 86.25 kB / 338.9 MB, free: 5.645 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001967/0.4536, allocations: 346.8 kB / 339.3 MB, free: 5.297 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002454/0.4538, allocations: 125.1 kB / 339.4 MB, free: 5.176 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003072/0.4541, allocations: 249 kB / 339.6 MB, free: 4.875 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005361/0.4547, allocations: 382.2 kB / 340 MB, free: 4.449 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.4547, allocations: 0 / 340 MB, free: 4.449 MB / 270.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008445/0.4556, allocations: 0.5057 MB / 340.5 MB, free: 3.934 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.4556, allocations: 11.94 kB / 340.5 MB, free: 3.922 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.4556, allocations: 4 kB / 340.5 MB, free: 3.918 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000482/0.4561, allocations: 159.9 kB / 340.7 MB, free: 3.762 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002371/0.4563, allocations: 59.91 kB / 340.7 MB, free: 3.703 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003005/0.4594, allocations: 2.543 MB / 343.3 MB, free: 1.023 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000303/0.4597, allocations: 43.62 kB / 343.3 MB, free: 0.9805 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.313e-05/0.4597, allocations: 23.97 kB / 343.3 MB, free: 0.957 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.0002754/0.46, allocations: 173.8 kB / 343.5 MB, free: 0.7773 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.973e-05/0.4601, allocations: 35.67 kB / 343.6 MB, free: 0.7422 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001/0.4602, allocations: 52.28 kB / 343.6 MB, free: 0.6914 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.4602, allocations: 7.938 kB / 343.6 MB, free: 0.6836 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.4602, allocations: 8 kB / 343.6 MB, free: 0.6758 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.675e-06/0.4602, allocations: 3.984 kB / 343.6 MB, free: 0.6719 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001493/0.4617, allocations: 1.016 MB / 344.6 MB, free: 15.59 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.4617, allocations: 0 / 344.6 MB, free: 15.59 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001828/0.4619, allocations: 40.02 kB / 344.7 MB, free: 15.55 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004116/0.4623, allocations: 140.7 kB / 344.8 MB, free: 15.41 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.382e-05/0.4624, allocations: 11.98 kB / 344.8 MB, free: 15.4 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002762/0.4652, allocations: 2.533 MB / 347.4 MB, free: 12.73 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.666e-06/0.4652, allocations: 4 kB / 347.4 MB, free: 12.72 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001231/0.4664, allocations: 0.7194 MB / 348.1 MB, free: 11.98 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001878/0.4666, allocations: 152.6 kB / 348.2 MB, free: 11.81 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.192e-05/0.4667, allocations: 15.92 kB / 348.2 MB, free: 11.79 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002184/0.4669, allocations: 12 kB / 348.3 MB, free: 11.78 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.467, allocations: 35.95 kB / 348.3 MB, free: 11.75 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.599e-05/0.4671, allocations: 11.98 kB / 348.3 MB, free: 11.73 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002491/0.4673, allocations: 219.1 kB / 348.5 MB, free: 11.52 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4673, allocations: 0 / 348.5 MB, free: 11.52 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006646/0.468, allocations: 147.7 kB / 348.7 MB, free: 11.38 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.0001741/0.4682, allocations: 115.8 kB / 348.8 MB, free: 11.25 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001116/0.4693, allocations: 0.5606 MB / 349.3 MB, free: 10.68 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.4693, allocations: 0 / 349.3 MB, free: 10.68 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005273/0.4698, allocations: 370.2 kB / 349.7 MB, free: 10.31 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005129/0.4704, allocations: 77.61 kB / 349.8 MB, free: 10.23 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001933/0.4723, allocations: 1.04 MB / 350.8 MB, free: 9.16 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005034/0.4728, allocations: 0.8279 MB / 351.6 MB, free: 8.309 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001868/0.473, allocations: 43.38 kB / 351.7 MB, free: 8.266 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.057e-05/0.4731, allocations: 31.44 kB / 351.7 MB, free: 8.234 MB / 286.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4731, allocations: 0 / 351.7 MB, free: 8.234 MB / 286.1 MB Notification: Performance of Templates: time 0.01279/0.4859, allocations: 6.768 MB / 358.5 MB, free: 1.457 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)