Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.RectifierCenterTapmPulse.DiodeCenterTapmPulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.1_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.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001363/0.001363, 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.001625/0.001626, allocations: 192.7 kB / 16.13 MB, free: 6.707 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.731/1.731, allocations: 205.1 MB / 222 MB, free: 4.766 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.001162/0.001162, allocations: 55.92 kB / 278.1 MB, free: 12.76 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3268/0.3279, allocations: 46.63 MB / 324.7 MB, free: 1.918 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.005121/0.3331, allocations: 3.649 MB / 328.3 MB, free: 15.06 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002095/0.3352, allocations: 1.033 MB / 329.4 MB, free: 14.23 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001965/0.3354, allocations: 16.31 kB / 329.4 MB, free: 14.22 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002608/0.3357, allocations: 78.84 kB / 329.5 MB, free: 14.15 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007212/0.3364, allocations: 209.7 kB / 329.7 MB, free: 13.99 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004386/0.3369, allocations: 125.5 kB / 329.8 MB, free: 13.88 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.00112/0.338, allocations: 1.064 MB / 330.9 MB, free: 13.28 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006279/0.3387, allocations: 483.2 kB / 331.3 MB, free: 13.04 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000447/0.3391, allocations: 333.4 kB / 331.7 MB, free: 12.86 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000718/0.3398, allocations: 473.2 kB / 332.1 MB, free: 12.55 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001259/0.34, allocations: 58.44 kB / 332.2 MB, free: 12.55 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001544/0.3401, allocations: 56.78 kB / 332.2 MB, free: 12.55 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002618/0.3404, allocations: 234.7 kB / 332.5 MB, free: 12.35 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006109/0.341, allocations: 421.8 kB / 332.9 MB, free: 11.93 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001576/0.3426, allocations: 1.22 MB / 334.1 MB, free: 10.71 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.3426, allocations: 0 / 334.1 MB, free: 10.71 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.876e-06/0.3426, allocations: 0 / 334.1 MB, free: 10.71 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.955e-05/0.3427, allocations: 0 / 334.1 MB, free: 10.71 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.00233/0.345, allocations: 1.162 MB / 335.3 MB, free: 9.496 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.3451, allocations: 8.031 kB / 335.3 MB, free: 9.488 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001613/0.3452, allocations: 87.91 kB / 335.4 MB, free: 9.402 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008897/0.3461, allocations: 0.6002 MB / 336 MB, free: 8.762 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.505e-05/0.3462, allocations: 49.25 kB / 336 MB, free: 8.711 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000115/0.3463, allocations: 68 kB / 336.1 MB, free: 8.645 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001547/0.3479, allocations: 0.9111 MB / 337 MB, free: 7.711 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.138e-05/0.3479, allocations: 0 / 337 MB, free: 7.711 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.889e-05/0.348, allocations: 31.98 kB / 337 MB, free: 7.68 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.134e-05/0.348, allocations: 25.31 kB / 337 MB, free: 7.656 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001251/0.3493, allocations: 0.7897 MB / 337.8 MB, free: 6.863 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003953/0.3532, allocations: 2.791 MB / 340.6 MB, free: 3.965 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008861/0.3541, allocations: 0.7527 MB / 341.4 MB, free: 3.148 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005754/0.3547, allocations: 333.3 kB / 341.7 MB, free: 2.82 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.599e-05/0.3548, allocations: 12.31 kB / 341.7 MB, free: 2.809 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006071/0.3554, allocations: 385.7 kB / 342.1 MB, free: 2.41 MB / 270.1 MB Notification: Performance of pre-optimization done (n=43): time 1.593e-06/0.3554, allocations: 0 / 342.1 MB, free: 2.41 MB / 270.1 MB Notification: Performance of matching and sorting (n=43): time 0.002637/0.358, allocations: 1.185 MB / 343.3 MB, free: 1.195 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.476e-05/0.3581, allocations: 110.8 kB / 343.4 MB, free: 1.062 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007136/0.3588, allocations: 0.5643 MB / 343.9 MB, free: 500 kB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.858e-05/0.3589, allocations: 41.73 kB / 344 MB, free: 452 kB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003602/0.3593, allocations: 355.9 kB / 344.3 MB, free: 88 kB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001216/0.3594, allocations: 138 kB / 344.5 MB, free: 15.95 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001395/0.3595, allocations: 90.25 kB / 344.6 MB, free: 15.86 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.3597, allocations: 362.8 kB / 344.9 MB, free: 15.49 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003588/0.3601, allocations: 221 kB / 345.1 MB, free: 15.27 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004366/0.3605, allocations: 349.8 kB / 345.5 MB, free: 14.88 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008922/0.3614, allocations: 0.5741 MB / 346 MB, free: 14.25 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.3614, allocations: 3.938 kB / 346 MB, free: 14.24 MB / 286.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001245/0.3627, allocations: 0.7511 MB / 346.8 MB, free: 13.48 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.3627, allocations: 4 kB / 346.8 MB, free: 13.48 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.3627, allocations: 4 kB / 346.8 MB, free: 13.47 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005752/0.3633, allocations: 200.7 kB / 347 MB, free: 13.27 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003037/0.3636, allocations: 76.08 kB / 347.1 MB, free: 13.2 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003186/0.3668, allocations: 2.674 MB / 349.7 MB, free: 10.39 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003355/0.3672, allocations: 59.61 kB / 349.8 MB, free: 10.33 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.495e-05/0.3672, allocations: 16 kB / 349.8 MB, free: 10.32 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 12 (meanVoltage.y,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,rectifier.diode.idealDiode[3].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * 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 {(3,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0004649/0.3677, allocations: 329.5 kB / 350.1 MB, free: 9.984 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.59e-05/0.3678, allocations: 55.34 kB / 350.2 MB, free: 9.93 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001248/0.3679, allocations: 73.27 kB / 350.3 MB, free: 9.855 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.3679, allocations: 11.88 kB / 350.3 MB, free: 9.844 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.3679, allocations: 0 / 350.3 MB, free: 9.844 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.3679, allocations: 0 / 350.3 MB, free: 9.844 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002289/0.3702, allocations: 1.619 MB / 351.9 MB, free: 8.16 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.3702, allocations: 0 / 351.9 MB, free: 8.16 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002353/0.3705, allocations: 47.91 kB / 351.9 MB, free: 8.113 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004227/0.3709, allocations: 205.2 kB / 352.1 MB, free: 7.91 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.488e-05/0.371, allocations: 15.97 kB / 352.2 MB, free: 7.895 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00297/0.3739, allocations: 2.643 MB / 354.8 MB, free: 5.117 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.3739, allocations: 0 / 354.8 MB, free: 5.117 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001644/0.3756, allocations: 1.096 MB / 355.9 MB, free: 3.996 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002715/0.3759, allocations: 200.2 kB / 356.1 MB, free: 3.781 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.298e-05/0.376, allocations: 12 kB / 356.1 MB, free: 3.77 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002718/0.3762, allocations: 23.97 kB / 356.1 MB, free: 3.746 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001294/0.3764, allocations: 47.94 kB / 356.2 MB, free: 3.699 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.198e-05/0.3764, allocations: 15.98 kB / 356.2 MB, free: 3.684 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0006168/0.377, allocations: 418.8 kB / 356.6 MB, free: 3.277 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3771, allocations: 3.938 kB / 356.6 MB, free: 3.273 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0007657/0.3778, allocations: 199.4 kB / 356.8 MB, free: 3.078 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (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 {(3,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002047/0.378, allocations: 107.2 kB / 356.9 MB, free: 2.961 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001855/0.3799, allocations: 0.7282 MB / 357.6 MB, free: 2.219 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.3799, allocations: 1 kB / 357.6 MB, free: 2.219 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009937/0.3809, allocations: 478.1 kB / 358.1 MB, free: 1.738 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008468/0.3818, allocations: 150 kB / 358.2 MB, free: 1.594 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003407/0.3852, allocations: 1.776 MB / 360 MB, free: 15.79 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007278/0.3859, allocations: 1.07 MB / 361.1 MB, free: 14.69 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002567/0.3862, allocations: 96.72 kB / 361.2 MB, free: 14.6 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.599e-05/0.3863, allocations: 35.44 kB / 361.2 MB, free: 14.56 MB / 302.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3863, allocations: 0 / 361.2 MB, free: 14.56 MB / 302.1 MB Notification: Performance of Templates: time 0.01845/0.4048, allocations: 9.44 MB / 370.7 MB, free: 5.117 MB / 302.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile (rm -f Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1)