Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.001411/0.00141, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001659/0.001659, allocations: 191 kB / 16.25 MB, free: 6.617 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.721/1.721, allocations: 205.1 MB / 222.1 MB, free: 4.691 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.001411/0.001411, allocations: 56.3 kB / 278.2 MB, free: 12.66 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3476/0.349, allocations: 46.62 MB / 324.9 MB, free: 2.059 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.00493/0.354, allocations: 3.433 MB / 328.3 MB, free: 15.36 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00213/0.3562, allocations: 0.8618 MB / 329.2 MB, free: 14.65 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002496/0.3564, allocations: 7.156 kB / 329.2 MB, free: 14.65 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002454/0.3567, allocations: 51.67 kB / 329.2 MB, free: 14.61 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004042/0.3571, allocations: 109.8 kB / 329.3 MB, free: 14.51 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000341/0.3575, allocations: 116.2 kB / 329.4 MB, free: 14.41 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000679/0.3582, allocations: 0.5031 MB / 329.9 MB, free: 14.11 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004319/0.3586, allocations: 172.2 kB / 330.1 MB, free: 14.01 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003575/0.359, allocations: 198.1 kB / 330.3 MB, free: 13.89 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003394/0.3593, allocations: 208.1 kB / 330.5 MB, free: 13.74 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.961e-05/0.3594, allocations: 45.72 kB / 330.6 MB, free: 13.74 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.006e-05/0.3595, allocations: 47.97 kB / 330.6 MB, free: 13.73 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001242/0.3597, allocations: 104.8 kB / 330.7 MB, free: 13.64 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002454/0.3599, allocations: 229.2 kB / 330.9 MB, free: 13.48 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007378/0.3607, allocations: 0.5045 MB / 331.4 MB, free: 13.1 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.3607, allocations: 0 / 331.4 MB, free: 13.1 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.3607, allocations: 0 / 331.4 MB, free: 13.1 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.129e-05/0.3607, allocations: 0 / 331.4 MB, free: 13.1 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.001768/0.3625, allocations: 0.7195 MB / 332.2 MB, free: 12.48 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.118e-05/0.3625, allocations: 9.031 kB / 332.2 MB, free: 12.48 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001532/0.3627, allocations: 49.09 kB / 332.2 MB, free: 12.46 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005605/0.3633, allocations: 338.5 kB / 332.5 MB, free: 12.14 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.872e-05/0.3633, allocations: 28.47 kB / 332.6 MB, free: 12.12 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.182e-05/0.3634, allocations: 36.53 kB / 332.6 MB, free: 12.11 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007975/0.3642, allocations: 386.3 kB / 333 MB, free: 11.86 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/0.3642, allocations: 0 / 333 MB, free: 11.86 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.741e-05/0.3643, allocations: 20.52 kB / 333 MB, free: 11.84 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/0.3643, allocations: 7.594 kB / 333 MB, free: 11.84 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005308/0.3649, allocations: 257.9 kB / 333.3 MB, free: 11.68 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002252/0.3671, allocations: 1.475 MB / 334.7 MB, free: 10.11 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000458/0.3676, allocations: 239.4 kB / 335 MB, free: 9.871 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003975/0.368, allocations: 177.2 kB / 335.1 MB, free: 9.695 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.798e-05/0.368, allocations: 4.234 kB / 335.1 MB, free: 9.691 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004491/0.3685, allocations: 229.9 kB / 335.4 MB, free: 9.445 MB / 270.1 MB Notification: Performance of pre-optimization done (n=31): time 2.194e-06/0.3685, allocations: 0 / 335.4 MB, free: 9.445 MB / 270.1 MB Notification: Performance of matching and sorting (n=31): time 0.001561/0.3701, allocations: 0.5849 MB / 336 MB, free: 8.832 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.666e-05/0.3702, allocations: 110.8 kB / 336.1 MB, free: 8.699 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000309/0.3705, allocations: 300.5 kB / 336.4 MB, free: 8.398 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.685e-05/0.3705, allocations: 37.69 kB / 336.4 MB, free: 8.355 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/0.3707, allocations: 208.4 kB / 336.6 MB, free: 8.148 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.429e-05/0.3708, allocations: 94.7 kB / 336.7 MB, free: 8.055 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/0.3709, allocations: 69.98 kB / 336.8 MB, free: 7.977 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.3711, allocations: 346.8 kB / 337.1 MB, free: 7.629 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001877/0.3713, allocations: 88.7 kB / 337.2 MB, free: 7.543 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002839/0.3715, allocations: 225.5 kB / 337.4 MB, free: 7.266 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004775/0.372, allocations: 327.1 kB / 337.7 MB, free: 6.891 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.372, allocations: 0 / 337.7 MB, free: 6.891 MB / 270.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006888/0.3727, allocations: 417.7 kB / 338.1 MB, free: 6.473 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.3728, allocations: 8 kB / 338.1 MB, free: 6.465 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.3728, allocations: 7.984 kB / 338.1 MB, free: 6.457 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000319/0.3731, allocations: 84.75 kB / 338.2 MB, free: 6.371 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002327/0.3734, allocations: 64 kB / 338.3 MB, free: 6.309 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002174/0.3755, allocations: 1.994 MB / 340.3 MB, free: 4.168 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002942/0.3759, allocations: 43.67 kB / 340.3 MB, free: 4.125 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.706e-05/0.3759, allocations: 16.06 kB / 340.3 MB, free: 4.109 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 (meanVoltage.y,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,rectifier.diode_n.off,rectifier.diode_p.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 (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 {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002366/0.3761, allocations: 178.6 kB / 340.5 MB, free: 3.926 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.323e-05/0.3762, allocations: 39.56 kB / 340.6 MB, free: 3.887 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.663e-05/0.3763, allocations: 35.09 kB / 340.6 MB, free: 3.855 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.3763, allocations: 4 kB / 340.6 MB, free: 3.852 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.3763, allocations: 4 kB / 340.6 MB, free: 3.848 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.3763, allocations: 0 / 340.6 MB, free: 3.848 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000727/0.3771, allocations: 0.5654 MB / 341.2 MB, free: 3.223 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.3771, allocations: 0 / 341.2 MB, free: 3.223 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001739/0.3773, allocations: 35.91 kB / 341.2 MB, free: 3.188 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002267/0.3775, allocations: 76.81 kB / 341.3 MB, free: 3.109 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.61e-05/0.3775, allocations: 12.03 kB / 341.3 MB, free: 3.098 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00198/0.3795, allocations: 1.99 MB / 343.3 MB, free: 0.9688 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.3795, allocations: 4.031 kB / 343.3 MB, free: 0.9648 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000873/0.3804, allocations: 494.8 kB / 343.8 MB, free: 468 kB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001411/0.3806, allocations: 140.6 kB / 343.9 MB, free: 308 kB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.806e-05/0.3806, allocations: 7.938 kB / 343.9 MB, free: 300 kB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001726/0.3808, allocations: 15.98 kB / 343.9 MB, free: 284 kB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.937e-05/0.3809, allocations: 27.97 kB / 344 MB, free: 256 kB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.272e-05/0.3809, allocations: 12 kB / 344 MB, free: 244 kB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002289/0.3812, allocations: 207.1 kB / 344.2 MB, free: 40 kB / 270.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3812, allocations: 0 / 344.2 MB, free: 40 kB / 270.1 MB Notification: Performance of remove unused functions: time 0.0005661/0.3818, allocations: 107.8 kB / 344.3 MB, free: 15.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: 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 (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 {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001651/0.3819, allocations: 111.1 kB / 344.4 MB, free: 15.82 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0008669/0.3828, allocations: 434.3 kB / 344.8 MB, free: 15.38 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.3828, allocations: 0 / 344.8 MB, free: 15.38 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004074/0.3833, allocations: 291.5 kB / 345.1 MB, free: 15.08 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003635/0.3836, allocations: 60.48 kB / 345.1 MB, free: 15.02 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/0.3851, allocations: 0.8611 MB / 346 MB, free: 14.12 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004873/0.3856, allocations: 0.799 MB / 346.8 MB, free: 13.3 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001451/0.3857, allocations: 35.14 kB / 346.8 MB, free: 13.26 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.357e-05/0.3858, allocations: 27.44 kB / 346.9 MB, free: 13.23 MB / 286.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3858, allocations: 4 kB / 346.9 MB, free: 13.23 MB / 286.1 MB Notification: Performance of Templates: time 0.01044/0.3963, allocations: 4.663 MB / 351.5 MB, free: 8.57 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.makefile (rm -f Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & ./Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1)