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.001398/0.001398, allocations: 184.3 kB / 13.65 MB, free: 1.668 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.283/1.283, allocations: 194.3 MB / 208.4 MB, free: 6.738 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.001638/0.001638, allocations: 116.7 kB / 253.5 MB, free: 9.609 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.13e-05/2.139e-05, allocations: 0 / 305 MB, free: 29.79 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0752/0.07524, allocations: 44.5 MB / 349.5 MB, free: 1.258 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2832/0.3585, allocations: 78.58 MB / 428 MB, free: 10.3 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002313/0.3587, allocations: 82.92 kB / 428.1 MB, free: 10.29 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04457/0.4033, allocations: 21.01 MB / 449.1 MB, free: 14.76 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4033, allocations: 4 kB / 449.1 MB, free: 14.76 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.848e-05/0.4034, allocations: 31.52 kB / 449.2 MB, free: 14.73 MB / 314.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.002304/0.4057, allocations: 1.361 MB / 450.5 MB, free: 13.4 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/0.4058, allocations: 16.02 kB / 450.5 MB, free: 13.38 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002371/0.406, allocations: 158.2 kB / 450.7 MB, free: 13.23 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001546/0.4076, allocations: 0.9433 MB / 451.6 MB, free: 12.46 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.299e-05/0.4076, allocations: 75.59 kB / 451.7 MB, free: 12.42 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000157/0.4078, allocations: 100.3 kB / 451.8 MB, free: 12.35 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0021/0.4099, allocations: 1.487 MB / 453.3 MB, free: 11.29 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.374e-05/0.41, allocations: 0 / 453.3 MB, free: 11.29 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/0.4101, allocations: 45.19 kB / 453.3 MB, free: 11.28 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.023e-05/0.4101, allocations: 46.02 kB / 453.4 MB, free: 11.23 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001764/0.4119, allocations: 1.29 MB / 454.7 MB, free: 10.42 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00675/0.4187, allocations: 4.975 MB / 459.6 MB, free: 6.488 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001397/0.4201, allocations: 1.405 MB / 461.1 MB, free: 5.352 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00102/0.4211, allocations: 0.6894 MB / 461.7 MB, free: 4.883 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.534e-05/0.4212, allocations: 12.55 kB / 461.8 MB, free: 4.867 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008074/0.422, allocations: 0.5714 MB / 462.3 MB, free: 4.445 MB / 314.7 MB Notification: Performance of pre-optimization done (n=72): time 2.445e-06/0.422, allocations: 4 kB / 462.3 MB, free: 4.441 MB / 314.7 MB Notification: Performance of matching and sorting (n=72): time 0.001819/0.4238, allocations: 1.185 MB / 463.5 MB, free: 3.586 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.243e-05/0.4239, allocations: 89.89 kB / 463.6 MB, free: 3.48 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001101/0.425, allocations: 0.8272 MB / 464.4 MB, free: 2.848 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.664e-05/0.4251, allocations: 41.08 kB / 464.5 MB, free: 2.812 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004095/0.4255, allocations: 0.5187 MB / 465 MB, free: 2.344 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001848/0.4257, allocations: 232.3 kB / 465.2 MB, free: 2.121 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.682e-05/0.4258, allocations: 12 kB / 465.2 MB, free: 2.109 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.4259, allocations: 334 kB / 465.6 MB, free: 1.777 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005214/0.4264, allocations: 377.4 kB / 465.9 MB, free: 1.41 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000614/0.427, allocations: 0.5103 MB / 466.4 MB, free: 0.8477 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005706/0.4276, allocations: 422.9 kB / 466.8 MB, free: 444 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.4276, allocations: 0 / 466.8 MB, free: 444 kB / 314.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001853/0.4295, allocations: 1.215 MB / 468.1 MB, free: 15.21 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.4295, allocations: 8 kB / 468.1 MB, free: 15.21 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.958e-06/0.4295, allocations: 4 kB / 468.1 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008631/0.4304, allocations: 383.2 kB / 468.4 MB, free: 14.83 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004942/0.4309, allocations: 123.8 kB / 468.6 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005101/0.436, allocations: 4.116 MB / 472.7 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006857/0.4367, allocations: 87.48 kB / 472.8 MB, free: 10.37 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.637e-05/0.4368, allocations: 28 kB / 472.8 MB, free: 10.34 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: 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.0001904/0.437, allocations: 152 kB / 472.9 MB, free: 10.19 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001404/0.4371, allocations: 94.86 kB / 473 MB, free: 10.1 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003192/0.4375, allocations: 120.5 kB / 473.2 MB, free: 9.977 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.4375, allocations: 8 kB / 473.2 MB, free: 9.969 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.4375, allocations: 0 / 473.2 MB, free: 9.969 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.4375, allocations: 7.984 kB / 473.2 MB, free: 9.961 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003765/0.4413, allocations: 2.535 MB / 475.7 MB, free: 7.375 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.4413, allocations: 0 / 475.7 MB, free: 7.375 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004397/0.4418, allocations: 91.88 kB / 475.8 MB, free: 7.285 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007762/0.4425, allocations: 381 kB / 476.2 MB, free: 6.91 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.245e-05/0.4426, allocations: 16 kB / 476.2 MB, free: 6.895 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004857/0.4475, allocations: 4.075 MB / 480.3 MB, free: 2.684 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4475, allocations: 0 / 480.3 MB, free: 2.684 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002627/0.4501, allocations: 1.861 MB / 482.1 MB, free: 0.8086 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005836/0.4507, allocations: 287.8 kB / 482.4 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001181/0.4509, allocations: 16 kB / 482.4 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004624/0.4513, allocations: 43.95 kB / 482.5 MB, free: 460 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002051/0.4516, allocations: 80.66 kB / 482.5 MB, free: 380 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.815e-05/0.4516, allocations: 23.98 kB / 482.6 MB, free: 356 kB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009603/0.4526, allocations: 0.6553 MB / 483.2 MB, free: 15.7 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.493e-06/0.4526, allocations: 0 / 483.2 MB, free: 15.7 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001004/0.4536, allocations: 350.8 kB / 483.6 MB, free: 15.36 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: 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.0002191/0.4538, allocations: 127.2 kB / 483.7 MB, free: 15.22 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001853/0.4557, allocations: 1.204 MB / 484.9 MB, free: 14 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4557, allocations: 0 / 484.9 MB, free: 14 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00114/0.4569, allocations: 0.7677 MB / 485.7 MB, free: 13.22 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009729/0.4578, allocations: 236.9 kB / 485.9 MB, free: 12.99 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003893/0.4617, allocations: 2.085 MB / 488 MB, free: 10.88 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009942/0.4628, allocations: 1.407 MB / 489.4 MB, free: 9.441 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004597/0.4632, allocations: 171.2 kB / 489.5 MB, free: 9.27 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001565/0.4634, allocations: 63.36 kB / 489.6 MB, free: 9.207 MB / 346.7 MB Notification: Performance of SimCode: time 6.91e-07/0.4634, allocations: 4 kB / 489.6 MB, free: 9.203 MB / 346.7 MB Notification: Performance of Templates: time 0.02512/0.4885, allocations: 16.5 MB / 0.4943 GB, free: 8.684 MB / 362.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)