Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.001767/0.001767, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002269/0.002269, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.588/1.588, allocations: 205.1 MB / 222.4 MB, free: 4.574 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.002231/0.002231, allocations: 55.92 kB / 278.7 MB, free: 12.32 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2952/0.2975, allocations: 46.63 MB / 325.3 MB, free: 1.852 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.005109/0.3026, allocations: 3.615 MB / 328.9 MB, free: 15.01 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002562/0.3052, allocations: 1.056 MB / 330 MB, free: 14.15 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005821/0.3059, allocations: 17.44 kB / 330 MB, free: 14.14 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004252/0.3063, allocations: 106 kB / 330.1 MB, free: 14.05 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001335/0.3077, allocations: 222.1 kB / 330.3 MB, free: 13.87 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006743/0.3084, allocations: 146.2 kB / 330.5 MB, free: 13.75 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002278/0.3107, allocations: 0.9584 MB / 331.4 MB, free: 13.18 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001188/0.3119, allocations: 0.5517 MB / 332 MB, free: 12.91 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009365/0.3128, allocations: 393.4 kB / 332.4 MB, free: 12.69 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001077/0.3139, allocations: 497.2 kB / 332.9 MB, free: 12.36 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003046/0.3142, allocations: 100 kB / 333 MB, free: 12.26 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005178/0.3148, allocations: 100 kB / 333.1 MB, free: 12.16 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005185/0.3153, allocations: 279.2 kB / 333.3 MB, free: 11.89 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001193/0.3165, allocations: 473.8 kB / 333.8 MB, free: 11.42 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001466/0.318, allocations: 1.259 MB / 335 MB, free: 10.16 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/0.318, allocations: 0 / 335 MB, free: 10.16 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.318, allocations: 0 / 335 MB, free: 10.16 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.651e-05/0.3181, allocations: 0 / 335 MB, free: 10.16 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.002788/0.3209, allocations: 1.162 MB / 336.2 MB, free: 8.945 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.3209, allocations: 8.031 kB / 336.2 MB, free: 8.938 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002424/0.3212, allocations: 91.89 kB / 336.3 MB, free: 8.848 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001121/0.3223, allocations: 0.5924 MB / 336.9 MB, free: 8.215 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.386e-05/0.3223, allocations: 53.25 kB / 337 MB, free: 8.16 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000128/0.3225, allocations: 68 kB / 337 MB, free: 8.094 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001617/0.3241, allocations: 0.9033 MB / 337.9 MB, free: 7.168 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.138e-05/0.3242, allocations: 4 kB / 337.9 MB, free: 7.164 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.806e-05/0.3242, allocations: 23.94 kB / 337.9 MB, free: 7.141 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.596e-05/0.3243, allocations: 37.3 kB / 338 MB, free: 7.105 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001523/0.3258, allocations: 0.7935 MB / 338.8 MB, free: 6.312 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004176/0.33, allocations: 2.784 MB / 341.6 MB, free: 3.422 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008998/0.3309, allocations: 0.7373 MB / 342.3 MB, free: 2.621 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005992/0.3315, allocations: 349.2 kB / 342.6 MB, free: 2.277 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.385e-05/0.3316, allocations: 4.328 kB / 342.6 MB, free: 2.273 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005913/0.3322, allocations: 381.7 kB / 343 MB, free: 1.879 MB / 270.1 MB Notification: Performance of pre-optimization done (n=43): time 2.344e-06/0.3322, allocations: 0 / 343 MB, free: 1.879 MB / 270.1 MB Notification: Performance of matching and sorting (n=43): time 0.002654/0.3349, allocations: 1.193 MB / 344.2 MB, free: 0.6562 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.89e-05/0.3349, allocations: 106.8 kB / 344.3 MB, free: 0.5273 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007493/0.3357, allocations: 0.5723 MB / 344.9 MB, free: 15.94 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.444e-05/0.3358, allocations: 33.7 kB / 344.9 MB, free: 15.9 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002752/0.336, allocations: 355.9 kB / 345.3 MB, free: 15.55 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001147/0.3362, allocations: 133.9 kB / 345.4 MB, free: 15.42 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001479/0.3363, allocations: 90.25 kB / 345.5 MB, free: 15.33 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.3365, allocations: 366.8 kB / 345.8 MB, free: 14.96 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003726/0.3368, allocations: 221 kB / 346.1 MB, free: 14.74 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004602/0.3373, allocations: 357.7 kB / 346.4 MB, free: 14.34 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008232/0.3382, allocations: 0.5702 MB / 347 MB, free: 13.71 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.66e-06/0.3382, allocations: 7.875 kB / 347 MB, free: 13.7 MB / 286.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.00129/0.3395, allocations: 0.7509 MB / 347.7 MB, free: 12.94 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.3395, allocations: 4 kB / 347.7 MB, free: 12.94 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.3395, allocations: 4 kB / 347.7 MB, free: 12.93 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005084/0.34, allocations: 205.1 kB / 347.9 MB, free: 12.73 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003114/0.3403, allocations: 75.83 kB / 348 MB, free: 12.66 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003229/0.3436, allocations: 2.928 MB / 350.9 MB, free: 9.586 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003567/0.344, allocations: 55.64 kB / 351 MB, free: 9.531 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.502e-05/0.344, allocations: 16 kB / 351 MB, free: 9.516 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.0004154/0.3444, allocations: 333.5 kB / 351.3 MB, free: 9.18 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.773e-05/0.3445, allocations: 55.34 kB / 351.4 MB, free: 9.125 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001264/0.3447, allocations: 69.27 kB / 351.5 MB, free: 9.055 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.3447, allocations: 4.141 kB / 351.5 MB, free: 9.051 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.3447, allocations: 0 / 351.5 MB, free: 9.051 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.979e-06/0.3447, allocations: 11.91 kB / 351.5 MB, free: 9.039 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00229/0.347, allocations: 1.621 MB / 353.1 MB, free: 7.355 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.347, allocations: 0 / 353.1 MB, free: 7.355 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002589/0.3473, allocations: 47.97 kB / 353.1 MB, free: 7.309 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004146/0.3477, allocations: 204.7 kB / 353.3 MB, free: 7.105 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.049e-05/0.3478, allocations: 11.94 kB / 353.4 MB, free: 7.094 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003031/0.3508, allocations: 2.916 MB / 356.3 MB, free: 4.043 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.3508, allocations: 0 / 356.3 MB, free: 4.043 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001579/0.3524, allocations: 1.106 MB / 357.4 MB, free: 2.91 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002366/0.3526, allocations: 192.3 kB / 357.6 MB, free: 2.703 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.122e-05/0.3527, allocations: 12 kB / 357.6 MB, free: 2.691 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003014/0.353, allocations: 27.97 kB / 357.6 MB, free: 2.664 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/0.3532, allocations: 43.94 kB / 357.7 MB, free: 2.621 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.294e-05/0.3532, allocations: 19.92 kB / 357.7 MB, free: 2.602 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0004762/0.3537, allocations: 414.8 kB / 358.1 MB, free: 2.199 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.3537, allocations: 0 / 358.1 MB, free: 2.199 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006502/0.3543, allocations: 203.3 kB / 358.3 MB, free: 2 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.0001539/0.3545, allocations: 123.3 kB / 358.4 MB, free: 1.867 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001308/0.3558, allocations: 0.7801 MB / 359.2 MB, free: 1.074 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.197e-05/0.3558, allocations: 4.312 kB / 359.2 MB, free: 1.07 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006702/0.3565, allocations: 482 kB / 359.6 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006788/0.3572, allocations: 146 kB / 359.8 MB, free: 456 kB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002525/0.3598, allocations: 1.504 MB / 361.3 MB, free: 14.91 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006529/0.3604, allocations: 1.062 MB / 362.4 MB, free: 13.82 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002564/0.3607, allocations: 96.72 kB / 362.5 MB, free: 13.72 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.737e-05/0.3608, allocations: 43.44 kB / 362.5 MB, free: 13.68 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3608, allocations: 3.938 kB / 362.5 MB, free: 13.67 MB / 302.1 MB Notification: Performance of Templates: time 0.02023/0.381, allocations: 9.996 MB / 372.5 MB, free: 3.668 MB / 302.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1)