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.001351/0.001351, allocations: 96.66 kB / 16.3 MB, free: 5.992 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.001736/0.001737, allocations: 187.7 kB / 17.2 MB, free: 5.91 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.935/1.935, allocations: 205.4 MB / 223.4 MB, free: 5.547 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.000674/0.000674, allocations: 10.81 kB / 280.1 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3867/0.3874, allocations: 47.59 MB / 327.7 MB, free: 1.621 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.004193/0.3917, allocations: 2.966 MB / 330.7 MB, free: 15.33 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001981/0.3937, allocations: 1.018 MB / 331.7 MB, free: 14.52 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002251/0.394, allocations: 11.84 kB / 331.7 MB, free: 14.51 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000228/0.3942, allocations: 85.36 kB / 331.8 MB, free: 14.44 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.0006854/0.3949, allocations: 206.4 kB / 332 MB, free: 14.27 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002646/0.3952, allocations: 97.86 kB / 332.1 MB, free: 14.19 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 NFFlatten.flatten: time 0.0008215/0.396, allocations: 0.578 MB / 332.7 MB, free: 13.82 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006363/0.3967, allocations: 398.1 kB / 333.1 MB, free: 13.62 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 NFEvalConstants.evaluate: time 0.0004032/0.3971, allocations: 283 kB / 333.3 MB, free: 13.46 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005325/0.3976, allocations: 352.5 kB / 333.7 MB, free: 13.25 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 8.648e-05/0.3977, allocations: 47.41 kB / 333.7 MB, free: 13.24 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001099/0.3978, allocations: 41.59 kB / 333.8 MB, free: 13.24 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002218/0.3981, allocations: 204.7 kB / 334 MB, free: 13.1 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001911/0.3983, allocations: 180.7 kB / 334.2 MB, free: 12.99 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009282/0.3992, allocations: 0.9937 MB / 335.1 MB, free: 12.2 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3992, allocations: 4 kB / 335.1 MB, free: 12.2 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3992, allocations: 0 / 335.1 MB, free: 12.2 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.154e-05/0.3992, allocations: 0 / 335.1 MB, free: 12.2 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.001866/0.4011, allocations: 1.014 MB / 336.2 MB, free: 11.13 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.871e-05/0.4012, allocations: 12.03 kB / 336.2 MB, free: 11.12 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001817/0.4014, allocations: 90.97 kB / 336.3 MB, free: 11.03 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001034/0.4024, allocations: 0.5797 MB / 336.8 MB, free: 10.41 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.173e-05/0.4025, allocations: 57.25 kB / 336.9 MB, free: 10.35 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000114/0.4026, allocations: 60 kB / 337 MB, free: 10.29 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001491/0.4041, allocations: 0.9111 MB / 337.9 MB, free: 9.359 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.297e-05/0.4041, allocations: 0 / 337.9 MB, free: 9.359 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.149e-05/0.4042, allocations: 20 kB / 337.9 MB, free: 9.34 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.712e-05/0.4043, allocations: 37.3 kB / 337.9 MB, free: 9.305 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001324/0.4056, allocations: 0.7897 MB / 338.7 MB, free: 8.512 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004055/0.4097, allocations: 2.807 MB / 341.5 MB, free: 5.594 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009339/0.4106, allocations: 0.7417 MB / 342.3 MB, free: 4.789 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.558e-05/0.4107, allocations: 8.312 kB / 342.3 MB, free: 4.781 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006118/0.4113, allocations: 381.1 kB / 342.6 MB, free: 4.391 MB / 270.1 MB Notification: Performance of pre-optimization done (n=43): time 1.923e-06/0.4113, allocations: 0 / 342.6 MB, free: 4.391 MB / 270.1 MB Notification: Performance of matching and sorting (n=43): time 0.00265/0.414, allocations: 1.202 MB / 343.8 MB, free: 3.16 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.376e-05/0.4141, allocations: 89.05 kB / 343.9 MB, free: 3.055 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007291/0.4148, allocations: 0.5566 MB / 344.5 MB, free: 2.488 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.802e-05/0.4148, allocations: 45.64 kB / 344.5 MB, free: 2.438 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002966/0.4152, allocations: 351.9 kB / 344.9 MB, free: 2.09 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/0.4153, allocations: 138.1 kB / 345 MB, free: 1.953 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.864e-05/0.4153, allocations: 12 kB / 345 MB, free: 1.941 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001947/0.4155, allocations: 362.7 kB / 345.4 MB, free: 1.578 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003862/0.4159, allocations: 232.9 kB / 345.6 MB, free: 1.352 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000514/0.4164, allocations: 356.9 kB / 346 MB, free: 0.9453 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005494/0.417, allocations: 264.3 kB / 346.2 MB, free: 0.6875 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.417, allocations: 0 / 346.2 MB, free: 0.6875 MB / 270.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001266/0.4183, allocations: 0.763 MB / 347 MB, free: 15.91 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.713e-05/0.4183, allocations: 8 kB / 347 MB, free: 15.91 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/0.4184, allocations: 4 kB / 347 MB, free: 15.9 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000583/0.4189, allocations: 208.7 kB / 347.2 MB, free: 15.7 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003496/0.4193, allocations: 75.89 kB / 347.3 MB, free: 15.62 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003491/0.4228, allocations: 2.741 MB / 350 MB, free: 12.74 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003711/0.4232, allocations: 51.7 kB / 350.1 MB, free: 12.69 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.375e-05/0.4232, allocations: 16 kB / 350.1 MB, free: 12.68 MB / 286.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: 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.0005173/0.4238, allocations: 333.4 kB / 350.4 MB, free: 12.34 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.935e-05/0.4238, allocations: 59.3 kB / 350.5 MB, free: 12.28 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001238/0.424, allocations: 65.27 kB / 350.5 MB, free: 12.22 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.424, allocations: 4 kB / 350.5 MB, free: 12.21 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.424, allocations: 4 kB / 350.5 MB, free: 12.21 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.424, allocations: 0 / 350.5 MB, free: 12.21 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002425/0.4264, allocations: 1.537 MB / 352.1 MB, free: 10.61 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.4265, allocations: 0 / 352.1 MB, free: 10.61 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002678/0.4267, allocations: 55.91 kB / 352.1 MB, free: 10.56 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004377/0.4272, allocations: 200.9 kB / 352.3 MB, free: 10.36 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.667e-05/0.4272, allocations: 11.98 kB / 352.3 MB, free: 10.35 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00324/0.4305, allocations: 2.709 MB / 355 MB, free: 7.512 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.4305, allocations: 0 / 355 MB, free: 7.512 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001686/0.4322, allocations: 1.125 MB / 356.2 MB, free: 6.363 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003059/0.4325, allocations: 192.3 kB / 356.3 MB, free: 6.156 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.749e-05/0.4326, allocations: 16 kB / 356.4 MB, free: 6.141 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002749/0.4329, allocations: 23.97 kB / 356.4 MB, free: 6.117 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001347/0.433, allocations: 51.92 kB / 356.4 MB, free: 6.066 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.852e-05/0.4331, allocations: 8 kB / 356.4 MB, free: 6.059 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0005512/0.4336, allocations: 414.8 kB / 356.8 MB, free: 5.656 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.4336, allocations: 0 / 356.8 MB, free: 5.656 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0008887/0.4345, allocations: 211.3 kB / 357.1 MB, free: 5.449 MB / 286.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: 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.0002313/0.4348, allocations: 115.2 kB / 357.2 MB, free: 5.324 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001575/0.4363, allocations: 0.7444 MB / 357.9 MB, free: 4.566 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.4364, allocations: 3.938 kB / 357.9 MB, free: 4.562 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007367/0.4371, allocations: 474.9 kB / 358.4 MB, free: 4.086 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006347/0.4378, allocations: 146.8 kB / 358.5 MB, free: 3.945 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003387/0.4411, allocations: 1.745 MB / 360.3 MB, free: 2.176 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009374/0.4421, allocations: 1.086 MB / 361.4 MB, free: 1.062 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002968/0.4424, allocations: 96.72 kB / 361.4 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/0.4425, allocations: 35.44 kB / 361.5 MB, free: 0.9297 MB / 286.1 MB Notification: Performance of SimCode: time 4.8e-07/0.4425, allocations: 0 / 361.5 MB, free: 0.9297 MB / 286.1 MB Notification: Performance of Templates: time 0.0193/0.4618, allocations: 9.053 MB / 370.5 MB, free: 7.867 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: