Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 94.14 kB / 16.3 MB, free: 5.996 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.001183/0.001183, allocations: 183.6 kB / 17.2 MB, free: 5.914 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.726/1.726, allocations: 205.4 MB / 223.4 MB, free: 5.551 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.0007149/0.0007153, allocations: 12 kB / 280.1 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3847/0.3854, allocations: 47.58 MB / 327.7 MB, free: 1.598 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.006281/0.3917, allocations: 3.678 MB / 331.4 MB, free: 14.76 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003529/0.3953, allocations: 1.254 MB / 332.6 MB, free: 13.74 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005232/0.3959, allocations: 19.56 kB / 332.7 MB, free: 13.73 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003369/0.3962, allocations: 138 kB / 332.8 MB, free: 13.61 MB / 270.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Electrical/PowerConverters.mo:5531:20-5531:43:writable] Warning: 'each' used when modifying non-array element diode_p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Electrical/PowerConverters.mo:5542:20-5542:43:writable] Warning: 'each' used when modifying non-array element diode_n. Notification: Performance of NFTyping.typeBindings: time 0.001156/0.3974, allocations: 298.2 kB / 333.1 MB, free: 13.37 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004511/0.3979, allocations: 121.2 kB / 333.2 MB, free: 13.27 MB / 270.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Electrical/PowerConverters.mo:5531:20-5531:43:writable] Warning: 'each' used when modifying non-array element diode_p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Electrical/PowerConverters.mo:5542:20-5542:43:writable] Warning: 'each' used when modifying non-array element diode_n. Notification: Performance of NFFlatten.flatten: time 0.001441/0.3993, allocations: 0.9709 MB / 334.2 MB, free: 12.65 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001137/0.4005, allocations: 0.6788 MB / 334.9 MB, free: 12.31 MB / 270.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Electrical/PowerConverters.mo:5531:20-5531:43:writable] Warning: 'each' used when modifying non-array element diode_p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Electrical/PowerConverters.mo:5542:20-5542:43:writable] Warning: 'each' used when modifying non-array element diode_n. Notification: Performance of NFEvalConstants.evaluate: time 0.001028/0.4015, allocations: 489.1 kB / 335.3 MB, free: 12 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009033/0.4024, allocations: 0.607 MB / 335.9 MB, free: 11.39 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001249/0.4026, allocations: 76 kB / 336 MB, free: 11.31 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000177/0.4027, allocations: 72 kB / 336.1 MB, free: 11.24 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003049/0.4031, allocations: 335 kB / 336.4 MB, free: 10.91 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002835/0.4033, allocations: 293 kB / 336.7 MB, free: 10.62 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001541/0.4049, allocations: 1.761 MB / 338.5 MB, free: 8.855 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.4049, allocations: 4 kB / 338.5 MB, free: 8.852 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.4049, allocations: 0 / 338.5 MB, free: 8.852 MB / 270.1 MB Notification: Performance of Transformations before backend: time 2.593e-05/0.4049, allocations: 4 kB / 338.5 MB, free: 8.848 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: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.003017/0.408, allocations: 1.537 MB / 340 MB, free: 7.258 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.268e-05/0.408, allocations: 12.03 kB / 340 MB, free: 7.246 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002863/0.4083, allocations: 146.2 kB / 340.2 MB, free: 7.102 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001575/0.4099, allocations: 0.8871 MB / 341 MB, free: 6.168 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.704e-05/0.41, allocations: 81.97 kB / 341.1 MB, free: 6.086 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001594/0.4102, allocations: 100 kB / 341.2 MB, free: 5.988 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002672/0.4128, allocations: 1.541 MB / 342.8 MB, free: 4.391 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.696e-05/0.4129, allocations: 4 kB / 342.8 MB, free: 4.387 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001112/0.413, allocations: 40 kB / 342.8 MB, free: 4.348 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.373e-05/0.4131, allocations: 46.03 kB / 342.9 MB, free: 4.301 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002284/0.4154, allocations: 1.44 MB / 344.3 MB, free: 2.852 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00729/0.4227, allocations: 4.969 MB / 349.3 MB, free: 13.7 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001666/0.4244, allocations: 1.464 MB / 350.7 MB, free: 12.12 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.177e-05/0.4244, allocations: 4.562 kB / 350.7 MB, free: 12.12 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001007/0.4254, allocations: 0.6201 MB / 351.4 MB, free: 11.48 MB / 286.1 MB Notification: Performance of pre-optimization done (n=72): time 3.316e-06/0.4255, allocations: 0 / 351.4 MB, free: 11.48 MB / 286.1 MB Notification: Performance of matching and sorting (n=72): time 0.00574/0.4312, allocations: 2.424 MB / 353.8 MB, free: 9.027 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.434e-05/0.4313, allocations: 85.77 kB / 353.9 MB, free: 8.926 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001268/0.4326, allocations: 0.9305 MB / 354.8 MB, free: 7.984 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.331e-05/0.4326, allocations: 41.7 kB / 354.8 MB, free: 7.938 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004955/0.4331, allocations: 0.5192 MB / 355.4 MB, free: 7.41 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002165/0.4334, allocations: 232.6 kB / 355.6 MB, free: 7.18 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.91e-05/0.4334, allocations: 16 kB / 355.6 MB, free: 7.164 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.4336, allocations: 330 kB / 355.9 MB, free: 6.836 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006606/0.4342, allocations: 425.7 kB / 356.3 MB, free: 6.418 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008137/0.4351, allocations: 0.5563 MB / 356.9 MB, free: 5.809 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007103/0.4358, allocations: 457.9 kB / 357.3 MB, free: 5.359 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.4358, allocations: 3.938 kB / 357.3 MB, free: 5.355 MB / 286.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002013/0.4378, allocations: 1.3 MB / 358.6 MB, free: 4.043 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.4378, allocations: 4 kB / 358.6 MB, free: 4.039 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.938e-06/0.4379, allocations: 4 kB / 358.6 MB, free: 4.035 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008602/0.4387, allocations: 414.5 kB / 359.1 MB, free: 3.629 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000451/0.4392, allocations: 115.8 kB / 359.2 MB, free: 3.516 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004943/0.4441, allocations: 4.247 MB / 363.4 MB, free: 15.13 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006395/0.4448, allocations: 87.45 kB / 363.5 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.026e-05/0.4449, allocations: 24 kB / 363.5 MB, free: 15.02 MB / 302.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: 15 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * 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 {6 22} Notification: Performance of prepare postOptimizeDAE: time 0.0007524/0.4456, allocations: 495.1 kB / 364 MB, free: 14.53 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001292/0.4458, allocations: 98.92 kB / 364.1 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002117/0.446, allocations: 120.5 kB / 364.2 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.446, allocations: 4 kB / 364.2 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.446, allocations: 0 / 364.2 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/0.446, allocations: 11.97 kB / 364.2 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003689/0.4497, allocations: 2.581 MB / 366.8 MB, free: 11.65 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.4497, allocations: 0 / 366.8 MB, free: 11.65 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004104/0.4502, allocations: 91.88 kB / 366.9 MB, free: 11.56 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007834/0.451, allocations: 393.3 kB / 367.3 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.338e-05/0.451, allocations: 19.92 kB / 367.3 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004824/0.4558, allocations: 4.209 MB / 371.5 MB, free: 6.809 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.4559, allocations: 4 kB / 371.5 MB, free: 6.805 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003005/0.4589, allocations: 1.985 MB / 373.5 MB, free: 4.797 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005941/0.4595, allocations: 287.7 kB / 373.8 MB, free: 4.496 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002179/0.4597, allocations: 16 kB / 373.8 MB, free: 4.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005336/0.4603, allocations: 47.95 kB / 373.9 MB, free: 4.434 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002027/0.4605, allocations: 76.53 kB / 373.9 MB, free: 4.359 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.941e-05/0.4606, allocations: 27.98 kB / 374 MB, free: 4.332 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0009972/0.4616, allocations: 0.6629 MB / 374.6 MB, free: 3.676 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4616, allocations: 4 kB / 374.6 MB, free: 3.672 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001146/0.4627, allocations: 342.9 kB / 375 MB, free: 3.336 MB / 302.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: 12 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.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 (45): * Single equations (assignments): 41 * 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 {6 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001921/0.4629, allocations: 123 kB / 375.1 MB, free: 3.207 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00234/0.4653, allocations: 1.292 MB / 376.4 MB, free: 1.898 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.4653, allocations: 0 / 376.4 MB, free: 1.898 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001478/0.4668, allocations: 0.8107 MB / 377.2 MB, free: 1.074 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001381/0.4682, allocations: 231.2 kB / 377.4 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005424/0.4736, allocations: 3.07 MB / 380.5 MB, free: 13.75 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001177/0.4748, allocations: 1.407 MB / 381.9 MB, free: 12.31 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006185/0.4755, allocations: 175.2 kB / 382.1 MB, free: 12.13 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002218/0.4757, allocations: 59.42 kB / 382.1 MB, free: 12.08 MB / 318.1 MB Notification: Performance of SimCode: time 1.322e-06/0.4757, allocations: 0 / 382.1 MB, free: 12.08 MB / 318.1 MB Notification: Performance of Templates: time 0.02934/0.5051, allocations: 16.37 MB / 398.5 MB, free: 11.68 MB / 334.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) Environment - environmentSimulation: