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.001167/0.001166, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.008399/0.0084, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.941/1.941, allocations: 205.4 MB / 222.4 MB, free: 5.574 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.0006072/0.0006073, allocations: 14.81 kB / 279.5 MB, free: 12.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3946/0.3952, allocations: 47.58 MB / 327.1 MB, free: 1.402 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.004335/0.3996, allocations: 3.261 MB / 330.3 MB, free: 14.84 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002387/0.4021, allocations: 1.014 MB / 331.3 MB, free: 14.02 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003733/0.4025, allocations: 16.16 kB / 331.3 MB, free: 14.01 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000261/0.4027, allocations: 82.77 kB / 331.4 MB, free: 13.94 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007654/0.4035, allocations: 209.2 kB / 331.6 MB, free: 13.78 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003506/0.4039, allocations: 126.4 kB / 331.8 MB, free: 13.67 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001225/0.4051, allocations: 1.076 MB / 332.8 MB, free: 13.05 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006729/0.4058, allocations: 473.7 kB / 333.3 MB, free: 12.82 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004634/0.4063, allocations: 306.3 kB / 333.6 MB, free: 12.66 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00063/0.4069, allocations: 425.3 kB / 334 MB, free: 12.39 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.723e-05/0.407, allocations: 44 kB / 334 MB, free: 12.35 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001154/0.4071, allocations: 48 kB / 334.1 MB, free: 12.3 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001961/0.4073, allocations: 203.2 kB / 334.3 MB, free: 12.1 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004168/0.4077, allocations: 427.5 kB / 334.7 MB, free: 11.68 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001182/0.4089, allocations: 1.177 MB / 335.9 MB, free: 10.5 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.409, allocations: 0 / 335.9 MB, free: 10.5 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.577e-06/0.409, allocations: 4 kB / 335.9 MB, free: 10.49 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.729e-05/0.409, allocations: 0 / 335.9 MB, free: 10.49 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.001898/0.4109, allocations: 1.018 MB / 336.9 MB, free: 9.422 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.411, allocations: 12.03 kB / 336.9 MB, free: 9.41 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000168/0.4111, allocations: 91.91 kB / 337 MB, free: 9.32 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008026/0.4119, allocations: 0.5885 MB / 337.6 MB, free: 8.691 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.644e-05/0.412, allocations: 53.25 kB / 337.6 MB, free: 8.637 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/0.4121, allocations: 64 kB / 337.7 MB, free: 8.574 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001542/0.4137, allocations: 0.915 MB / 338.6 MB, free: 7.637 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.507e-05/0.4137, allocations: 3.906 kB / 338.6 MB, free: 7.633 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.413e-05/0.4138, allocations: 31.98 kB / 338.7 MB, free: 7.602 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.507e-05/0.4138, allocations: 25.31 kB / 338.7 MB, free: 7.578 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001312/0.4152, allocations: 0.8014 MB / 339.5 MB, free: 6.773 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004212/0.4194, allocations: 2.807 MB / 342.3 MB, free: 3.855 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001033/0.4204, allocations: 0.7605 MB / 343.1 MB, free: 3.031 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006001/0.421, allocations: 345.3 kB / 343.4 MB, free: 2.691 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.409e-05/0.4211, allocations: 8.328 kB / 343.4 MB, free: 2.684 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006158/0.4217, allocations: 397.6 kB / 343.8 MB, free: 2.273 MB / 270.1 MB Notification: Performance of pre-optimization done (n=43): time 2.765e-06/0.4217, allocations: 0 / 343.8 MB, free: 2.273 MB / 270.1 MB Notification: Performance of matching and sorting (n=43): time 0.002734/0.4245, allocations: 1.201 MB / 345 MB, free: 1.043 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.666e-05/0.4246, allocations: 114.8 kB / 345.1 MB, free: 0.9062 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00076/0.4253, allocations: 0.5644 MB / 345.7 MB, free: 340 kB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 6.635e-05/0.4254, allocations: 41.69 kB / 345.7 MB, free: 292 kB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004123/0.4258, allocations: 348 kB / 346 MB, free: 15.94 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001497/0.426, allocations: 142 kB / 346.2 MB, free: 15.8 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.423e-05/0.4261, allocations: 49.69 kB / 346.2 MB, free: 15.74 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002649/0.4264, allocations: 366.8 kB / 346.6 MB, free: 15.38 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004351/0.4268, allocations: 228.9 kB / 346.8 MB, free: 15.15 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000549/0.4274, allocations: 361.8 kB / 347.2 MB, free: 14.74 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000977/0.4284, allocations: 0.578 MB / 347.7 MB, free: 14.11 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.049e-05/0.4284, allocations: 7.922 kB / 347.8 MB, free: 14.1 MB / 286.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.00138/0.4298, allocations: 0.7548 MB / 348.5 MB, free: 13.33 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.392e-05/0.4298, allocations: 8 kB / 348.5 MB, free: 13.32 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/0.4298, allocations: 4 kB / 348.5 MB, free: 13.32 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006361/0.4305, allocations: 209 kB / 348.7 MB, free: 13.11 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003319/0.4308, allocations: 75.89 kB / 348.8 MB, free: 13.04 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003166/0.434, allocations: 2.67 MB / 351.5 MB, free: 10.23 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005109/0.4345, allocations: 63.61 kB / 351.5 MB, free: 10.17 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.102e-05/0.4346, allocations: 20 kB / 351.6 MB, free: 10.15 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 (meanVoltage.y,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,rectifier.diode.idealDiode[3].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[1].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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0005996/0.4352, allocations: 329.5 kB / 351.9 MB, free: 9.82 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.066e-05/0.4353, allocations: 55.34 kB / 351.9 MB, free: 9.766 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001461/0.4354, allocations: 73.2 kB / 352 MB, free: 9.691 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.4354, allocations: 8 kB / 352 MB, free: 9.684 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.4355, allocations: 4 kB / 352 MB, free: 9.68 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.4355, allocations: 0 / 352 MB, free: 9.68 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002632/0.4381, allocations: 1.631 MB / 353.6 MB, free: 7.984 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.4381, allocations: 0 / 353.6 MB, free: 7.984 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002321/0.4384, allocations: 47.91 kB / 353.7 MB, free: 7.938 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004415/0.4388, allocations: 204.9 kB / 353.9 MB, free: 7.734 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.037e-05/0.4389, allocations: 15.98 kB / 353.9 MB, free: 7.719 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003223/0.4421, allocations: 2.651 MB / 356.6 MB, free: 4.934 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.4421, allocations: 0 / 356.6 MB, free: 4.934 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00186/0.444, allocations: 1.119 MB / 357.7 MB, free: 3.789 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003178/0.4443, allocations: 196.3 kB / 357.9 MB, free: 3.578 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.546e-05/0.4444, allocations: 8 kB / 357.9 MB, free: 3.57 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002944/0.4447, allocations: 31.97 kB / 357.9 MB, free: 3.539 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001851/0.4449, allocations: 47.92 kB / 358 MB, free: 3.492 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.556e-05/0.445, allocations: 12 kB / 358 MB, free: 3.48 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0006495/0.4456, allocations: 422.7 kB / 358.4 MB, free: 3.07 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4456, allocations: 0 / 358.4 MB, free: 3.07 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000886/0.4465, allocations: 203.3 kB / 358.6 MB, free: 2.871 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001946/0.4467, allocations: 115.2 kB / 358.7 MB, free: 2.746 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001335/0.4481, allocations: 0.7483 MB / 359.4 MB, free: 1.984 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4481, allocations: 0 / 359.4 MB, free: 1.984 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007664/0.4489, allocations: 474.5 kB / 359.9 MB, free: 1.508 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008025/0.4497, allocations: 146 kB / 360 MB, free: 1.367 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003159/0.4529, allocations: 1.826 MB / 361.9 MB, free: 15.51 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007327/0.4536, allocations: 1.066 MB / 362.9 MB, free: 14.42 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003003/0.4539, allocations: 92.72 kB / 363 MB, free: 14.33 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001/0.454, allocations: 39.42 kB / 363.1 MB, free: 14.29 MB / 302.1 MB Notification: Performance of SimCode: time 1.262e-06/0.454, allocations: 0 / 363.1 MB, free: 14.29 MB / 302.1 MB Notification: Performance of Templates: time 0.01742/0.4715, allocations: 9.283 MB / 372.3 MB, free: 5 MB / 302.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile (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)