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.001257/0.001257, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001323/0.001323, allocations: 194.4 kB / 16.25 MB, free: 6.625 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.1 MB / 222.1 MB, free: 4.703 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.001407/0.001407, allocations: 51.92 kB / 278.2 MB, free: 12.64 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.381/0.3824, allocations: 46.63 MB / 324.9 MB, free: 2.141 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.004869/0.3873, allocations: 3.654 MB / 328.5 MB, free: 15.27 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00225/0.3896, allocations: 1.025 MB / 329.5 MB, free: 14.45 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002634/0.3899, allocations: 16.53 kB / 329.6 MB, free: 14.44 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002691/0.3902, allocations: 83.22 kB / 329.6 MB, free: 14.37 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007362/0.391, allocations: 210 kB / 329.8 MB, free: 14.21 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002916/0.3913, allocations: 121.7 kB / 330 MB, free: 14.11 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.00102/0.3923, allocations: 0.9624 MB / 330.9 MB, free: 13.54 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000681/0.393, allocations: 0.5555 MB / 331.5 MB, free: 13.26 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005228/0.3935, allocations: 405 kB / 331.9 MB, free: 13.03 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006606/0.3942, allocations: 0.4903 MB / 332.4 MB, free: 12.71 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001313/0.3943, allocations: 99.25 kB / 332.5 MB, free: 12.61 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001523/0.3945, allocations: 100 kB / 332.6 MB, free: 12.52 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002512/0.3948, allocations: 287.1 kB / 332.8 MB, free: 12.23 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004471/0.3952, allocations: 473.8 kB / 333.3 MB, free: 11.77 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001052/0.3963, allocations: 1.255 MB / 334.6 MB, free: 10.51 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.726e-06/0.3963, allocations: 8 kB / 334.6 MB, free: 10.5 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3963, allocations: 0 / 334.6 MB, free: 10.5 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.322e-05/0.3963, allocations: 0 / 334.6 MB, free: 10.5 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.002054/0.3984, allocations: 1.146 MB / 335.7 MB, free: 9.305 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.3984, allocations: 12.03 kB / 335.7 MB, free: 9.293 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001574/0.3986, allocations: 87.91 kB / 335.8 MB, free: 9.207 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007557/0.3994, allocations: 0.604 MB / 336.4 MB, free: 8.562 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.483e-05/0.3994, allocations: 57.23 kB / 336.5 MB, free: 8.504 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/0.3995, allocations: 64 kB / 336.5 MB, free: 8.441 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001424/0.401, allocations: 0.9033 MB / 337.4 MB, free: 7.516 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.166e-05/0.401, allocations: 0 / 337.4 MB, free: 7.516 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.82e-05/0.4011, allocations: 31.98 kB / 337.5 MB, free: 7.484 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.014e-05/0.4011, allocations: 33.3 kB / 337.5 MB, free: 7.453 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001263/0.4024, allocations: 0.7858 MB / 338.3 MB, free: 6.664 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003798/0.4062, allocations: 2.784 MB / 341.1 MB, free: 3.773 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008987/0.4071, allocations: 0.745 MB / 341.8 MB, free: 2.965 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005613/0.4077, allocations: 341.3 kB / 342.2 MB, free: 2.629 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.937e-05/0.4077, allocations: 12.33 kB / 342.2 MB, free: 2.617 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006144/0.4084, allocations: 385.7 kB / 342.5 MB, free: 2.219 MB / 270.1 MB Notification: Performance of pre-optimization done (n=43): time 2.214e-06/0.4084, allocations: 0 / 342.5 MB, free: 2.219 MB / 270.1 MB Notification: Performance of matching and sorting (n=43): time 0.002688/0.4111, allocations: 1.181 MB / 343.7 MB, free: 1.008 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.815e-05/0.4112, allocations: 110.8 kB / 343.8 MB, free: 0.875 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006689/0.4118, allocations: 0.5683 MB / 344.4 MB, free: 304 kB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 5.347e-05/0.4119, allocations: 37.7 kB / 344.4 MB, free: 260 kB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003046/0.4122, allocations: 348.1 kB / 344.8 MB, free: 15.91 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001217/0.4123, allocations: 142 kB / 344.9 MB, free: 15.77 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001434/0.4125, allocations: 90.16 kB / 345 MB, free: 15.67 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001733/0.4127, allocations: 370.8 kB / 345.4 MB, free: 15.3 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003544/0.413, allocations: 216.9 kB / 345.6 MB, free: 15.09 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004542/0.4135, allocations: 361.8 kB / 345.9 MB, free: 14.68 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007931/0.4143, allocations: 0.5624 MB / 346.5 MB, free: 14.06 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.653e-06/0.4143, allocations: 7.938 kB / 346.5 MB, free: 14.05 MB / 286.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001249/0.4156, allocations: 0.7547 MB / 347.3 MB, free: 13.29 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/0.4156, allocations: 8 kB / 347.3 MB, free: 13.28 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.4156, allocations: 7.938 kB / 347.3 MB, free: 13.27 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004982/0.4161, allocations: 205.2 kB / 347.5 MB, free: 13.07 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003089/0.4165, allocations: 75.89 kB / 347.5 MB, free: 12.99 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003318/0.4198, allocations: 2.928 MB / 350.5 MB, free: 9.922 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004311/0.4202, allocations: 51.64 kB / 350.5 MB, free: 9.871 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.335e-05/0.4203, allocations: 20 kB / 350.5 MB, free: 9.852 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.0005623/0.4209, allocations: 325.6 kB / 350.9 MB, free: 9.523 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.198e-05/0.421, allocations: 55.34 kB / 350.9 MB, free: 9.469 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001372/0.4211, allocations: 65.27 kB / 351 MB, free: 9.402 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.4211, allocations: 11.94 kB / 351 MB, free: 9.391 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.4211, allocations: 0 / 351 MB, free: 9.391 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.856e-06/0.4211, allocations: 7.922 kB / 351 MB, free: 9.383 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002422/0.4236, allocations: 1.623 MB / 352.6 MB, free: 7.695 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.4236, allocations: 0 / 352.6 MB, free: 7.695 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002407/0.4238, allocations: 51.91 kB / 352.7 MB, free: 7.645 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004477/0.4243, allocations: 204.9 kB / 352.9 MB, free: 7.441 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.104e-05/0.4243, allocations: 4 kB / 352.9 MB, free: 7.438 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003148/0.4275, allocations: 2.911 MB / 355.8 MB, free: 4.395 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.4275, allocations: 7.938 kB / 355.8 MB, free: 4.387 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001778/0.4293, allocations: 1.104 MB / 356.9 MB, free: 3.258 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003075/0.4296, allocations: 196.3 kB / 357.1 MB, free: 3.047 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.808e-05/0.4297, allocations: 11.98 kB / 357.1 MB, free: 3.035 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002913/0.43, allocations: 27.97 kB / 357.1 MB, free: 3.008 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001495/0.4302, allocations: 43.94 kB / 357.2 MB, free: 2.965 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.392e-05/0.4302, allocations: 15.94 kB / 357.2 MB, free: 2.949 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0005774/0.4308, allocations: 414.8 kB / 357.6 MB, free: 2.547 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4308, allocations: 0 / 357.6 MB, free: 2.547 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000807/0.4316, allocations: 207.3 kB / 357.8 MB, free: 2.344 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.0001995/0.4318, allocations: 123.2 kB / 357.9 MB, free: 2.211 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001502/0.4333, allocations: 0.7762 MB / 358.7 MB, free: 1.422 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.4333, allocations: 4.062 kB / 358.7 MB, free: 1.418 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000684/0.434, allocations: 482 kB / 359.2 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007201/0.4348, allocations: 158.2 kB / 359.3 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002846/0.4376, allocations: 1.793 MB / 361.1 MB, free: 14.96 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006848/0.4383, allocations: 1.066 MB / 362.2 MB, free: 13.86 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003583/0.4387, allocations: 96.72 kB / 362.3 MB, free: 13.77 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001154/0.4388, allocations: 39.44 kB / 362.3 MB, free: 13.73 MB / 302.1 MB Notification: Performance of SimCode: time 8.62e-07/0.4388, allocations: 0 / 362.3 MB, free: 13.73 MB / 302.1 MB Notification: Performance of Templates: time 0.01976/0.4586, allocations: 9.842 MB / 372.2 MB, free: 3.875 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)