Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001597/0.001597, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00195/0.00195, allocations: 192.7 kB / 16.14 MB, free: 6.664 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.707/1.707, allocations: 205.1 MB / 222 MB, free: 4.758 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.001203/0.001203, allocations: 51.92 kB / 278.1 MB, free: 12.74 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2865/0.2877, allocations: 46.63 MB / 324.7 MB, free: 2.164 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.00701/0.2948, allocations: 4.514 MB / 329.2 MB, free: 14.62 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003394/0.2982, allocations: 1.258 MB / 330.5 MB, free: 13.59 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004721/0.2987, allocations: 20.53 kB / 330.5 MB, free: 13.58 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004748/0.2993, allocations: 133.2 kB / 330.6 MB, free: 13.46 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001069/0.3004, allocations: 319.8 kB / 330.9 MB, free: 13.21 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004758/0.3009, allocations: 174.1 kB / 331.1 MB, free: 13.07 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002025/0.3029, allocations: 1.818 MB / 332.9 MB, free: 12.04 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001084/0.304, allocations: 0.7721 MB / 333.7 MB, free: 11.27 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000932/0.3049, allocations: 0.5525 MB / 334.2 MB, free: 10.71 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001021/0.306, allocations: 0.7976 MB / 335 MB, free: 9.91 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00019/0.3062, allocations: 104 kB / 335.1 MB, free: 9.809 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002235/0.3064, allocations: 100 kB / 335.2 MB, free: 9.711 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003661/0.3068, allocations: 398.7 kB / 335.6 MB, free: 9.32 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009113/0.3077, allocations: 0.6996 MB / 336.3 MB, free: 8.617 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002622/0.3103, allocations: 2.134 MB / 338.5 MB, free: 6.477 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.293e-06/0.3103, allocations: 0 / 338.5 MB, free: 6.477 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3104, allocations: 0 / 338.5 MB, free: 6.477 MB / 270.1 MB Notification: Performance of Transformations before backend: time 2.262e-05/0.3104, allocations: 0 / 338.5 MB, free: 6.477 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: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.00358/0.314, allocations: 1.755 MB / 340.2 MB, free: 4.664 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/0.314, allocations: 12.03 kB / 340.2 MB, free: 4.652 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003369/0.3144, allocations: 147.2 kB / 340.4 MB, free: 4.508 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001446/0.3158, allocations: 0.9267 MB / 341.3 MB, free: 3.535 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.444e-05/0.3159, allocations: 74.41 kB / 341.4 MB, free: 3.461 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001641/0.3161, allocations: 108.1 kB / 341.5 MB, free: 3.355 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002632/0.3187, allocations: 1.541 MB / 343 MB, free: 1.758 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.85e-05/0.3188, allocations: 0 / 343 MB, free: 1.758 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001047/0.3189, allocations: 47.98 kB / 343.1 MB, free: 1.711 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.638e-05/0.3189, allocations: 42.03 kB / 343.1 MB, free: 1.668 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0025/0.3214, allocations: 1.425 MB / 344.5 MB, free: 240 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007765/0.3292, allocations: 4.929 MB / 349.5 MB, free: 11.12 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002184/0.3314, allocations: 1.453 MB / 350.9 MB, free: 9.555 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001243/0.3327, allocations: 0.7234 MB / 351.6 MB, free: 8.824 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.975e-05/0.3328, allocations: 8.547 kB / 351.6 MB, free: 8.816 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001104/0.3339, allocations: 0.6122 MB / 352.3 MB, free: 8.184 MB / 286.1 MB Notification: Performance of pre-optimization done (n=72): time 2.675e-06/0.3339, allocations: 0 / 352.3 MB, free: 8.184 MB / 286.1 MB Notification: Performance of matching and sorting (n=72): time 0.006428/0.3403, allocations: 2.423 MB / 354.7 MB, free: 5.73 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001316/0.3405, allocations: 89.77 kB / 354.8 MB, free: 5.625 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001875/0.3424, allocations: 0.9382 MB / 355.7 MB, free: 4.676 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001369/0.3425, allocations: 41.7 kB / 355.7 MB, free: 4.629 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006588/0.3432, allocations: 0.523 MB / 356.3 MB, free: 4.098 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003882/0.3436, allocations: 232.7 kB / 356.5 MB, free: 3.867 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002227/0.3438, allocations: 126.7 kB / 356.6 MB, free: 3.738 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001888/0.344, allocations: 334 kB / 356.9 MB, free: 3.406 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008211/0.3448, allocations: 413.7 kB / 357.4 MB, free: 3 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007882/0.3456, allocations: 0.5524 MB / 357.9 MB, free: 2.395 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001394/0.347, allocations: 0.9426 MB / 358.8 MB, free: 1.395 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.347, allocations: 0 / 358.8 MB, free: 1.395 MB / 286.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00262/0.3497, allocations: 1.292 MB / 360.1 MB, free: 96 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.617e-05/0.3497, allocations: 8 kB / 360.1 MB, free: 88 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.3497, allocations: 4 kB / 360.2 MB, free: 84 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001128/0.3508, allocations: 406.4 kB / 360.5 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004999/0.3514, allocations: 111.8 kB / 360.7 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005496/0.3569, allocations: 4.134 MB / 364.8 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005721/0.3575, allocations: 83.47 kB / 364.9 MB, free: 11.22 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.915e-05/0.3575, allocations: 24 kB / 364.9 MB, free: 11.2 MB / 302.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: 15 (meanVoltage.y,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,rectifier.diode_n.idealDiode[3].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * 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 {(6,22)} Notification: Performance of prepare postOptimizeDAE: time 0.0007322/0.3583, allocations: 495.1 kB / 365.4 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001328/0.3584, allocations: 90.88 kB / 365.5 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002188/0.3586, allocations: 128.4 kB / 365.6 MB, free: 10.49 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.3586, allocations: 8 kB / 365.6 MB, free: 10.48 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.3586, allocations: 0 / 365.6 MB, free: 10.48 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.838e-06/0.3587, allocations: 7.922 kB / 365.6 MB, free: 10.47 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003657/0.3623, allocations: 2.585 MB / 368.2 MB, free: 7.824 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.3623, allocations: 0 / 368.2 MB, free: 7.824 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004251/0.3628, allocations: 83.88 kB / 368.3 MB, free: 7.742 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008218/0.3636, allocations: 397.3 kB / 368.7 MB, free: 7.352 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.115e-05/0.3637, allocations: 12 kB / 368.7 MB, free: 7.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004907/0.3686, allocations: 4.076 MB / 372.8 MB, free: 3.125 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.3686, allocations: 0 / 372.8 MB, free: 3.125 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002787/0.3714, allocations: 1.958 MB / 374.7 MB, free: 1.148 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004573/0.3719, allocations: 291.7 kB / 375 MB, free: 0.8438 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001235/0.372, allocations: 12 kB / 375 MB, free: 0.832 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004229/0.3724, allocations: 47.94 kB / 375.1 MB, free: 0.7852 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001977/0.3726, allocations: 76.53 kB / 375.1 MB, free: 0.707 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.798e-05/0.3727, allocations: 20 kB / 375.1 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0008884/0.3736, allocations: 0.6746 MB / 375.8 MB, free: 16 kB / 302.1 MB Notification: Performance of sort global known variables: time 1.412e-06/0.3736, allocations: 0 / 375.8 MB, free: 16 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.001017/0.3746, allocations: 347 kB / 376.2 MB, free: 15.67 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].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 (45): * Single equations (assignments): 41 * 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 {(6,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000193/0.3748, allocations: 127 kB / 376.3 MB, free: 15.54 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002087/0.3769, allocations: 1.268 MB / 377.6 MB, free: 14.26 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.3769, allocations: 3.938 kB / 377.6 MB, free: 14.25 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001189/0.3781, allocations: 0.8111 MB / 378.4 MB, free: 13.44 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001026/0.3791, allocations: 231.1 kB / 378.6 MB, free: 13.21 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005014/0.3842, allocations: 3.098 MB / 381.7 MB, free: 10.08 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001137/0.3853, allocations: 1.38 MB / 383.1 MB, free: 8.668 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005365/0.3859, allocations: 171.2 kB / 383.2 MB, free: 8.496 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001639/0.386, allocations: 51.44 kB / 383.3 MB, free: 8.445 MB / 318.1 MB Notification: Performance of SimCode: time 7.32e-07/0.3861, allocations: 4 kB / 383.3 MB, free: 8.441 MB / 318.1 MB Notification: Performance of Templates: time 0.0297/0.4158, allocations: 17.2 MB / 400.5 MB, free: 7.215 MB / 334.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1)