Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.009406/0.009405, allocations: 100.6 kB / 15.73 MB, free: 6.047 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.001647/0.001647, allocations: 188.6 kB / 16.67 MB, free: 5.98 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.622/1.622, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.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.001348/0.001348, allocations: 51.92 kB / 326.6 MB, free: 3.27 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.109, allocations: 46.62 MB / 373.2 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.006801/0.1158, allocations: 4.491 MB / 377.7 MB, free: 24 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2114/0.3273, allocations: 1.266 MB / 378.9 MB, free: 10.3 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003769/0.3278, allocations: 22.28 kB / 379 MB, free: 10.3 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003516/0.3281, allocations: 169.2 kB / 379.1 MB, free: 10.27 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001025/0.3292, allocations: 361.1 kB / 379.5 MB, free: 10.16 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004851/0.3297, allocations: 196 kB / 379.7 MB, free: 10.15 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002003/0.3317, allocations: 1.62 MB / 381.3 MB, free: 9.465 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001178/0.3329, allocations: 0.9348 MB / 382.2 MB, free: 9.117 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001064/0.334, allocations: 0.6702 MB / 382.9 MB, free: 8.812 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001203/0.3352, allocations: 0.8468 MB / 383.7 MB, free: 8.434 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002633/0.3354, allocations: 174.3 kB / 383.9 MB, free: 8.434 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000306/0.3358, allocations: 174.3 kB / 384.1 MB, free: 8.434 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004268/0.3362, allocations: 479.7 kB / 384.6 MB, free: 8.172 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008125/0.337, allocations: 0.7859 MB / 385.3 MB, free: 7.664 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002648/0.3397, allocations: 2.241 MB / 387.6 MB, free: 6.883 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.3397, allocations: 0.9375 kB / 387.6 MB, free: 6.883 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3397, allocations: 0 / 387.6 MB, free: 6.883 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.485e-05/0.3398, allocations: 1.125 kB / 387.6 MB, free: 6.883 MB / 318.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.003896/0.3437, allocations: 1.758 MB / 389.3 MB, free: 5.801 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.989e-05/0.3437, allocations: 10 kB / 389.3 MB, free: 5.801 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003178/0.3441, allocations: 150.7 kB / 389.5 MB, free: 5.727 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001382/0.3454, allocations: 0.9273 MB / 390.4 MB, free: 5.172 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.72e-05/0.3455, allocations: 76.25 kB / 390.5 MB, free: 5.137 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001799/0.3457, allocations: 109.9 kB / 390.6 MB, free: 5.098 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002915/0.3486, allocations: 1.547 MB / 392.2 MB, free: 4.434 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.287e-05/0.3487, allocations: 5.703 kB / 392.2 MB, free: 4.43 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001074/0.3488, allocations: 42.27 kB / 392.2 MB, free: 4.398 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.369e-05/0.3489, allocations: 46.34 kB / 392.2 MB, free: 4.391 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002696/0.3516, allocations: 1.423 MB / 393.7 MB, free: 3.883 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006771/0.3584, allocations: 4.872 MB / 398.5 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001894/0.3603, allocations: 1.453 MB / 400 MB, free: 15.57 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001437/0.3617, allocations: 0.7424 MB / 400.7 MB, free: 15.2 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.71e-05/0.3618, allocations: 7.125 kB / 400.7 MB, free: 15.2 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001122/0.3629, allocations: 0.608 MB / 401.3 MB, free: 14.82 MB / 334.1 MB Notification: Performance of pre-optimization done (n=72): time 3.326e-06/0.3629, allocations: 1.156 kB / 401.3 MB, free: 14.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=72): time 0.006103/0.369, allocations: 2.413 MB / 403.8 MB, free: 13.49 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.989e-05/0.3691, allocations: 90.66 kB / 403.9 MB, free: 13.39 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001511/0.3707, allocations: 0.933 MB / 404.8 MB, free: 12.88 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.963e-05/0.3708, allocations: 42.3 kB / 404.8 MB, free: 12.84 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000497/0.3713, allocations: 0.5255 MB / 405.3 MB, free: 12.38 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002533/0.3715, allocations: 224.6 kB / 405.6 MB, free: 12.19 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002429/0.3718, allocations: 135.5 kB / 405.7 MB, free: 12.11 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001726/0.372, allocations: 333.6 kB / 406 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000687/0.3726, allocations: 422.6 kB / 406.4 MB, free: 11.56 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007835/0.3734, allocations: 0.545 MB / 407 MB, free: 11.18 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001554/0.375, allocations: 0.9533 MB / 407.9 MB, free: 10.57 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.375, allocations: 0 / 407.9 MB, free: 10.57 MB / 334.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002582/0.3776, allocations: 1.289 MB / 409.2 MB, free: 9.883 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/0.3776, allocations: 7.125 kB / 409.2 MB, free: 9.883 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/0.3777, allocations: 8.219 kB / 409.2 MB, free: 9.879 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009557/0.3786, allocations: 402.7 kB / 409.6 MB, free: 9.672 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005198/0.3792, allocations: 114.3 kB / 409.7 MB, free: 9.641 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005887/0.3851, allocations: 4.502 MB / 414.2 MB, free: 5.172 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006497/0.3857, allocations: 79.55 kB / 414.3 MB, free: 5.094 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.348e-05/0.3858, allocations: 24 kB / 414.4 MB, free: 5.07 MB / 334.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.0008189/0.3866, allocations: 499.2 kB / 414.8 MB, free: 4.574 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001427/0.3868, allocations: 94.81 kB / 414.9 MB, free: 4.48 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002571/0.387, allocations: 124.5 kB / 415.1 MB, free: 4.355 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.387, allocations: 8 kB / 415.1 MB, free: 4.348 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.3871, allocations: 128 / 415.1 MB, free: 4.348 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/0.3871, allocations: 7.984 kB / 415.1 MB, free: 4.34 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00417/0.3912, allocations: 2.58 MB / 417.6 MB, free: 1.715 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.3913, allocations: 0 / 417.6 MB, free: 1.715 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004682/0.3917, allocations: 79.88 kB / 417.7 MB, free: 1.637 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008566/0.3926, allocations: 400.7 kB / 418.1 MB, free: 1.242 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.69e-05/0.3927, allocations: 19.98 kB / 418.1 MB, free: 1.223 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006011/0.3987, allocations: 4.466 MB / 422.6 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.3987, allocations: 0 / 422.6 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00305/0.4018, allocations: 1.957 MB / 424.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004911/0.4023, allocations: 279.8 kB / 424.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001795/0.4025, allocations: 15.98 kB / 424.8 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004989/0.403, allocations: 51.95 kB / 424.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002148/0.4032, allocations: 76.53 kB / 425 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.006e-05/0.4033, allocations: 16.12 kB / 425 MB, free: 10.19 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001128/0.4044, allocations: 0.6747 MB / 425.7 MB, free: 9.516 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.4044, allocations: 0 / 425.7 MB, free: 9.516 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001328/0.4057, allocations: 342.9 kB / 426 MB, free: 9.18 MB / 350.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.0002655/0.406, allocations: 135.4 kB / 426.1 MB, free: 9.039 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002693/0.4087, allocations: 1.28 MB / 427.4 MB, free: 7.746 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.728e-06/0.4088, allocations: 0 / 427.4 MB, free: 7.746 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001399/0.4102, allocations: 0.8072 MB / 428.2 MB, free: 6.922 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001257/0.4114, allocations: 258.9 kB / 428.5 MB, free: 6.68 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005599/0.417, allocations: 2.599 MB / 431.1 MB, free: 4.051 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001164/0.4182, allocations: 1.38 MB / 432.5 MB, free: 2.645 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000524/0.4188, allocations: 175.2 kB / 432.6 MB, free: 2.469 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002208/0.419, allocations: 59.44 kB / 432.7 MB, free: 2.41 MB / 350.1 MB Notification: Performance of SimCode: time 1.573e-06/0.419, allocations: 0 / 432.7 MB, free: 2.41 MB / 350.1 MB Notification: Performance of Templates: time 0.03285/0.4519, allocations: 18.45 MB / 451.1 MB, free: 15.95 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1)