Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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.2_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.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001165/0.001166, allocations: 185 kB / 8.354 MB, free: 0.7305 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.395/1.395, allocations: 194.3 MB / 203.1 MB, free: 13.03 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001639/0.001639, allocations: 112.7 kB / 248.1 MB, free: 36 kB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.48e-05/1.482e-05, allocations: 4 kB / 298.1 MB, free: 35.48 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06757/0.0676, allocations: 44.49 MB / 342.6 MB, free: 6.973 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2566/0.3243, allocations: 77.91 MB / 420.5 MB, free: 10.8 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001929/0.3245, allocations: 83.28 kB / 420.6 MB, free: 10.8 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04733/0.3718, allocations: 20.77 MB / 441.4 MB, free: 2.934 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.978e-06/0.3719, allocations: 0 / 441.4 MB, free: 2.934 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001254/0.3721, allocations: 34.91 kB / 441.4 MB, free: 2.926 MB / 298.7 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.002799/0.3749, allocations: 1.369 MB / 442.8 MB, free: 2.035 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.3749, allocations: 7.781 kB / 442.8 MB, free: 2.035 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003546/0.3753, allocations: 155.2 kB / 442.9 MB, free: 1.957 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001409/0.3767, allocations: 0.9454 MB / 443.9 MB, free: 1.508 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.295e-05/0.3768, allocations: 33.78 kB / 443.9 MB, free: 1.508 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001474/0.3769, allocations: 57.69 kB / 444 MB, free: 1.508 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001681/0.3786, allocations: 1.214 MB / 445.2 MB, free: 1.359 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001856/0.3805, allocations: 1.336 MB / 446.5 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.591e-05/0.3805, allocations: 0 / 446.5 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.35e-05/0.3806, allocations: 7.734 kB / 446.5 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.314e-05/0.3807, allocations: 40.88 kB / 446.6 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006522/0.3872, allocations: 4.781 MB / 451.3 MB, free: 13.91 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001516/0.3887, allocations: 1.39 MB / 452.7 MB, free: 12.79 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009763/0.3897, allocations: 0.6651 MB / 453.4 MB, free: 12.34 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.327e-05/0.3898, allocations: 12.31 kB / 453.4 MB, free: 12.33 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008566/0.3907, allocations: 0.5563 MB / 454 MB, free: 11.91 MB / 314.7 MB Notification: Performance of pre-optimization done (n=72): time 3.207e-06/0.3907, allocations: 0 / 454 MB, free: 11.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=72): time 0.001914/0.3926, allocations: 1.133 MB / 455.1 MB, free: 11.09 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.143e-05/0.3927, allocations: 85.89 kB / 455.2 MB, free: 10.98 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00125/0.394, allocations: 0.7558 MB / 455.9 MB, free: 10.41 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.602e-05/0.394, allocations: 25.7 kB / 456 MB, free: 10.38 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000436/0.3945, allocations: 0.5213 MB / 456.5 MB, free: 10.02 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001877/0.3947, allocations: 220.3 kB / 456.7 MB, free: 9.824 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.85e-05/0.3947, allocations: 0 / 456.7 MB, free: 9.824 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.3949, allocations: 336 kB / 457 MB, free: 9.5 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004755/0.3954, allocations: 363.7 kB / 457.4 MB, free: 9.277 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006867/0.3961, allocations: 0.5001 MB / 457.9 MB, free: 8.844 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000505/0.3966, allocations: 397.9 kB / 458.3 MB, free: 8.457 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.72e-06/0.3966, allocations: 4 kB / 458.3 MB, free: 8.453 MB / 314.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001744/0.3983, allocations: 1.132 MB / 459.4 MB, free: 7.312 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/0.3984, allocations: 8 kB / 459.4 MB, free: 7.305 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.3984, allocations: 4 kB / 459.4 MB, free: 7.301 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008514/0.3992, allocations: 387.2 kB / 459.8 MB, free: 6.922 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000496/0.3998, allocations: 115.8 kB / 459.9 MB, free: 6.809 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004954/0.4047, allocations: 4.012 MB / 463.9 MB, free: 2.672 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006976/0.4054, allocations: 67.48 kB / 464 MB, free: 2.605 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.788e-05/0.4055, allocations: 32.05 kB / 464 MB, free: 2.574 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 57 * 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 {6 22} Notification: Performance of prepare postOptimizeDAE: time 0.0002076/0.4057, allocations: 118.6 kB / 464.1 MB, free: 2.453 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001968/0.406, allocations: 86.97 kB / 464.2 MB, free: 2.367 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003111/0.4063, allocations: 116.5 kB / 464.3 MB, free: 2.246 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.697e-06/0.4063, allocations: 11.98 kB / 464.3 MB, free: 2.234 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.4063, allocations: 0 / 464.3 MB, free: 2.234 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.308e-06/0.4063, allocations: 11.94 kB / 464.3 MB, free: 2.223 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003733/0.41, allocations: 2.33 MB / 466.7 MB, free: 15.86 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.4101, allocations: 0 / 466.7 MB, free: 15.86 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004283/0.4105, allocations: 87.88 kB / 466.8 MB, free: 15.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007452/0.4113, allocations: 372.7 kB / 467.1 MB, free: 15.41 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.225e-05/0.4113, allocations: 15.98 kB / 467.1 MB, free: 15.39 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004789/0.4161, allocations: 3.958 MB / 471.1 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.4162, allocations: 0 / 471.1 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00244/0.4186, allocations: 1.794 MB / 472.9 MB, free: 9.508 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000576/0.4192, allocations: 283.8 kB / 473.2 MB, free: 9.211 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001957/0.4194, allocations: 4 kB / 473.2 MB, free: 9.207 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004978/0.4199, allocations: 43.89 kB / 473.2 MB, free: 9.164 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001821/0.4201, allocations: 72.67 kB / 473.3 MB, free: 9.094 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.156e-05/0.4202, allocations: 23.98 kB / 473.3 MB, free: 9.07 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009221/0.4211, allocations: 0.5967 MB / 473.9 MB, free: 8.477 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4211, allocations: 0 / 473.9 MB, free: 8.477 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001059/0.4222, allocations: 314.9 kB / 474.2 MB, free: 8.168 MB / 330.7 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) * 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 (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 {6 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.00021/0.4224, allocations: 123.2 kB / 474.3 MB, free: 8.035 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001784/0.4242, allocations: 1.149 MB / 475.5 MB, free: 6.863 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4242, allocations: 0.875 kB / 475.5 MB, free: 6.863 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001117/0.4253, allocations: 0.738 MB / 476.2 MB, free: 6.117 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009884/0.4263, allocations: 201.8 kB / 476.4 MB, free: 5.926 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00451/0.4308, allocations: 2.023 MB / 478.4 MB, free: 3.875 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001157/0.432, allocations: 1.407 MB / 479.9 MB, free: 2.438 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005914/0.4326, allocations: 158.9 kB / 480 MB, free: 2.277 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001962/0.4328, allocations: 51.44 kB / 480.1 MB, free: 2.227 MB / 330.7 MB Notification: Performance of SimCode: time 8.61e-07/0.4329, allocations: 4 kB / 480.1 MB, free: 2.223 MB / 330.7 MB Notification: Performance of Templates: time 0.0247/0.4576, allocations: 14.46 MB / 494.5 MB, free: 3.75 MB / 346.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1)