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.001317/0.001316, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.001979/0.001979, allocations: 172.7 kB / 15.95 MB, free: 208 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.625/1.625, allocations: 205.4 MB / 222.1 MB, free: 5.531 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.0004525/0.0004525, allocations: 12 kB / 278.9 MB, free: 12.69 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.2435, allocations: 47.59 MB / 326.5 MB, free: 1.406 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.004297/0.2479, allocations: 3.904 MB / 330.4 MB, free: 14.35 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002071/0.25, allocations: 1.211 MB / 331.6 MB, free: 13.36 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003534/0.2503, allocations: 19.44 kB / 331.6 MB, free: 13.35 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003117/0.2507, allocations: 121.8 kB / 331.7 MB, free: 13.25 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.001067/0.2517, allocations: 310.5 kB / 332.1 MB, free: 13.01 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004426/0.2522, allocations: 121 kB / 332.2 MB, free: 12.91 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001833/0.254, allocations: 1.657 MB / 333.8 MB, free: 11.92 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008853/0.2549, allocations: 0.6818 MB / 334.5 MB, free: 11.43 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007683/0.2557, allocations: 0.498 MB / 335 MB, free: 10.93 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008689/0.2566, allocations: 0.6926 MB / 335.7 MB, free: 10.23 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001266/0.2567, allocations: 76 kB / 335.8 MB, free: 10.16 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001612/0.2569, allocations: 72 kB / 335.8 MB, free: 10.09 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000311/0.2572, allocations: 362.7 kB / 336.2 MB, free: 9.734 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002737/0.2575, allocations: 293 kB / 336.5 MB, free: 9.441 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001452/0.259, allocations: 1.765 MB / 338.2 MB, free: 7.672 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.259, allocations: 0 / 338.2 MB, free: 7.672 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.259, allocations: 3.938 kB / 338.3 MB, free: 7.668 MB / 270.1 MB Notification: Performance of Transformations before backend: time 3.485e-05/0.259, allocations: 0 / 338.3 MB, free: 7.668 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.002545/0.2616, allocations: 1.541 MB / 339.8 MB, free: 6.074 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.2616, allocations: 8.031 kB / 339.8 MB, free: 6.066 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002225/0.2619, allocations: 154.2 kB / 340 MB, free: 5.914 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001227/0.2631, allocations: 0.8871 MB / 340.8 MB, free: 4.98 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.946e-05/0.2632, allocations: 77.98 kB / 340.9 MB, free: 4.902 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001475/0.2633, allocations: 100 kB / 341 MB, free: 4.805 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002426/0.2658, allocations: 1.553 MB / 342.6 MB, free: 3.195 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.436e-05/0.2658, allocations: 4 kB / 342.6 MB, free: 3.191 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001031/0.2659, allocations: 47.98 kB / 342.6 MB, free: 3.145 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.835e-05/0.266, allocations: 38.03 kB / 342.7 MB, free: 3.105 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002299/0.2683, allocations: 1.444 MB / 344.1 MB, free: 1.652 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006305/0.2746, allocations: 4.965 MB / 349.1 MB, free: 12.5 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001564/0.2762, allocations: 1.461 MB / 350.5 MB, free: 10.93 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001141/0.2773, allocations: 0.7351 MB / 351.3 MB, free: 10.19 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.154e-05/0.2774, allocations: 12.55 kB / 351.3 MB, free: 10.17 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009736/0.2784, allocations: 0.62 MB / 351.9 MB, free: 9.535 MB / 286.1 MB Notification: Performance of pre-optimization done (n=72): time 2.184e-06/0.2784, allocations: 0 / 351.9 MB, free: 9.535 MB / 286.1 MB Notification: Performance of matching and sorting (n=72): time 0.005426/0.2838, allocations: 2.442 MB / 354.3 MB, free: 7.062 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.41e-05/0.2839, allocations: 89.7 kB / 354.4 MB, free: 6.957 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001277/0.2852, allocations: 0.9265 MB / 355.3 MB, free: 6.02 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.825e-05/0.2853, allocations: 41.7 kB / 355.4 MB, free: 5.973 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004526/0.2857, allocations: 0.5191 MB / 355.9 MB, free: 5.445 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002013/0.2859, allocations: 232.7 kB / 356.1 MB, free: 5.215 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.995e-05/0.286, allocations: 16 kB / 356.2 MB, free: 5.199 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.2861, allocations: 334 kB / 356.5 MB, free: 4.867 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006658/0.2868, allocations: 425.6 kB / 356.9 MB, free: 4.449 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007846/0.2876, allocations: 0.5602 MB / 357.5 MB, free: 3.836 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000738/0.2883, allocations: 462 kB / 357.9 MB, free: 3.383 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/0.2883, allocations: 0 / 357.9 MB, free: 3.383 MB / 286.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002122/0.2905, allocations: 1.315 MB / 359.2 MB, free: 2.059 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.2905, allocations: 4 kB / 359.2 MB, free: 2.055 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.2905, allocations: 4 kB / 359.2 MB, free: 2.051 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009109/0.2914, allocations: 402.4 kB / 359.6 MB, free: 1.656 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004926/0.2919, allocations: 123.8 kB / 359.7 MB, free: 1.535 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005212/0.2972, allocations: 4.122 MB / 363.9 MB, free: 13.28 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006086/0.2978, allocations: 91.44 kB / 364 MB, free: 13.19 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-05/0.2979, allocations: 28 kB / 364 MB, free: 13.16 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.0007656/0.2986, allocations: 491.1 kB / 364.5 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001912/0.2988, allocations: 98.83 kB / 364.6 MB, free: 12.58 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002971/0.2991, allocations: 116.5 kB / 364.7 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/0.2992, allocations: 8 kB / 364.7 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.2992, allocations: 4 kB / 364.7 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.088e-06/0.2992, allocations: 3.984 kB / 364.7 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004295/0.3035, allocations: 2.612 MB / 367.3 MB, free: 9.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.3035, allocations: 4 kB / 367.3 MB, free: 9.766 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004322/0.3039, allocations: 95.86 kB / 367.4 MB, free: 9.672 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007825/0.3047, allocations: 389.2 kB / 367.8 MB, free: 9.289 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.354e-05/0.3048, allocations: 12 kB / 367.8 MB, free: 9.277 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004959/0.3098, allocations: 4.084 MB / 371.9 MB, free: 5.055 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.3098, allocations: 0 / 371.9 MB, free: 5.055 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003188/0.313, allocations: 1.985 MB / 373.9 MB, free: 3.047 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005816/0.3136, allocations: 283.8 kB / 374.1 MB, free: 2.75 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001747/0.3138, allocations: 16 kB / 374.1 MB, free: 2.734 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004568/0.3142, allocations: 51.94 kB / 374.2 MB, free: 2.684 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001824/0.3144, allocations: 76.53 kB / 374.3 MB, free: 2.609 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.92e-05/0.3145, allocations: 20 kB / 374.3 MB, free: 2.59 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0009972/0.3155, allocations: 0.6746 MB / 375 MB, free: 1.922 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.853e-06/0.3155, allocations: 0 / 375 MB, free: 1.922 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001131/0.3166, allocations: 346.8 kB / 375.3 MB, free: 1.582 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.0002032/0.3169, allocations: 135.2 kB / 375.4 MB, free: 1.441 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002267/0.3191, allocations: 1.3 MB / 376.7 MB, free: 128 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.3192, allocations: 4.25 kB / 376.7 MB, free: 124 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001312/0.3205, allocations: 0.8102 MB / 377.6 MB, free: 15.3 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001189/0.3217, allocations: 239.1 kB / 377.8 MB, free: 15.06 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004706/0.3264, allocations: 3.008 MB / 380.8 MB, free: 12.02 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009519/0.3274, allocations: 1.384 MB / 382.2 MB, free: 10.61 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004935/0.3279, allocations: 171.3 kB / 382.3 MB, free: 10.44 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001683/0.328, allocations: 51.44 kB / 382.4 MB, free: 10.39 MB / 318.1 MB Notification: Performance of SimCode: time 2.294e-06/0.3281, allocations: 0 / 382.4 MB, free: 10.39 MB / 318.1 MB Notification: Performance of Templates: time 0.02801/0.3561, allocations: 16.48 MB / 398.9 MB, free: 9.875 MB / 334.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)