Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.RectifierCenterTapmPulse.DiodeCenterTapmPulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001021/0.001021, allocations: 180 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.197/1.197, allocations: 194.5 MB / 211.6 MB, free: 3.051 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.001606/0.001605, allocations: 113.3 kB / 256.9 MB, free: 4.367 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003093/0.0003094, allocations: 8 kB / 310.6 MB, free: 14.92 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08729/0.08762, allocations: 44.5 MB / 355.1 MB, free: 2.316 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2489/0.3366, allocations: 78.08 MB / 433.2 MB, free: 11.46 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002267/0.3368, allocations: 88.92 kB / 433.2 MB, free: 11.42 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0296/0.3665, allocations: 13.39 MB / 446.6 MB, free: 324 kB / 314.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.3665, allocations: 4 kB / 446.6 MB, free: 320 kB / 314.7 MB Notification: Performance of Transformations before backend: time 4.992e-05/0.3665, allocations: 16 kB / 446.7 MB, free: 304 kB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.002066/0.3686, allocations: 1.034 MB / 447.7 MB, free: 15.27 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.3687, allocations: 12.03 kB / 447.7 MB, free: 15.25 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000251/0.3689, allocations: 90.88 kB / 447.8 MB, free: 15.16 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001184/0.3701, allocations: 0.6065 MB / 448.4 MB, free: 14.64 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.274e-05/0.3702, allocations: 52.23 kB / 448.4 MB, free: 14.61 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/0.3703, allocations: 69.56 kB / 448.5 MB, free: 14.56 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001492/0.3718, allocations: 0.9088 MB / 449.4 MB, free: 13.7 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.851e-05/0.3719, allocations: 3.062 kB / 449.4 MB, free: 13.7 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-05/0.3719, allocations: 28 kB / 449.5 MB, free: 13.68 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.202e-05/0.372, allocations: 33.3 kB / 449.5 MB, free: 13.64 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001305/0.3733, allocations: 0.7624 MB / 450.2 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004219/0.3775, allocations: 2.82 MB / 453.1 MB, free: 9.953 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000891/0.3784, allocations: 0.7456 MB / 453.8 MB, free: 9.145 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.709e-05/0.3785, allocations: 8.312 kB / 453.8 MB, free: 9.137 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005763/0.3791, allocations: 373.1 kB / 454.2 MB, free: 8.754 MB / 330.7 MB Notification: Performance of pre-optimization done (n=43): time 2.525e-06/0.3791, allocations: 0 / 454.2 MB, free: 8.754 MB / 330.7 MB Notification: Performance of matching and sorting (n=43): time 0.002559/0.3817, allocations: 1.209 MB / 455.4 MB, free: 7.516 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.991e-05/0.3817, allocations: 89.05 kB / 455.5 MB, free: 7.41 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006393/0.3824, allocations: 0.505 MB / 456 MB, free: 6.898 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.851e-05/0.3824, allocations: 37.7 kB / 456 MB, free: 6.855 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002658/0.3827, allocations: 353.7 kB / 456.4 MB, free: 6.508 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001162/0.3828, allocations: 146 kB / 456.5 MB, free: 6.363 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.284e-05/0.3829, allocations: 11.94 kB / 456.5 MB, free: 6.352 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.3831, allocations: 366.8 kB / 456.9 MB, free: 5.984 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003715/0.3834, allocations: 225 kB / 457.1 MB, free: 5.762 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004242/0.3839, allocations: 344.1 kB / 457.4 MB, free: 5.375 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004065/0.3843, allocations: 257.7 kB / 457.7 MB, free: 5.125 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.3843, allocations: 0 / 457.7 MB, free: 5.125 MB / 330.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.00122/0.3855, allocations: 0.762 MB / 458.4 MB, free: 4.352 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.3856, allocations: 9.25 kB / 458.5 MB, free: 4.344 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.3856, allocations: 4 kB / 458.5 MB, free: 4.34 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005434/0.3861, allocations: 201.1 kB / 458.7 MB, free: 4.141 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003236/0.3865, allocations: 71.91 kB / 458.7 MB, free: 4.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003248/0.3897, allocations: 2.724 MB / 461.5 MB, free: 1.211 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003898/0.3901, allocations: 61.33 kB / 461.5 MB, free: 1.152 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.157e-05/0.3902, allocations: 19.98 kB / 461.5 MB, free: 1.133 MB / 330.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: 12 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * 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 {3 11} Notification: Performance of prepare postOptimizeDAE: time 0.0005349/0.3907, allocations: 317.6 kB / 461.8 MB, free: 0.8125 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/0.3908, allocations: 63.27 kB / 461.9 MB, free: 0.75 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001635/0.391, allocations: 65.42 kB / 462 MB, free: 0.6836 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.391, allocations: 19.88 kB / 462 MB, free: 0.6641 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.391, allocations: 0 / 462 MB, free: 0.6641 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.3911, allocations: 7.922 kB / 462 MB, free: 0.6562 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002391/0.3935, allocations: 1.52 MB / 463.5 MB, free: 15.07 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.3935, allocations: 0 / 463.5 MB, free: 15.07 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002556/0.3937, allocations: 51.95 kB / 463.6 MB, free: 15.02 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004194/0.3942, allocations: 187.3 kB / 463.7 MB, free: 14.84 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.924e-05/0.3942, allocations: 19.92 kB / 463.8 MB, free: 14.82 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002922/0.3971, allocations: 2.71 MB / 466.5 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.3972, allocations: 3.953 kB / 466.5 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001601/0.3988, allocations: 1.11 MB / 467.6 MB, free: 10.85 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003159/0.3991, allocations: 196.3 kB / 467.8 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.933e-05/0.3992, allocations: 15.92 kB / 467.8 MB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002893/0.3995, allocations: 27.94 kB / 467.8 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/0.3996, allocations: 51.88 kB / 467.9 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.321e-05/0.3997, allocations: 12 kB / 467.9 MB, free: 10.53 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004894/0.4002, allocations: 414.8 kB / 468.3 MB, free: 10.13 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.4002, allocations: 0 / 468.3 MB, free: 10.13 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006782/0.4009, allocations: 207.3 kB / 468.5 MB, free: 9.926 MB / 346.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: 9 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.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 (30): * Single equations (assignments): 26 * 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 {3 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001847/0.4011, allocations: 128 kB / 468.6 MB, free: 9.793 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001239/0.4023, allocations: 0.7295 MB / 469.4 MB, free: 9.051 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.4023, allocations: 0 / 469.4 MB, free: 9.051 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006623/0.403, allocations: 479.5 kB / 469.8 MB, free: 8.57 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005733/0.4036, allocations: 128.9 kB / 469.9 MB, free: 8.445 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002669/0.4063, allocations: 1.765 MB / 471.7 MB, free: 6.66 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007383/0.407, allocations: 1.086 MB / 472.8 MB, free: 5.543 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003174/0.4073, allocations: 96.67 kB / 472.9 MB, free: 5.445 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.759e-05/0.4074, allocations: 43.42 kB / 472.9 MB, free: 5.402 MB / 346.7 MB Notification: Performance of SimCode: time 3.5e-07/0.4074, allocations: 0 / 472.9 MB, free: 5.402 MB / 346.7 MB Notification: Performance of Templates: time 0.01593/0.4234, allocations: 9.133 MB / 482.1 MB, free: 12.31 MB / 362.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1)