Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001072/0.001072, allocations: 87.39 kB / 16.31 MB, free: 6.449 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.001808/0.001809, allocations: 181 kB / 17.21 MB, free: 6.32 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.918/1.918, allocations: 205.4 MB / 223.4 MB, free: 5.516 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.0004567/0.0004569, allocations: 16 kB / 280.2 MB, free: 12.89 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2999/0.3003, allocations: 47.58 MB / 327.7 MB, free: 1.445 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.004112/0.3045, allocations: 3.121 MB / 330.9 MB, free: 15.01 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002278/0.3068, allocations: 1.007 MB / 331.9 MB, free: 14.19 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002779/0.3071, allocations: 12.53 kB / 331.9 MB, free: 14.19 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002485/0.3074, allocations: 75.22 kB / 332 MB, free: 14.12 MB / 270.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Electrical/PowerConverters.mo:4970:20-4970:43:writable] Warning: 'each' used when modifying non-array element diode. Notification: Performance of NFTyping.typeBindings: time 0.0008085/0.3082, allocations: 197.2 kB / 332.1 MB, free: 13.97 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003141/0.3085, allocations: 97.89 kB / 332.2 MB, free: 13.89 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001105/0.3096, allocations: 0.9682 MB / 333.2 MB, free: 13.32 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005787/0.3102, allocations: 394.5 kB / 333.6 MB, free: 13.11 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004599/0.3107, allocations: 301.7 kB / 333.9 MB, free: 12.96 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005882/0.3113, allocations: 410.4 kB / 334.3 MB, free: 12.71 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 9.396e-05/0.3114, allocations: 42.47 kB / 334.3 MB, free: 12.71 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001164/0.3115, allocations: 41.91 kB / 334.4 MB, free: 12.71 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000243/0.3118, allocations: 213.1 kB / 334.6 MB, free: 12.56 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000197/0.312, allocations: 181 kB / 334.8 MB, free: 12.45 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008652/0.3128, allocations: 0.9976 MB / 335.8 MB, free: 11.47 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.3129, allocations: 4 kB / 335.8 MB, free: 11.46 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.3129, allocations: 0 / 335.8 MB, free: 11.46 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.066e-05/0.3129, allocations: 0 / 335.8 MB, free: 11.46 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.001619/0.3145, allocations: 1.018 MB / 336.8 MB, free: 10.4 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.3146, allocations: 12.03 kB / 336.8 MB, free: 10.39 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001469/0.3147, allocations: 86.97 kB / 336.9 MB, free: 10.3 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007639/0.3155, allocations: 0.5797 MB / 337.5 MB, free: 9.68 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.364e-05/0.3155, allocations: 61.25 kB / 337.5 MB, free: 9.617 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.54e-05/0.3156, allocations: 64 kB / 337.6 MB, free: 9.555 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001511/0.3172, allocations: 0.9111 MB / 338.5 MB, free: 8.621 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.03e-05/0.3172, allocations: 0 / 338.5 MB, free: 8.621 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.97e-05/0.3173, allocations: 28 kB / 338.5 MB, free: 8.594 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.687e-05/0.3173, allocations: 29.3 kB / 338.5 MB, free: 8.566 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001328/0.3187, allocations: 0.7936 MB / 339.3 MB, free: 7.77 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004064/0.3227, allocations: 2.807 MB / 342.1 MB, free: 4.852 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009061/0.3237, allocations: 0.7495 MB / 342.9 MB, free: 4.039 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006138/0.3243, allocations: 345.3 kB / 343.2 MB, free: 3.699 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.579e-05/0.3243, allocations: 4.328 kB / 343.2 MB, free: 3.695 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006094/0.3249, allocations: 389.7 kB / 343.6 MB, free: 3.293 MB / 270.1 MB Notification: Performance of pre-optimization done (n=43): time 3.496e-06/0.325, allocations: 4 kB / 343.6 MB, free: 3.289 MB / 270.1 MB Notification: Performance of matching and sorting (n=43): time 0.002673/0.3276, allocations: 1.204 MB / 344.8 MB, free: 2.055 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.39e-05/0.3277, allocations: 110.8 kB / 344.9 MB, free: 1.922 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007182/0.3285, allocations: 0.5605 MB / 345.5 MB, free: 1.352 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.105e-05/0.3285, allocations: 33.7 kB / 345.5 MB, free: 1.312 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002894/0.3288, allocations: 352 kB / 345.9 MB, free: 0.9648 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001332/0.329, allocations: 142 kB / 346 MB, free: 0.8242 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.415e-05/0.329, allocations: 12 kB / 346 MB, free: 0.8125 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001986/0.3292, allocations: 370.7 kB / 346.4 MB, free: 452 kB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000376/0.3296, allocations: 228.9 kB / 346.6 MB, free: 224 kB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004727/0.3301, allocations: 357.8 kB / 347 MB, free: 15.81 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004326/0.3305, allocations: 252.9 kB / 347.2 MB, free: 15.56 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.3305, allocations: 0 / 347.2 MB, free: 15.56 MB / 286.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001288/0.3318, allocations: 0.7627 MB / 348 MB, free: 14.79 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.554e-05/0.3318, allocations: 4 kB / 348 MB, free: 14.79 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.3319, allocations: 4 kB / 348 MB, free: 14.78 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005218/0.3324, allocations: 208.9 kB / 348.2 MB, free: 14.57 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003056/0.3327, allocations: 75.89 kB / 348.3 MB, free: 14.5 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003106/0.3358, allocations: 2.663 MB / 350.9 MB, free: 11.7 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003806/0.3362, allocations: 59.61 kB / 351 MB, free: 11.64 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.218e-05/0.3363, allocations: 20 kB / 351 MB, free: 11.62 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 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].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 (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 {3 11} Notification: Performance of prepare postOptimizeDAE: time 0.0005108/0.3368, allocations: 329.7 kB / 351.3 MB, free: 11.29 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.29e-05/0.3369, allocations: 59.34 kB / 351.4 MB, free: 11.23 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000145/0.337, allocations: 69.27 kB / 351.4 MB, free: 11.16 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.337, allocations: 12 kB / 351.5 MB, free: 11.15 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.337, allocations: 0 / 351.5 MB, free: 11.15 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.3371, allocations: 0 / 351.5 MB, free: 11.15 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002357/0.3394, allocations: 1.629 MB / 353.1 MB, free: 9.461 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.3394, allocations: 0 / 353.1 MB, free: 9.461 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002366/0.3397, allocations: 51.91 kB / 353.1 MB, free: 9.41 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000449/0.3401, allocations: 200.9 kB / 353.3 MB, free: 9.211 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.422e-05/0.3402, allocations: 15.94 kB / 353.3 MB, free: 9.195 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002918/0.3431, allocations: 2.647 MB / 356 MB, free: 6.418 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.3431, allocations: 0 / 356 MB, free: 6.418 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001753/0.3449, allocations: 1.114 MB / 357.1 MB, free: 5.277 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003065/0.3452, allocations: 196.3 kB / 357.3 MB, free: 5.066 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/0.3453, allocations: 8 kB / 357.3 MB, free: 5.059 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000296/0.3456, allocations: 31.97 kB / 357.3 MB, free: 5.027 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001515/0.3458, allocations: 43.92 kB / 357.4 MB, free: 4.984 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.388e-05/0.3458, allocations: 16 kB / 357.4 MB, free: 4.969 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0006692/0.3465, allocations: 414.8 kB / 357.8 MB, free: 4.566 MB / 286.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3465, allocations: 0 / 357.8 MB, free: 4.566 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0009261/0.3474, allocations: 199.4 kB / 358 MB, free: 4.371 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 (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 {3 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001904/0.3476, allocations: 123 kB / 358.1 MB, free: 4.238 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001481/0.3491, allocations: 0.745 MB / 358.9 MB, free: 3.48 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.3491, allocations: 4 kB / 358.9 MB, free: 3.477 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007381/0.3499, allocations: 478 kB / 359.3 MB, free: 2.996 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007769/0.3507, allocations: 146.5 kB / 359.5 MB, free: 2.855 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003492/0.3542, allocations: 1.749 MB / 361.2 MB, free: 1.078 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00102/0.3552, allocations: 1.07 MB / 362.3 MB, free: 15.98 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003465/0.3556, allocations: 96.72 kB / 362.4 MB, free: 15.88 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001572/0.3557, allocations: 35.44 kB / 362.4 MB, free: 15.85 MB / 302.1 MB Notification: Performance of SimCode: time 1.633e-06/0.3558, allocations: 0 / 362.4 MB, free: 15.85 MB / 302.1 MB Notification: Performance of Templates: time 0.01931/0.3751, allocations: 9.045 MB / 371.5 MB, free: 6.797 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1)