Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.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.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 87.03 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.00107/0.001071, 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.625/1.625, allocations: 205.4 MB / 222.1 MB, free: 5.621 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.0005447/0.0005452, allocations: 12 kB / 278.9 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3703/0.3708, allocations: 47.58 MB / 326.5 MB, free: 1.406 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.004637/0.3755, allocations: 2.912 MB / 329.4 MB, free: 15.12 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002379/0.378, allocations: 0.8425 MB / 330.2 MB, free: 14.43 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003049/0.3783, allocations: 5.281 kB / 330.3 MB, free: 14.43 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002512/0.3786, allocations: 53.73 kB / 330.3 MB, free: 14.39 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003633/0.3789, allocations: 104.1 kB / 330.4 MB, free: 14.3 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003315/0.3793, allocations: 92.33 kB / 330.5 MB, free: 14.22 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005642/0.3799, allocations: 463.8 kB / 330.9 MB, free: 13.95 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003666/0.3802, allocations: 131.7 kB / 331.1 MB, free: 13.86 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002792/0.3805, allocations: 160.7 kB / 331.2 MB, free: 13.77 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003093/0.3808, allocations: 179 kB / 331.4 MB, free: 13.65 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.358e-05/0.3809, allocations: 20.22 kB / 331.4 MB, free: 13.65 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.352e-05/0.381, allocations: 20.31 kB / 331.4 MB, free: 13.65 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.002e-05/0.3811, allocations: 72.22 kB / 331.5 MB, free: 13.59 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001237/0.3812, allocations: 99.14 kB / 331.6 MB, free: 13.53 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004457/0.3817, allocations: 379.2 kB / 332 MB, free: 13.25 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.3817, allocations: 0 / 332 MB, free: 13.25 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.3817, allocations: 0 / 332 MB, free: 13.25 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.3817, allocations: 1.094 kB / 332 MB, free: 13.25 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001321/0.383, allocations: 0.6511 MB / 332.6 MB, free: 12.68 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.694e-05/0.3831, allocations: 9.438 kB / 332.6 MB, free: 12.68 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001316/0.3832, allocations: 47.78 kB / 332.7 MB, free: 12.66 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004916/0.3837, allocations: 329.2 kB / 333 MB, free: 12.34 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.675e-05/0.3838, allocations: 27.59 kB / 333 MB, free: 12.33 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.618e-05/0.3839, allocations: 48.5 kB / 333.1 MB, free: 12.31 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007879/0.3847, allocations: 384 kB / 333.5 MB, free: 12.06 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.887e-05/0.3847, allocations: 3.938 kB / 333.5 MB, free: 12.05 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.972e-05/0.3848, allocations: 20.41 kB / 333.5 MB, free: 12.04 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.501e-05/0.3848, allocations: 7.219 kB / 333.5 MB, free: 12.04 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000638/0.3855, allocations: 265.8 kB / 333.8 MB, free: 11.92 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002546/0.388, allocations: 1.48 MB / 335.2 MB, free: 10.52 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004606/0.3885, allocations: 255.3 kB / 335.5 MB, free: 10.26 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003863/0.3889, allocations: 169.3 kB / 335.7 MB, free: 10.09 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.946e-05/0.389, allocations: 4.234 kB / 335.7 MB, free: 10.09 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005623/0.3895, allocations: 237.9 kB / 335.9 MB, free: 9.836 MB / 270.1 MB Notification: Performance of pre-optimization done (n=31): time 2.565e-06/0.3895, allocations: 0 / 335.9 MB, free: 9.836 MB / 270.1 MB Notification: Performance of matching and sorting (n=31): time 0.001629/0.3912, allocations: 0.5927 MB / 336.5 MB, free: 9.215 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.31e-05/0.3913, allocations: 118.8 kB / 336.6 MB, free: 9.074 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003456/0.3916, allocations: 292.4 kB / 336.9 MB, free: 8.785 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.991e-05/0.3917, allocations: 33.7 kB / 336.9 MB, free: 8.746 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001655/0.3919, allocations: 208.4 kB / 337.1 MB, free: 8.539 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.554e-05/0.392, allocations: 94.72 kB / 337.2 MB, free: 8.445 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.638e-05/0.392, allocations: 12 kB / 337.2 MB, free: 8.434 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.3921, allocations: 342.8 kB / 337.6 MB, free: 8.09 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001854/0.3923, allocations: 92.7 kB / 337.6 MB, free: 8 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002757/0.3926, allocations: 217.8 kB / 337.9 MB, free: 7.73 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002337/0.3928, allocations: 124 kB / 338 MB, free: 7.609 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.3929, allocations: 4 kB / 338 MB, free: 7.605 MB / 270.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007397/0.3936, allocations: 425.6 kB / 338.4 MB, free: 7.18 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.606e-05/0.3936, allocations: 4 kB / 338.4 MB, free: 7.176 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.3937, allocations: 4 kB / 338.4 MB, free: 7.172 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003542/0.394, allocations: 80.81 kB / 338.5 MB, free: 7.09 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002717/0.3943, allocations: 68.06 kB / 338.6 MB, free: 7.023 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001818/0.3961, allocations: 1.796 MB / 340.3 MB, free: 5.086 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002987/0.3964, allocations: 51.61 kB / 340.4 MB, free: 5.035 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.722e-05/0.3965, allocations: 15.94 kB / 340.4 MB, free: 5.02 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode_p.off,rectifier.diode_n.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * 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 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0002659/0.3967, allocations: 178.7 kB / 340.6 MB, free: 4.836 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.146e-05/0.3968, allocations: 31.62 kB / 340.6 MB, free: 4.805 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.544e-05/0.3969, allocations: 39.09 kB / 340.7 MB, free: 4.77 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.3969, allocations: 0 / 340.7 MB, free: 4.77 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.3969, allocations: 4 kB / 340.7 MB, free: 4.766 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.3969, allocations: 3.984 kB / 340.7 MB, free: 4.762 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006673/0.3976, allocations: 0.5576 MB / 341.2 MB, free: 4.145 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.3976, allocations: 32 / 341.2 MB, free: 4.145 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001741/0.3978, allocations: 39.92 kB / 341.3 MB, free: 4.105 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002385/0.398, allocations: 80.8 kB / 341.3 MB, free: 4.023 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.687e-05/0.3981, allocations: 8 kB / 341.4 MB, free: 4.016 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001792/0.3999, allocations: 1.792 MB / 343.1 MB, free: 2.09 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.3999, allocations: 0 / 343.1 MB, free: 2.09 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000926/0.4008, allocations: 0.5028 MB / 343.6 MB, free: 1.562 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001439/0.401, allocations: 133 kB / 343.8 MB, free: 1.414 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.473e-05/0.401, allocations: 4 kB / 343.8 MB, free: 1.41 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001609/0.4012, allocations: 19.98 kB / 343.8 MB, free: 1.391 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.583e-05/0.4013, allocations: 27.91 kB / 343.8 MB, free: 1.363 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.45e-05/0.4013, allocations: 11.94 kB / 343.8 MB, free: 1.352 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002224/0.4016, allocations: 207.1 kB / 344 MB, free: 1.152 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4016, allocations: 4 kB / 344 MB, free: 1.148 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0005804/0.4021, allocations: 115.7 kB / 344.2 MB, free: 1.035 MB / 270.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: 8 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.off,rectifier.diode_n.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * Number of discrete states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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 {2 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002322/0.4024, allocations: 107.3 kB / 344.3 MB, free: 0.9219 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0008431/0.4032, allocations: 430.3 kB / 344.7 MB, free: 500 kB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.4033, allocations: 0 / 344.7 MB, free: 500 kB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003966/0.4037, allocations: 295.4 kB / 345 MB, free: 192 kB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003759/0.404, allocations: 52.8 kB / 345 MB, free: 136 kB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001358/0.4054, allocations: 0.8587 MB / 345.9 MB, free: 15.24 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003692/0.4058, allocations: 0.799 MB / 346.7 MB, free: 14.41 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001342/0.4059, allocations: 30.97 kB / 346.7 MB, free: 14.38 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.308e-05/0.406, allocations: 31.42 kB / 346.7 MB, free: 14.35 MB / 286.1 MB Notification: Performance of SimCode: time 9.12e-07/0.406, allocations: 4 kB / 346.7 MB, free: 14.35 MB / 286.1 MB Notification: Performance of Templates: time 0.009577/0.4156, allocations: 4.22 MB / 351 MB, free: 10.13 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & ./Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1)