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.00119/0.00119, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009753/0.009753, allocations: 169.9 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.021/2.021, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.0004939/0.0004939, allocations: 12 kB / 279.5 MB, free: 12.49 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.3143, allocations: 47.58 MB / 327.1 MB, free: 1.438 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.004424/0.3188, allocations: 3.261 MB / 330.3 MB, free: 14.87 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003209/0.3221, allocations: 1.021 MB / 331.3 MB, free: 14.05 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003859/0.3225, allocations: 12.22 kB / 331.3 MB, free: 14.04 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002805/0.3228, allocations: 86.42 kB / 331.4 MB, free: 13.97 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007239/0.3235, allocations: 205.2 kB / 331.6 MB, free: 13.81 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000313/0.3239, allocations: 126 kB / 331.8 MB, free: 13.7 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001209/0.3251, allocations: 1.068 MB / 332.8 MB, free: 13.09 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006684/0.3258, allocations: 475.4 kB / 333.3 MB, free: 12.86 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004988/0.3263, allocations: 301.4 kB / 333.6 MB, free: 12.7 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006581/0.3269, allocations: 426.8 kB / 334 MB, free: 12.4 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 8.284e-05/0.327, allocations: 44 kB / 334 MB, free: 12.36 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001133/0.3271, allocations: 44 kB / 334.1 MB, free: 12.31 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002367/0.3274, allocations: 207.2 kB / 334.3 MB, free: 12.11 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004952/0.3279, allocations: 427.5 kB / 334.7 MB, free: 11.68 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001117/0.329, allocations: 1.181 MB / 335.9 MB, free: 10.5 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.329, allocations: 0 / 335.9 MB, free: 10.5 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.456e-06/0.3291, allocations: 3.938 kB / 335.9 MB, free: 10.5 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.397e-05/0.3291, allocations: 0 / 335.9 MB, free: 10.5 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.00214/0.3312, allocations: 1.018 MB / 336.9 MB, free: 9.43 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/0.3313, allocations: 12.02 kB / 336.9 MB, free: 9.418 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001791/0.3315, allocations: 95.91 kB / 337 MB, free: 9.324 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009695/0.3324, allocations: 0.5846 MB / 337.6 MB, free: 8.699 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.213e-05/0.3325, allocations: 53.25 kB / 337.6 MB, free: 8.645 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001519/0.3327, allocations: 67.98 kB / 337.7 MB, free: 8.578 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001695/0.3344, allocations: 0.9111 MB / 338.6 MB, free: 7.645 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.614e-05/0.3344, allocations: 3.906 kB / 338.6 MB, free: 7.641 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-05/0.3345, allocations: 31.98 kB / 338.7 MB, free: 7.609 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.666e-05/0.3346, allocations: 29.31 kB / 338.7 MB, free: 7.582 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001415/0.336, allocations: 0.8014 MB / 339.5 MB, free: 6.777 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004655/0.3407, allocations: 2.811 MB / 342.3 MB, free: 3.855 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000957/0.3416, allocations: 0.7527 MB / 343.1 MB, free: 3.039 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006041/0.3422, allocations: 349.3 kB / 343.4 MB, free: 2.695 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.535e-05/0.3423, allocations: 8.328 kB / 343.4 MB, free: 2.688 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006755/0.343, allocations: 385.7 kB / 343.8 MB, free: 2.289 MB / 270.1 MB Notification: Performance of pre-optimization done (n=43): time 4.248e-06/0.343, allocations: 0 / 343.8 MB, free: 2.289 MB / 270.1 MB Notification: Performance of matching and sorting (n=43): time 0.002786/0.3458, allocations: 1.208 MB / 345 MB, free: 1.051 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8e-05/0.3459, allocations: 110.8 kB / 345.1 MB, free: 0.918 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007294/0.3466, allocations: 0.5684 MB / 345.7 MB, free: 348 kB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.958e-05/0.3467, allocations: 37.7 kB / 345.7 MB, free: 304 kB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003443/0.347, allocations: 351.9 kB / 346 MB, free: 15.95 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001294/0.3472, allocations: 142 kB / 346.2 MB, free: 15.8 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.422e-05/0.3472, allocations: 49.69 kB / 346.2 MB, free: 15.75 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.3474, allocations: 358.8 kB / 346.6 MB, free: 15.39 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003846/0.3478, allocations: 229 kB / 346.8 MB, free: 15.17 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004712/0.3483, allocations: 361.7 kB / 347.2 MB, free: 14.75 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008556/0.3492, allocations: 0.582 MB / 347.7 MB, free: 14.12 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.3492, allocations: 7.938 kB / 347.7 MB, free: 14.11 MB / 286.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001278/0.3505, allocations: 0.7588 MB / 348.5 MB, free: 13.34 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/0.3505, allocations: 8 kB / 348.5 MB, free: 13.33 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.3505, allocations: 4 kB / 348.5 MB, free: 13.33 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005547/0.3511, allocations: 209 kB / 348.7 MB, free: 13.12 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003233/0.3514, allocations: 79.89 kB / 348.8 MB, free: 13.04 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003406/0.3548, allocations: 2.666 MB / 351.5 MB, free: 10.24 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004302/0.3553, allocations: 67.5 kB / 351.5 MB, free: 10.18 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.62e-05/0.3553, allocations: 20 kB / 351.6 MB, free: 10.16 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.0005561/0.3559, allocations: 325.5 kB / 351.9 MB, free: 9.828 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.696e-05/0.356, allocations: 55.34 kB / 351.9 MB, free: 9.773 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001303/0.3561, allocations: 65.28 kB / 352 MB, free: 9.707 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.3561, allocations: 11.98 kB / 352 MB, free: 9.695 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.3561, allocations: 0 / 352 MB, free: 9.695 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.3561, allocations: 0 / 352 MB, free: 9.695 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00228/0.3584, allocations: 1.639 MB / 353.6 MB, free: 7.992 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.3584, allocations: 4 kB / 353.6 MB, free: 7.988 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002299/0.3587, allocations: 51.91 kB / 353.7 MB, free: 7.938 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004243/0.3591, allocations: 200.9 kB / 353.9 MB, free: 7.738 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.931e-05/0.3592, allocations: 8 kB / 353.9 MB, free: 7.73 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003166/0.3623, allocations: 2.651 MB / 356.5 MB, free: 4.945 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.3623, allocations: 4 kB / 356.6 MB, free: 4.941 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001793/0.3641, allocations: 1.123 MB / 357.7 MB, free: 3.793 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002995/0.3645, allocations: 200.2 kB / 357.9 MB, free: 3.578 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.083e-05/0.3645, allocations: 8 kB / 357.9 MB, free: 3.57 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002749/0.3648, allocations: 27.97 kB / 357.9 MB, free: 3.543 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000132/0.365, allocations: 39.94 kB / 357.9 MB, free: 3.504 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.212e-05/0.365, allocations: 23.98 kB / 358 MB, free: 3.48 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0005725/0.3656, allocations: 410.8 kB / 358.4 MB, free: 3.082 MB / 286.1 MB Notification: Performance of sort global known variables: time 4.91e-07/0.3656, allocations: 0 / 358.4 MB, free: 3.082 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0008097/0.3664, allocations: 207.3 kB / 358.6 MB, free: 2.879 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.0001918/0.3666, allocations: 123.2 kB / 358.7 MB, free: 2.746 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001341/0.368, allocations: 0.7407 MB / 359.4 MB, free: 1.992 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.368, allocations: 0 / 359.4 MB, free: 1.992 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008443/0.3688, allocations: 482.5 kB / 359.9 MB, free: 1.508 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007456/0.3696, allocations: 141.9 kB / 360 MB, free: 1.371 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002846/0.3724, allocations: 1.826 MB / 361.9 MB, free: 15.52 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007481/0.3732, allocations: 1.07 MB / 362.9 MB, free: 14.42 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003222/0.3735, allocations: 96.72 kB / 363 MB, free: 14.32 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001145/0.3737, allocations: 35.44 kB / 363.1 MB, free: 14.29 MB / 302.1 MB Notification: Performance of SimCode: time 8.21e-07/0.3737, allocations: 0 / 363.1 MB, free: 14.29 MB / 302.1 MB Notification: Performance of Templates: time 0.01693/0.3906, allocations: 9.271 MB / 372.3 MB, free: 5.012 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)