Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.001496/0.001496, 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.001677/0.001677, allocations: 191 kB / 16.14 MB, free: 6.66 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.585/1.585, allocations: 205.1 MB / 222 MB, free: 4.754 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.001268/0.001269, allocations: 51.94 kB / 278.1 MB, free: 12.74 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2813/0.2826, allocations: 46.63 MB / 324.7 MB, free: 1.926 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.006115/0.2888, allocations: 4.518 MB / 329.2 MB, free: 14.38 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003043/0.2919, allocations: 1.257 MB / 330.5 MB, free: 13.34 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009225/0.2928, allocations: 24.44 kB / 330.5 MB, free: 13.33 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007187/0.2937, allocations: 134.1 kB / 330.6 MB, free: 13.22 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001976/0.2957, allocations: 315.8 kB / 330.9 MB, free: 12.97 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008098/0.2965, allocations: 174 kB / 331.1 MB, free: 12.82 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.00273/0.2992, allocations: 1.814 MB / 332.9 MB, free: 11.8 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001336/0.3006, allocations: 0.7716 MB / 333.7 MB, free: 11.12 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001325/0.3019, allocations: 0.5525 MB / 334.2 MB, free: 10.56 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001675/0.3036, allocations: 0.8015 MB / 335 MB, free: 9.758 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004278/0.3041, allocations: 100 kB / 335.1 MB, free: 9.66 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000577/0.3047, allocations: 100 kB / 335.2 MB, free: 9.562 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005618/0.3052, allocations: 394.7 kB / 335.6 MB, free: 9.176 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001748/0.307, allocations: 0.7035 MB / 336.3 MB, free: 8.469 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003244/0.3102, allocations: 2.134 MB / 338.5 MB, free: 6.328 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.3103, allocations: 0 / 338.5 MB, free: 6.328 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3103, allocations: 0 / 338.5 MB, free: 6.328 MB / 270.1 MB Notification: Performance of Transformations before backend: time 0.0001055/0.3104, allocations: 0 / 338.5 MB, free: 6.328 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.005157/0.3156, allocations: 1.755 MB / 340.2 MB, free: 4.516 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.193e-05/0.3156, allocations: 12.03 kB / 340.2 MB, free: 4.504 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005119/0.3161, allocations: 147.2 kB / 340.4 MB, free: 4.359 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001671/0.3178, allocations: 0.9228 MB / 341.3 MB, free: 3.391 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.878e-05/0.3179, allocations: 78.41 kB / 341.4 MB, free: 3.312 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002569/0.3182, allocations: 108.1 kB / 341.5 MB, free: 3.207 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002953/0.3212, allocations: 1.541 MB / 343 MB, free: 1.609 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.313e-05/0.3212, allocations: 4 kB / 343 MB, free: 1.605 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001228/0.3213, allocations: 44 kB / 343.1 MB, free: 1.562 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.642e-05/0.3214, allocations: 41.97 kB / 343.1 MB, free: 1.52 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002555/0.324, allocations: 1.425 MB / 344.5 MB, free: 88 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007559/0.3315, allocations: 4.929 MB / 349.5 MB, free: 10.98 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001708/0.3333, allocations: 1.464 MB / 350.9 MB, free: 9.395 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001259/0.3346, allocations: 0.7234 MB / 351.6 MB, free: 8.664 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.337e-05/0.3346, allocations: 4.562 kB / 351.7 MB, free: 8.66 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001402/0.336, allocations: 0.6084 MB / 352.3 MB, free: 8.031 MB / 286.1 MB Notification: Performance of pre-optimization done (n=72): time 2.384e-06/0.3361, allocations: 4 kB / 352.3 MB, free: 8.027 MB / 286.1 MB Notification: Performance of matching and sorting (n=72): time 0.006583/0.3427, allocations: 2.423 MB / 354.7 MB, free: 5.574 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.994e-05/0.3428, allocations: 85.77 kB / 354.8 MB, free: 5.473 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00164/0.3444, allocations: 0.9344 MB / 355.7 MB, free: 4.527 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 8.476e-05/0.3445, allocations: 41.7 kB / 355.7 MB, free: 4.48 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004742/0.345, allocations: 0.523 MB / 356.3 MB, free: 3.949 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003392/0.3454, allocations: 232.7 kB / 356.5 MB, free: 3.719 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003333/0.3457, allocations: 126.7 kB / 356.6 MB, free: 3.59 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001963/0.3459, allocations: 338 kB / 356.9 MB, free: 3.254 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007726/0.3467, allocations: 413.7 kB / 357.4 MB, free: 2.848 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007792/0.3475, allocations: 0.5485 MB / 357.9 MB, free: 2.246 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001426/0.3489, allocations: 0.9503 MB / 358.9 MB, free: 1.238 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.349, allocations: 4 kB / 358.9 MB, free: 1.234 MB / 286.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002553/0.3515, allocations: 1.288 MB / 360.1 MB, free: 15.94 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.031e-05/0.3516, allocations: 11.98 kB / 360.2 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.608e-05/0.3516, allocations: 4 kB / 360.2 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009567/0.3526, allocations: 402.4 kB / 360.6 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004905/0.3531, allocations: 115.8 kB / 360.7 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005456/0.3585, allocations: 4.123 MB / 364.8 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008073/0.3594, allocations: 79.48 kB / 364.9 MB, free: 11.08 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001232/0.3595, allocations: 28 kB / 364.9 MB, free: 11.05 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.001011/0.3605, allocations: 487.2 kB / 365.4 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003013/0.3608, allocations: 102.8 kB / 365.5 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003183/0.3612, allocations: 120.5 kB / 365.6 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/0.3612, allocations: 8 kB / 365.6 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.3612, allocations: 0 / 365.6 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/0.3612, allocations: 7.922 kB / 365.6 MB, free: 10.33 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004746/0.366, allocations: 2.593 MB / 368.2 MB, free: 7.672 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.436e-06/0.366, allocations: 4 kB / 368.2 MB, free: 7.668 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004891/0.3665, allocations: 83.88 kB / 368.3 MB, free: 7.586 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001033/0.3675, allocations: 393.2 kB / 368.7 MB, free: 7.199 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-05/0.3676, allocations: 11.98 kB / 368.7 MB, free: 7.188 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0051/0.3727, allocations: 4.076 MB / 372.8 MB, free: 2.973 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.3728, allocations: 0 / 372.8 MB, free: 2.973 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003185/0.3759, allocations: 1.954 MB / 374.7 MB, free: 1 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005818/0.3766, allocations: 291.7 kB / 375 MB, free: 0.6953 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002306/0.3768, allocations: 16 kB / 375 MB, free: 0.6797 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005413/0.3773, allocations: 51.88 kB / 375.1 MB, free: 0.6289 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002477/0.3776, allocations: 76.53 kB / 375.1 MB, free: 0.5508 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.381e-05/0.3777, allocations: 20 kB / 375.2 MB, free: 0.5312 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.001156/0.3788, allocations: 0.6746 MB / 375.8 MB, free: 15.86 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.3788, allocations: 0 / 375.8 MB, free: 15.86 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001201/0.38, allocations: 343 kB / 376.2 MB, free: 15.52 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.000222/0.3803, allocations: 135.4 kB / 376.3 MB, free: 15.38 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002279/0.3826, allocations: 1.268 MB / 377.6 MB, free: 14.1 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/0.3826, allocations: 0 / 377.6 MB, free: 14.1 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001277/0.3839, allocations: 0.8032 MB / 378.4 MB, free: 13.29 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001277/0.3852, allocations: 227.1 kB / 378.6 MB, free: 13.06 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005447/0.3906, allocations: 3.102 MB / 381.7 MB, free: 9.93 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001108/0.3918, allocations: 1.388 MB / 383.1 MB, free: 8.512 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005674/0.3923, allocations: 171.3 kB / 383.2 MB, free: 8.34 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001984/0.3925, allocations: 55.42 kB / 383.3 MB, free: 8.285 MB / 318.1 MB Notification: Performance of SimCode: time 9.11e-07/0.3925, allocations: 0 / 383.3 MB, free: 8.285 MB / 318.1 MB Notification: Performance of Templates: time 0.02782/0.4204, allocations: 17.19 MB / 400.5 MB, free: 7.074 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile (rm -f Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1)