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.0011/0.0011, allocations: 99.86 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.001113/0.001113, allocations: 177.3 kB / 15.95 MB, free: 216 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.834/1.834, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.0007145/0.0007149, allocations: 10.81 kB / 278.9 MB, free: 12.81 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2989/0.2997, allocations: 47.59 MB / 326.5 MB, free: 1.406 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.00341/0.3031, allocations: 2.962 MB / 329.4 MB, free: 15.12 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001842/0.305, allocations: 1.026 MB / 330.5 MB, free: 14.3 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002097/0.3052, allocations: 11.69 kB / 330.5 MB, free: 14.29 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002123/0.3054, allocations: 84.17 kB / 330.6 MB, free: 14.22 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.000639/0.3061, allocations: 206.6 kB / 330.8 MB, free: 14.05 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002496/0.3063, allocations: 98.59 kB / 330.9 MB, free: 13.97 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.0007918/0.3071, allocations: 0.5765 MB / 331.4 MB, free: 13.61 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006336/0.3078, allocations: 391.8 kB / 331.8 MB, free: 13.41 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.0004338/0.3082, allocations: 282 kB / 332.1 MB, free: 13.25 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005355/0.3088, allocations: 360.8 kB / 332.4 MB, free: 13.03 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 8.65e-05/0.3089, allocations: 43.72 kB / 332.5 MB, free: 13.03 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001194/0.309, allocations: 45.78 kB / 332.5 MB, free: 13.02 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002292/0.3092, allocations: 200.5 kB / 332.7 MB, free: 12.89 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002114/0.3095, allocations: 185 kB / 332.9 MB, free: 12.77 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009246/0.3104, allocations: 0.987 MB / 333.9 MB, free: 12.05 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.3104, allocations: 0 / 333.9 MB, free: 12.05 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.926e-06/0.3104, allocations: 3.984 kB / 333.9 MB, free: 12.05 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.222e-05/0.3104, allocations: 0 / 333.9 MB, free: 12.05 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.001718/0.3122, allocations: 1.019 MB / 334.9 MB, free: 10.98 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.3122, allocations: 12.03 kB / 334.9 MB, free: 10.97 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000158/0.3124, allocations: 90.97 kB / 335 MB, free: 10.88 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008492/0.3132, allocations: 0.5759 MB / 335.6 MB, free: 10.27 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.448e-05/0.3133, allocations: 53.25 kB / 335.6 MB, free: 10.21 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001177/0.3134, allocations: 64 kB / 335.7 MB, free: 10.15 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001458/0.3149, allocations: 0.9072 MB / 336.6 MB, free: 9.219 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.144e-05/0.3149, allocations: 0 / 336.6 MB, free: 9.219 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.085e-05/0.315, allocations: 24 kB / 336.6 MB, free: 9.195 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.334e-05/0.315, allocations: 33.3 kB / 336.7 MB, free: 9.164 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00124/0.3163, allocations: 0.7897 MB / 337.5 MB, free: 8.371 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003833/0.3201, allocations: 2.811 MB / 340.3 MB, free: 5.449 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008995/0.321, allocations: 0.7455 MB / 341 MB, free: 4.641 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.02e-05/0.3211, allocations: 4.328 kB / 341 MB, free: 4.637 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006373/0.3217, allocations: 385 kB / 341.4 MB, free: 4.242 MB / 270.1 MB Notification: Performance of pre-optimization done (n=43): time 2.504e-06/0.3217, allocations: 3.938 kB / 341.4 MB, free: 4.238 MB / 270.1 MB Notification: Performance of matching and sorting (n=43): time 0.002614/0.3244, allocations: 1.206 MB / 342.6 MB, free: 3.004 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.409e-05/0.3244, allocations: 81.11 kB / 342.7 MB, free: 2.906 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006623/0.3251, allocations: 0.5644 MB / 343.2 MB, free: 2.332 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.28e-05/0.3252, allocations: 33.7 kB / 343.3 MB, free: 2.293 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003553/0.3255, allocations: 355.9 kB / 343.6 MB, free: 1.941 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001075/0.3256, allocations: 138 kB / 343.8 MB, free: 1.805 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.479e-05/0.3257, allocations: 12 kB / 343.8 MB, free: 1.793 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.3258, allocations: 362.7 kB / 344.1 MB, free: 1.43 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003711/0.3262, allocations: 233 kB / 344.4 MB, free: 1.203 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004599/0.3267, allocations: 356.9 kB / 344.7 MB, free: 0.7969 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005155/0.3272, allocations: 264.3 kB / 345 MB, free: 0.5391 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.3272, allocations: 0 / 345 MB, free: 0.5391 MB / 270.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001235/0.3285, allocations: 0.759 MB / 345.7 MB, free: 15.77 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/0.3285, allocations: 8 kB / 345.7 MB, free: 15.76 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.3285, allocations: 4 kB / 345.7 MB, free: 15.75 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005191/0.3291, allocations: 204.9 kB / 345.9 MB, free: 15.55 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003262/0.3294, allocations: 83.89 kB / 346 MB, free: 15.47 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003411/0.3328, allocations: 2.729 MB / 348.7 MB, free: 12.61 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004056/0.3332, allocations: 59.7 kB / 348.8 MB, free: 12.55 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.429e-05/0.3333, allocations: 16 kB / 348.8 MB, free: 12.53 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.0006775/0.334, allocations: 325.4 kB / 349.1 MB, free: 12.2 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/0.3341, allocations: 59.3 kB / 349.2 MB, free: 12.14 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001427/0.3342, allocations: 69.27 kB / 349.3 MB, free: 12.08 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.3342, allocations: 4 kB / 349.3 MB, free: 12.07 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.3343, allocations: 4 kB / 349.3 MB, free: 12.07 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.3343, allocations: 0 / 349.3 MB, free: 12.07 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002539/0.3368, allocations: 1.541 MB / 350.8 MB, free: 10.47 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.3368, allocations: 96 / 350.8 MB, free: 10.47 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002519/0.3371, allocations: 47.97 kB / 350.9 MB, free: 10.42 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004684/0.3376, allocations: 196.8 kB / 351 MB, free: 10.23 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.54e-05/0.3376, allocations: 11.98 kB / 351.1 MB, free: 10.21 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00297/0.3406, allocations: 2.717 MB / 353.8 MB, free: 7.371 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.3406, allocations: 0 / 353.8 MB, free: 7.371 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001719/0.3424, allocations: 1.121 MB / 354.9 MB, free: 6.227 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003353/0.3427, allocations: 196.3 kB / 355.1 MB, free: 6.016 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.287e-05/0.3428, allocations: 12 kB / 355.1 MB, free: 6.004 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002772/0.3431, allocations: 27.97 kB / 355.1 MB, free: 5.977 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001317/0.3432, allocations: 47.86 kB / 355.2 MB, free: 5.93 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.941e-05/0.3432, allocations: 19.94 kB / 355.2 MB, free: 5.91 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0004768/0.3437, allocations: 406.8 kB / 355.6 MB, free: 5.516 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3437, allocations: 0 / 355.6 MB, free: 5.516 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0007729/0.3445, allocations: 211.3 kB / 355.8 MB, free: 5.309 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.0001745/0.3447, allocations: 119.2 kB / 355.9 MB, free: 5.18 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001217/0.3459, allocations: 0.7441 MB / 356.7 MB, free: 4.422 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.3459, allocations: 0 / 356.7 MB, free: 4.422 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006737/0.3466, allocations: 483.4 kB / 357.1 MB, free: 3.938 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005941/0.3472, allocations: 134.7 kB / 357.3 MB, free: 3.809 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002761/0.35, allocations: 1.753 MB / 359 MB, free: 2.031 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006659/0.3507, allocations: 1.086 MB / 360.1 MB, free: 0.918 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002958/0.351, allocations: 96.73 kB / 360.2 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.614e-05/0.3511, allocations: 35.44 kB / 360.2 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3511, allocations: 0 / 360.2 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of Templates: time 0.0149/0.366, allocations: 9.053 MB / 369.3 MB, free: 7.723 MB / 302.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: