Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.001124/0.001124, allocations: 100 kB / 15.05 MB, free: 1.105 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.001283/0.001282, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.656/1.656, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.0004809/0.0004813, allocations: 10.81 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2603/0.2608, allocations: 47.58 MB / 326.5 MB, free: 1.633 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.004451/0.2653, allocations: 3.681 MB / 330.1 MB, free: 14.79 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002249/0.2676, allocations: 1.249 MB / 331.4 MB, free: 13.78 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002739/0.2679, allocations: 27.78 kB / 331.4 MB, free: 13.76 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002938/0.2682, allocations: 134.5 kB / 331.5 MB, free: 13.64 MB / 270.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Electrical/PowerConverters.mo:5531:20-5531:43:writable] Warning: 'each' used when modifying non-array element diode_p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Electrical/PowerConverters.mo:5542:20-5542:43:writable] Warning: 'each' used when modifying non-array element diode_n. Notification: Performance of NFTyping.typeBindings: time 0.0008151/0.269, allocations: 302.3 kB / 331.8 MB, free: 13.4 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002879/0.2693, allocations: 117 kB / 332 MB, free: 13.3 MB / 270.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Electrical/PowerConverters.mo:5531:20-5531:43:writable] Warning: 'each' used when modifying non-array element diode_p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Electrical/PowerConverters.mo:5542:20-5542:43:writable] Warning: 'each' used when modifying non-array element diode_n. Notification: Performance of NFFlatten.flatten: time 0.001134/0.2705, allocations: 0.9718 MB / 332.9 MB, free: 12.68 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009084/0.2714, allocations: 0.682 MB / 333.6 MB, free: 12.34 MB / 270.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Electrical/PowerConverters.mo:5531:20-5531:43:writable] Warning: 'each' used when modifying non-array element diode_p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Electrical/PowerConverters.mo:5542:20-5542:43:writable] Warning: 'each' used when modifying non-array element diode_n. Notification: Performance of NFEvalConstants.evaluate: time 0.0006547/0.2721, allocations: 475.9 kB / 334.1 MB, free: 12.02 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007718/0.2728, allocations: 0.6109 MB / 334.7 MB, free: 11.41 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000114/0.273, allocations: 72 kB / 334.8 MB, free: 11.34 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001511/0.2731, allocations: 72 kB / 334.8 MB, free: 11.27 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002782/0.2734, allocations: 339 kB / 335.2 MB, free: 10.94 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002439/0.2737, allocations: 289 kB / 335.4 MB, free: 10.65 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001375/0.275, allocations: 1.769 MB / 337.2 MB, free: 8.875 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.2751, allocations: 0 / 337.2 MB, free: 8.875 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2751, allocations: 0 / 337.2 MB, free: 8.875 MB / 270.1 MB Notification: Performance of Transformations before backend: time 2.276e-05/0.2751, allocations: 0 / 337.2 MB, free: 8.875 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: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.002691/0.2778, allocations: 1.541 MB / 338.7 MB, free: 7.281 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.2779, allocations: 8.031 kB / 338.8 MB, free: 7.273 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002366/0.2781, allocations: 150.2 kB / 338.9 MB, free: 7.125 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001441/0.2795, allocations: 0.891 MB / 339.8 MB, free: 6.188 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.577e-05/0.2796, allocations: 77.98 kB / 339.9 MB, free: 6.109 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001555/0.2798, allocations: 100 kB / 340 MB, free: 6.012 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002464/0.2823, allocations: 1.541 MB / 341.5 MB, free: 4.414 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.72e-05/0.2823, allocations: 0 / 341.5 MB, free: 4.414 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/0.2824, allocations: 40 kB / 341.5 MB, free: 4.375 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.634e-05/0.2825, allocations: 46.02 kB / 341.6 MB, free: 4.328 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002309/0.2848, allocations: 1.444 MB / 343 MB, free: 2.875 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006971/0.2918, allocations: 4.969 MB / 348 MB, free: 13.72 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001728/0.2935, allocations: 1.476 MB / 349.5 MB, free: 12.13 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.402e-05/0.2936, allocations: 8.562 kB / 349.5 MB, free: 12.12 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009509/0.2945, allocations: 0.6123 MB / 350.1 MB, free: 11.5 MB / 286.1 MB Notification: Performance of pre-optimization done (n=72): time 2.635e-06/0.2946, allocations: 0 / 350.1 MB, free: 11.5 MB / 286.1 MB Notification: Performance of matching and sorting (n=72): time 0.005742/0.3003, allocations: 2.424 MB / 352.5 MB, free: 9.043 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.902e-05/0.3004, allocations: 89.75 kB / 352.6 MB, free: 8.938 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001235/0.3016, allocations: 0.9265 MB / 353.5 MB, free: 8 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.908e-05/0.3017, allocations: 41.7 kB / 353.6 MB, free: 7.953 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004824/0.3022, allocations: 0.5192 MB / 354.1 MB, free: 7.426 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000216/0.3024, allocations: 236.7 kB / 354.3 MB, free: 7.191 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.906e-05/0.3025, allocations: 8 kB / 354.3 MB, free: 7.184 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001747/0.3027, allocations: 341.9 kB / 354.7 MB, free: 6.844 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007338/0.3034, allocations: 417.7 kB / 355.1 MB, free: 6.434 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008783/0.3043, allocations: 0.5641 MB / 355.6 MB, free: 5.816 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008101/0.3051, allocations: 453.9 kB / 356.1 MB, free: 5.371 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.406e-06/0.3051, allocations: 4 kB / 356.1 MB, free: 5.367 MB / 286.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002665/0.3078, allocations: 1.3 MB / 357.4 MB, free: 4.055 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.459e-05/0.3079, allocations: 4 kB / 357.4 MB, free: 4.051 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.825e-05/0.3079, allocations: 4 kB / 357.4 MB, free: 4.047 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001207/0.3091, allocations: 402.4 kB / 357.8 MB, free: 3.652 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005684/0.3097, allocations: 123.8 kB / 357.9 MB, free: 3.531 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006409/0.3161, allocations: 4.247 MB / 362.2 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009094/0.3171, allocations: 95.44 kB / 362.3 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.936e-05/0.3172, allocations: 24 kB / 362.3 MB, free: 15.04 MB / 302.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 ($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 () * 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 (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.000962/0.3181, allocations: 491.1 kB / 362.8 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002794/0.3184, allocations: 94.92 kB / 362.8 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002951/0.3187, allocations: 120.5 kB / 363 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.217e-06/0.3187, allocations: 12 kB / 363 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.345e-06/0.3188, allocations: 0 / 363 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/0.3188, allocations: 3.984 kB / 363 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004555/0.3233, allocations: 2.585 MB / 365.6 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.3234, allocations: 0 / 365.6 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004553/0.3238, allocations: 87.88 kB / 365.7 MB, free: 11.58 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000855/0.3247, allocations: 393.2 kB / 366 MB, free: 11.19 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.036e-05/0.3248, allocations: 15.98 kB / 366.1 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005127/0.3299, allocations: 4.213 MB / 370.3 MB, free: 6.824 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3299, allocations: 0 / 370.3 MB, free: 6.824 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002984/0.3329, allocations: 1.985 MB / 372.3 MB, free: 4.816 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005911/0.3335, allocations: 283.8 kB / 372.5 MB, free: 4.52 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001858/0.3337, allocations: 23.98 kB / 372.6 MB, free: 4.496 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004998/0.3342, allocations: 47.95 kB / 372.6 MB, free: 4.449 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002148/0.3345, allocations: 76.53 kB / 372.7 MB, free: 4.375 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.435e-05/0.3345, allocations: 23.98 kB / 372.7 MB, free: 4.352 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.001024/0.3356, allocations: 0.6629 MB / 373.4 MB, free: 3.695 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.3356, allocations: 0 / 373.4 MB, free: 3.695 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001079/0.3366, allocations: 350.9 kB / 373.7 MB, free: 3.352 MB / 302.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 (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.0002094/0.3369, allocations: 127 kB / 373.8 MB, free: 3.219 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002247/0.3391, allocations: 1.287 MB / 375.1 MB, free: 1.914 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.3391, allocations: 0.875 kB / 375.1 MB, free: 1.914 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001265/0.3404, allocations: 0.8142 MB / 375.9 MB, free: 1.086 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/0.3415, allocations: 227.2 kB / 376.2 MB, free: 0.8633 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006693/0.3482, allocations: 3.066 MB / 379.2 MB, free: 13.77 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001649/0.3499, allocations: 1.407 MB / 380.6 MB, free: 12.33 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006596/0.3505, allocations: 171.3 kB / 380.8 MB, free: 12.16 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002148/0.3508, allocations: 55.44 kB / 380.8 MB, free: 12.11 MB / 318.1 MB Notification: Performance of SimCode: time 1.744e-06/0.3508, allocations: 4 kB / 380.9 MB, free: 12.1 MB / 318.1 MB Notification: Performance of Templates: time 0.03298/0.3838, allocations: 16.38 MB / 397.2 MB, free: 11.7 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) Environment - environmentSimulation: