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.001435/0.001435, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001653/0.001654, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.529/1.529, allocations: 205.1 MB / 222.4 MB, free: 4.559 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.001413/0.001413, allocations: 51.92 kB / 278.7 MB, free: 12.35 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3448/0.3462, allocations: 46.63 MB / 325.3 MB, free: 1.844 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.004642/0.3509, allocations: 3.406 MB / 328.7 MB, free: 15.15 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001661/0.3527, allocations: 0.8692 MB / 329.6 MB, free: 14.44 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001874/0.3529, allocations: 6.875 kB / 329.6 MB, free: 14.44 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000211/0.3531, allocations: 73.05 kB / 329.7 MB, free: 14.37 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003099/0.3534, allocations: 120.1 kB / 329.8 MB, free: 14.27 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003108/0.3537, allocations: 140.1 kB / 329.9 MB, free: 14.14 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005715/0.3543, allocations: 0.4962 MB / 330.4 MB, free: 13.85 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003592/0.3547, allocations: 171.3 kB / 330.6 MB, free: 13.75 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003056/0.355, allocations: 190.8 kB / 330.8 MB, free: 13.63 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000393/0.3554, allocations: 220.5 kB / 331 MB, free: 13.47 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 8.196e-05/0.3555, allocations: 44.88 kB / 331 MB, free: 13.47 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.996e-05/0.3556, allocations: 44.94 kB / 331.1 MB, free: 13.47 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001111/0.3557, allocations: 103.9 kB / 331.2 MB, free: 13.38 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000238/0.356, allocations: 224.7 kB / 331.4 MB, free: 13.23 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005343/0.3565, allocations: 0.5034 MB / 331.9 MB, free: 12.84 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.533e-06/0.3565, allocations: 1.094 kB / 331.9 MB, free: 12.84 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3565, allocations: 0 / 331.9 MB, free: 12.84 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.967e-06/0.3565, allocations: 0 / 331.9 MB, free: 12.84 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.001387/0.3579, allocations: 0.7267 MB / 332.6 MB, free: 12.22 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.358, allocations: 9.531 kB / 332.6 MB, free: 12.22 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001215/0.3581, allocations: 48.72 kB / 332.7 MB, free: 12.2 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004513/0.3586, allocations: 331.6 kB / 333 MB, free: 11.88 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.202e-05/0.3586, allocations: 27.06 kB / 333 MB, free: 11.87 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.494e-05/0.3587, allocations: 40.91 kB / 333.1 MB, free: 11.85 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006926/0.3594, allocations: 386 kB / 333.5 MB, free: 11.59 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/0.3594, allocations: 5.062 kB / 333.5 MB, free: 11.59 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.06e-05/0.3595, allocations: 15.39 kB / 333.5 MB, free: 11.58 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/0.3595, allocations: 13.19 kB / 333.5 MB, free: 11.57 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004936/0.36, allocations: 259 kB / 333.7 MB, free: 11.34 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00191/0.3619, allocations: 1.475 MB / 335.2 MB, free: 9.773 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004228/0.3623, allocations: 243.5 kB / 335.5 MB, free: 9.527 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003491/0.3627, allocations: 169.2 kB / 335.6 MB, free: 9.359 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.222e-05/0.3627, allocations: 4.234 kB / 335.6 MB, free: 9.355 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000408/0.3632, allocations: 237.9 kB / 335.9 MB, free: 9.102 MB / 270.1 MB Notification: Performance of pre-optimization done (n=31): time 2.464e-06/0.3632, allocations: 3.938 kB / 335.9 MB, free: 9.098 MB / 270.1 MB Notification: Performance of matching and sorting (n=31): time 0.00148/0.3647, allocations: 0.5849 MB / 336.5 MB, free: 8.484 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.632e-05/0.3647, allocations: 106.8 kB / 336.6 MB, free: 8.355 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002982/0.365, allocations: 296.4 kB / 336.8 MB, free: 8.062 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.512e-05/0.3651, allocations: 37.7 kB / 336.9 MB, free: 8.02 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001373/0.3652, allocations: 212.4 kB / 337.1 MB, free: 7.809 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.005e-05/0.3653, allocations: 94.7 kB / 337.2 MB, free: 7.715 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/0.3654, allocations: 69.98 kB / 337.2 MB, free: 7.637 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.3656, allocations: 346.8 kB / 337.6 MB, free: 7.289 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001887/0.3658, allocations: 92.7 kB / 337.7 MB, free: 7.199 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002592/0.366, allocations: 225.5 kB / 337.9 MB, free: 6.922 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004515/0.3665, allocations: 327.1 kB / 338.2 MB, free: 6.547 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.3665, allocations: 0 / 338.2 MB, free: 6.547 MB / 270.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000692/0.3672, allocations: 413.3 kB / 338.6 MB, free: 6.133 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.3672, allocations: 8 kB / 338.6 MB, free: 6.125 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.3672, allocations: 4 kB / 338.6 MB, free: 6.121 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003019/0.3675, allocations: 85.3 kB / 338.7 MB, free: 6.035 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002212/0.3678, allocations: 63.84 kB / 338.8 MB, free: 5.973 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001822/0.3696, allocations: 2.002 MB / 340.8 MB, free: 3.824 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002393/0.3699, allocations: 35.67 kB / 340.8 MB, free: 3.789 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.551e-05/0.3699, allocations: 16 kB / 340.8 MB, free: 3.773 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.0001785/0.3701, allocations: 165.9 kB / 341 MB, free: 3.602 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.017e-05/0.3701, allocations: 39.55 kB / 341 MB, free: 3.562 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.242e-05/0.3702, allocations: 47.09 kB / 341.1 MB, free: 3.52 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.3702, allocations: 7.938 kB / 341.1 MB, free: 3.512 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/0.3702, allocations: 0 / 341.1 MB, free: 3.512 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.3702, allocations: 0 / 341.1 MB, free: 3.512 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005837/0.3708, allocations: 0.5576 MB / 341.6 MB, free: 2.895 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.3708, allocations: 4 kB / 341.6 MB, free: 2.891 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001878/0.371, allocations: 31.91 kB / 341.7 MB, free: 2.859 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002173/0.3713, allocations: 80.84 kB / 341.8 MB, free: 2.777 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.257e-05/0.3713, allocations: 8 kB / 341.8 MB, free: 2.77 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001753/0.3731, allocations: 1.994 MB / 343.8 MB, free: 0.6367 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.3731, allocations: 0 / 343.8 MB, free: 0.6367 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00084/0.3739, allocations: 498.8 kB / 344.2 MB, free: 128 kB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001599/0.3741, allocations: 144.6 kB / 344.4 MB, free: 15.96 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.113e-05/0.3742, allocations: 11.94 kB / 344.4 MB, free: 15.95 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001753/0.3743, allocations: 15.98 kB / 344.4 MB, free: 15.94 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.998e-05/0.3744, allocations: 19.97 kB / 344.4 MB, free: 15.92 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.168e-05/0.3745, allocations: 12 kB / 344.4 MB, free: 15.91 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003176/0.3748, allocations: 211.1 kB / 344.7 MB, free: 15.7 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3748, allocations: 0 / 344.7 MB, free: 15.7 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006271/0.3754, allocations: 107.8 kB / 344.8 MB, free: 15.6 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.000148/0.3756, allocations: 115.2 kB / 344.9 MB, free: 15.48 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0008306/0.3764, allocations: 423.4 kB / 345.3 MB, free: 15.05 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.3764, allocations: 8.062 kB / 345.3 MB, free: 15.04 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003941/0.3768, allocations: 283.4 kB / 345.6 MB, free: 14.75 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003706/0.3772, allocations: 60.56 kB / 345.6 MB, free: 14.69 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001223/0.3785, allocations: 0.7088 MB / 346.3 MB, free: 13.95 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003485/0.3788, allocations: 0.8029 MB / 347.1 MB, free: 13.12 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001329/0.379, allocations: 35.14 kB / 347.2 MB, free: 13.09 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.085e-05/0.379, allocations: 31.44 kB / 347.2 MB, free: 13.05 MB / 286.1 MB Notification: Performance of SimCode: time 2e-07/0.3791, allocations: 0 / 347.2 MB, free: 13.05 MB / 286.1 MB Notification: Performance of Templates: time 0.009349/0.3884, allocations: 4.753 MB / 352 MB, free: 8.305 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)