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.0009273/0.0009272, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009282/0.009282, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.927/1.927, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.0005526/0.0005527, allocations: 8 kB / 279.5 MB, free: 12.49 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3817/0.3823, allocations: 47.58 MB / 327 MB, free: 1.438 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.004734/0.3871, allocations: 3.305 MB / 330.4 MB, free: 14.82 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002464/0.3896, allocations: 0.9262 MB / 331.3 MB, free: 14.06 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006977/0.3903, allocations: 11.47 kB / 331.3 MB, free: 14.05 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003634/0.3907, allocations: 53.7 kB / 331.3 MB, free: 14.01 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007455/0.3915, allocations: 126.6 kB / 331.5 MB, free: 13.9 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005512/0.392, allocations: 137.4 kB / 331.6 MB, free: 13.78 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001055/0.3931, allocations: 0.5723 MB / 332.2 MB, free: 13.44 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004629/0.3936, allocations: 188.2 kB / 332.4 MB, free: 13.32 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004886/0.3941, allocations: 180.2 kB / 332.5 MB, free: 13.23 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005199/0.3946, allocations: 215.1 kB / 332.7 MB, free: 13.08 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001245/0.3948, allocations: 24 kB / 332.8 MB, free: 13.08 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001697/0.3949, allocations: 23.5 kB / 332.8 MB, free: 13.08 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001244/0.3951, allocations: 82.03 kB / 332.9 MB, free: 13.01 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004117/0.3955, allocations: 254.5 kB / 333.1 MB, free: 12.83 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007934/0.3963, allocations: 0.5623 MB / 333.7 MB, free: 12.4 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.3963, allocations: 0 / 333.7 MB, free: 12.4 MB / 270.1 MB Notification: Performance of FrontEnd: time 6.823e-06/0.3963, allocations: 1.219 kB / 333.7 MB, free: 12.4 MB / 270.1 MB Notification: Performance of Transformations before backend: time 3.783e-05/0.3964, allocations: 3.938 kB / 333.7 MB, free: 12.4 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.002122/0.3985, allocations: 0.6924 MB / 334.4 MB, free: 11.8 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.97e-05/0.3986, allocations: 12.78 kB / 334.4 MB, free: 11.8 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003131/0.3989, allocations: 56.19 kB / 334.4 MB, free: 11.77 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008436/0.3998, allocations: 360.4 kB / 334.8 MB, free: 11.43 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.713e-05/0.3998, allocations: 33.91 kB / 334.8 MB, free: 11.42 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001301/0.4, allocations: 45.34 kB / 334.9 MB, free: 11.4 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001154/0.4011, allocations: 458.3 kB / 335.3 MB, free: 10.95 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.204e-05/0.4012, allocations: 3.984 kB / 335.3 MB, free: 10.95 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.404e-05/0.4012, allocations: 19.94 kB / 335.3 MB, free: 10.93 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.35e-05/0.4013, allocations: 8 kB / 335.4 MB, free: 10.92 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007242/0.402, allocations: 319.8 kB / 335.7 MB, free: 10.61 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002868/0.4049, allocations: 1.848 MB / 337.5 MB, free: 8.656 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009627/0.4059, allocations: 0.6162 MB / 338.1 MB, free: 7.977 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006896/0.4066, allocations: 273.4 kB / 338.4 MB, free: 7.707 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.545e-05/0.4066, allocations: 4.328 kB / 338.4 MB, free: 7.703 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000568/0.4072, allocations: 269.2 kB / 338.7 MB, free: 7.422 MB / 270.1 MB Notification: Performance of pre-optimization done (n=43): time 3.807e-06/0.4072, allocations: 4 kB / 338.7 MB, free: 7.418 MB / 270.1 MB Notification: Performance of matching and sorting (n=43): time 0.002739/0.41, allocations: 0.8549 MB / 339.5 MB, free: 6.535 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001299/0.4101, allocations: 93 kB / 339.6 MB, free: 6.426 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005836/0.4107, allocations: 308.5 kB / 339.9 MB, free: 6.113 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 7.462e-05/0.4108, allocations: 41.69 kB / 340 MB, free: 6.066 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000283/0.4111, allocations: 220.3 kB / 340.2 MB, free: 5.844 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00018/0.4113, allocations: 138.1 kB / 340.3 MB, free: 5.707 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.4114, allocations: 41.7 kB / 340.3 MB, free: 5.66 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001948/0.4116, allocations: 350.7 kB / 340.7 MB, free: 5.309 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002863/0.4119, allocations: 125 kB / 340.8 MB, free: 5.188 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003875/0.4123, allocations: 253 kB / 341.1 MB, free: 4.887 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007781/0.4131, allocations: 382.1 kB / 341.4 MB, free: 4.461 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/0.4131, allocations: 4 kB / 341.4 MB, free: 4.457 MB / 270.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001087/0.4142, allocations: 0.5138 MB / 341.9 MB, free: 3.934 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.899e-05/0.4143, allocations: 8 kB / 342 MB, free: 3.926 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.817e-05/0.4143, allocations: 4 kB / 342 MB, free: 3.922 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005442/0.4148, allocations: 148 kB / 342.1 MB, free: 3.777 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000248/0.4151, allocations: 67.84 kB / 342.2 MB, free: 3.711 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003288/0.4184, allocations: 2.304 MB / 344.5 MB, free: 1.277 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003836/0.4188, allocations: 47.53 kB / 344.5 MB, free: 1.23 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.157e-05/0.4188, allocations: 19.94 kB / 344.5 MB, free: 1.211 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.0003875/0.4192, allocations: 181.8 kB / 344.7 MB, free: 1.023 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001312/0.4194, allocations: 39.52 kB / 344.8 MB, free: 0.9844 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001305/0.4195, allocations: 48.3 kB / 344.8 MB, free: 0.9375 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.4195, allocations: 8 kB / 344.8 MB, free: 0.9297 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.4195, allocations: 0 / 344.8 MB, free: 0.9297 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.4196, allocations: 0 / 344.8 MB, free: 0.9297 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002025/0.4216, allocations: 1.032 MB / 345.8 MB, free: 15.83 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.4216, allocations: 0 / 345.8 MB, free: 15.83 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001746/0.4218, allocations: 35.92 kB / 345.9 MB, free: 15.8 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004323/0.4222, allocations: 147 kB / 346 MB, free: 15.65 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.185e-05/0.4223, allocations: 4 kB / 346 MB, free: 15.65 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003489/0.4258, allocations: 2.308 MB / 348.3 MB, free: 13.2 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.4258, allocations: 0 / 348.3 MB, free: 13.2 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001302/0.4271, allocations: 0.731 MB / 349.1 MB, free: 12.45 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002872/0.4274, allocations: 152.6 kB / 349.2 MB, free: 12.28 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.808e-05/0.4275, allocations: 7.938 kB / 349.2 MB, free: 12.27 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002606/0.4278, allocations: 19.98 kB / 349.2 MB, free: 12.25 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00015/0.428, allocations: 31.95 kB / 349.3 MB, free: 12.22 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.216e-05/0.428, allocations: 19.98 kB / 349.3 MB, free: 12.2 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003452/0.4284, allocations: 223.1 kB / 349.5 MB, free: 11.98 MB / 286.1 MB Notification: Performance of sort global known variables: time 4.91e-07/0.4284, allocations: 3.938 kB / 349.5 MB, free: 11.98 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0008186/0.4292, allocations: 143.7 kB / 349.7 MB, free: 11.84 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.0002844/0.4295, allocations: 111.8 kB / 349.8 MB, free: 11.72 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.00133/0.4308, allocations: 0.5448 MB / 350.3 MB, free: 11.16 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 5.189e-06/0.4309, allocations: 3.938 kB / 350.3 MB, free: 11.16 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006307/0.4315, allocations: 375.2 kB / 350.7 MB, free: 10.78 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000631/0.4321, allocations: 72.94 kB / 350.7 MB, free: 10.7 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002135/0.4343, allocations: 1.063 MB / 351.8 MB, free: 9.613 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005714/0.4349, allocations: 0.8279 MB / 352.6 MB, free: 8.762 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002021/0.4351, allocations: 39.39 kB / 352.7 MB, free: 8.723 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.239e-05/0.4352, allocations: 31.42 kB / 352.7 MB, free: 8.691 MB / 286.1 MB Notification: Performance of SimCode: time 8.71e-07/0.4352, allocations: 7.938 kB / 352.7 MB, free: 8.684 MB / 286.1 MB Notification: Performance of Templates: time 0.01569/0.4509, allocations: 6.302 MB / 359 MB, free: 2.375 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)