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.001267/0.001267, allocations: 104.9 kB / 17.06 MB, free: 6.027 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.001491/0.001491, allocations: 195 kB / 17.99 MB, free: 5.109 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.504/1.504, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.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.001524/0.001524, allocations: 55.92 kB / 327.9 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1156, allocations: 46.61 MB / 374.5 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.006881/0.1226, allocations: 4.499 MB / 379 MB, free: 40 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2082/0.3309, allocations: 1.271 MB / 380.3 MB, free: 9.691 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003997/0.3313, allocations: 19.19 kB / 380.3 MB, free: 9.691 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003657/0.3317, allocations: 161.3 kB / 380.4 MB, free: 9.672 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00103/0.3328, allocations: 350.1 kB / 380.8 MB, free: 9.562 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004466/0.3332, allocations: 194.6 kB / 381 MB, free: 9.551 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001825/0.3351, allocations: 1.615 MB / 382.6 MB, free: 9.219 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0012/0.3363, allocations: 0.9344 MB / 383.5 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001241/0.3375, allocations: 0.6742 MB / 384.2 MB, free: 8.574 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001484/0.339, allocations: 0.8406 MB / 385 MB, free: 8.199 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003078/0.3394, allocations: 174.6 kB / 385.2 MB, free: 8.199 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003835/0.3398, allocations: 174.6 kB / 385.4 MB, free: 8.199 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004242/0.3402, allocations: 478 kB / 385.8 MB, free: 7.941 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008141/0.341, allocations: 0.7868 MB / 386.6 MB, free: 7.434 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002282/0.3433, allocations: 2.237 MB / 388.9 MB, free: 6.656 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.3433, allocations: 9.438 kB / 388.9 MB, free: 6.648 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3433, allocations: 0 / 388.9 MB, free: 6.648 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.118e-05/0.3434, allocations: 0 / 388.9 MB, free: 6.648 MB / 318.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.004189/0.3476, allocations: 1.753 MB / 390.6 MB, free: 5.57 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.3477, allocations: 10.03 kB / 390.6 MB, free: 5.57 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000362/0.348, allocations: 150.1 kB / 390.8 MB, free: 5.496 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00174/0.3498, allocations: 0.9358 MB / 391.7 MB, free: 4.934 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.956e-05/0.3498, allocations: 77.23 kB / 391.8 MB, free: 4.898 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001962/0.3501, allocations: 98.81 kB / 391.9 MB, free: 4.867 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003109/0.3532, allocations: 1.552 MB / 393.5 MB, free: 4.199 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.361e-05/0.3532, allocations: 1.734 kB / 393.5 MB, free: 4.199 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001159/0.3534, allocations: 46.08 kB / 393.5 MB, free: 4.164 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.236e-05/0.3534, allocations: 43.75 kB / 393.5 MB, free: 4.16 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00253/0.356, allocations: 1.424 MB / 395 MB, free: 3.648 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007605/0.3636, allocations: 4.878 MB / 399.8 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001805/0.3654, allocations: 1.456 MB / 401.3 MB, free: 15.41 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0013/0.3667, allocations: 0.7428 MB / 402 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.015e-05/0.3668, allocations: 14.3 kB / 402.1 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001117/0.3679, allocations: 0.6083 MB / 402.7 MB, free: 14.66 MB / 334.1 MB Notification: Performance of pre-optimization done (n=72): time 2.916e-06/0.368, allocations: 2.75 kB / 402.7 MB, free: 14.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=72): time 0.006093/0.3741, allocations: 2.414 MB / 405.1 MB, free: 13.32 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.212e-05/0.3741, allocations: 86.39 kB / 405.2 MB, free: 13.23 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001441/0.3756, allocations: 0.9334 MB / 406.1 MB, free: 12.71 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.625e-05/0.3757, allocations: 42.2 kB / 406.1 MB, free: 12.67 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004602/0.3761, allocations: 0.5257 MB / 406.7 MB, free: 12.21 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002192/0.3764, allocations: 227.7 kB / 406.9 MB, free: 12.02 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002383/0.3766, allocations: 130.4 kB / 407 MB, free: 11.95 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.3768, allocations: 338.1 kB / 407.3 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006593/0.3774, allocations: 413.2 kB / 407.7 MB, free: 11.4 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000759/0.3782, allocations: 0.5556 MB / 408.3 MB, free: 11.01 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0014/0.3796, allocations: 0.9433 MB / 409.2 MB, free: 10.41 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.3796, allocations: 1.688 kB / 409.2 MB, free: 10.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002169/0.3818, allocations: 1.294 MB / 410.5 MB, free: 9.719 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.3818, allocations: 9.219 kB / 410.6 MB, free: 9.715 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.3818, allocations: 4.375 kB / 410.6 MB, free: 9.715 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008924/0.3827, allocations: 403.2 kB / 410.9 MB, free: 9.508 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004977/0.3832, allocations: 114.4 kB / 411.1 MB, free: 9.477 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005421/0.3887, allocations: 4.492 MB / 415.6 MB, free: 5.094 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007383/0.3894, allocations: 83.55 kB / 415.6 MB, free: 5.012 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-05/0.3895, allocations: 27.98 kB / 415.7 MB, free: 4.984 MB / 334.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 (meanVoltage.y,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,rectifier.diode_n.idealDiode[3].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[1].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 (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 {(6,22)} Notification: Performance of prepare postOptimizeDAE: time 0.000831/0.3903, allocations: 499.2 kB / 416.1 MB, free: 4.488 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001557/0.3905, allocations: 94.81 kB / 416.2 MB, free: 4.395 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002346/0.3907, allocations: 120.5 kB / 416.4 MB, free: 4.273 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.3908, allocations: 12 kB / 416.4 MB, free: 4.262 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.3908, allocations: 3.938 kB / 416.4 MB, free: 4.258 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.3908, allocations: 3.984 kB / 416.4 MB, free: 4.254 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00407/0.3949, allocations: 2.584 MB / 419 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.3949, allocations: 0 / 419 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004375/0.3953, allocations: 83.88 kB / 419 MB, free: 1.543 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000803/0.3961, allocations: 392.9 kB / 419.4 MB, free: 1.156 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.581e-05/0.3962, allocations: 20 kB / 419.4 MB, free: 1.137 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005269/0.4015, allocations: 4.464 MB / 423.9 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.4015, allocations: 0 / 423.9 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003046/0.4046, allocations: 1.958 MB / 425.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000637/0.4052, allocations: 287.8 kB / 426.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001365/0.4054, allocations: 12 kB / 426.2 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004507/0.4058, allocations: 39.95 kB / 426.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001987/0.406, allocations: 84.53 kB / 426.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.081e-05/0.4061, allocations: 23.98 kB / 426.3 MB, free: 10.1 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008999/0.407, allocations: 0.6669 MB / 427 MB, free: 9.434 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.407, allocations: 3.938 kB / 427 MB, free: 9.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001064/0.4081, allocations: 346.9 kB / 427.3 MB, free: 9.09 MB / 350.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 (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 {(6,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001763/0.4083, allocations: 134.8 kB / 427.4 MB, free: 8.949 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002155/0.4104, allocations: 1.276 MB / 428.7 MB, free: 7.66 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4105, allocations: 0 / 428.7 MB, free: 7.66 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001222/0.4117, allocations: 0.8073 MB / 429.5 MB, free: 6.836 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001076/0.4128, allocations: 256 kB / 429.8 MB, free: 6.598 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004618/0.4174, allocations: 2.602 MB / 432.4 MB, free: 3.965 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009573/0.4184, allocations: 1.38 MB / 433.8 MB, free: 2.559 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000556/0.4189, allocations: 171.3 kB / 433.9 MB, free: 2.387 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000175/0.4191, allocations: 63.42 kB / 434 MB, free: 2.324 MB / 350.1 MB Notification: Performance of SimCode: time 8.41e-07/0.4191, allocations: 0 / 434 MB, free: 2.324 MB / 350.1 MB Notification: Performance of Templates: time 0.03196/0.4511, allocations: 18.87 MB / 452.9 MB, free: 15.45 MB / 382.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile (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)