Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_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.1_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.1_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.000886/0.0008861, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.006899/0.006899, allocations: 172.2 kB / 16.27 MB, free: 6.66 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.55/1.55, allocations: 205.4 MB / 222.4 MB, free: 5.555 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.0004507/0.0004507, allocations: 8 kB / 279.5 MB, free: 12.49 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2816/0.2821, allocations: 47.59 MB / 327 MB, free: 1.426 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.004846/0.287, allocations: 4.103 MB / 331.2 MB, free: 14.19 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003365/0.2904, allocations: 1.243 MB / 332.4 MB, free: 13.17 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003654/0.2908, allocations: 20.06 kB / 332.4 MB, free: 13.16 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003334/0.2912, allocations: 128.4 kB / 332.5 MB, free: 13.05 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009252/0.2921, allocations: 324.1 kB / 332.9 MB, free: 12.8 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004191/0.2925, allocations: 174.5 kB / 333 MB, free: 12.65 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002109/0.2946, allocations: 1.811 MB / 334.8 MB, free: 11.56 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001057/0.2957, allocations: 0.7685 MB / 335.6 MB, free: 10.77 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008413/0.2966, allocations: 0.4939 MB / 336.1 MB, free: 10.28 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009957/0.2976, allocations: 0.7312 MB / 336.8 MB, free: 9.543 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001387/0.2977, allocations: 72 kB / 336.9 MB, free: 9.473 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001735/0.2979, allocations: 72 kB / 337 MB, free: 9.402 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003492/0.2983, allocations: 358.7 kB / 337.3 MB, free: 9.051 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007099/0.299, allocations: 0.6778 MB / 338 MB, free: 8.363 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001964/0.301, allocations: 2.079 MB / 340.1 MB, free: 6.277 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.301, allocations: 0 / 340.1 MB, free: 6.277 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.045e-06/0.301, allocations: 4 kB / 340.1 MB, free: 6.273 MB / 270.1 MB Notification: Performance of Transformations before backend: time 3.094e-05/0.301, allocations: 0 / 340.1 MB, free: 6.273 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.003137/0.3042, allocations: 1.518 MB / 341.6 MB, free: 4.699 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.432e-05/0.3042, allocations: 16.03 kB / 341.6 MB, free: 4.684 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000272/0.3045, allocations: 147.2 kB / 341.8 MB, free: 4.539 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001426/0.306, allocations: 0.9266 MB / 342.7 MB, free: 3.566 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.556e-05/0.306, allocations: 74.41 kB / 342.8 MB, free: 3.492 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002009/0.3063, allocations: 112.1 kB / 342.9 MB, free: 3.383 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00261/0.3089, allocations: 1.553 MB / 344.4 MB, free: 1.773 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.104e-05/0.3089, allocations: 0 / 344.4 MB, free: 1.773 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001131/0.309, allocations: 40 kB / 344.5 MB, free: 1.734 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.105e-05/0.3091, allocations: 46.02 kB / 344.5 MB, free: 1.688 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002454/0.3116, allocations: 1.456 MB / 346 MB, free: 228 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007326/0.3189, allocations: 4.972 MB / 350.9 MB, free: 11.07 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001784/0.3207, allocations: 1.464 MB / 352.4 MB, free: 9.488 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001214/0.322, allocations: 0.7428 MB / 353.1 MB, free: 8.742 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.89e-05/0.322, allocations: 8.562 kB / 353.1 MB, free: 8.734 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001057/0.3231, allocations: 0.6357 MB / 353.8 MB, free: 8.078 MB / 286.1 MB Notification: Performance of pre-optimization done (n=72): time 2.976e-06/0.3231, allocations: 0 / 353.8 MB, free: 8.078 MB / 286.1 MB Notification: Performance of matching and sorting (n=72): time 0.005903/0.329, allocations: 2.466 MB / 356.3 MB, free: 5.582 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.838e-05/0.3291, allocations: 89.75 kB / 356.3 MB, free: 5.477 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001322/0.3305, allocations: 0.9305 MB / 357.3 MB, free: 4.535 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 8.249e-05/0.3306, allocations: 41.7 kB / 357.3 MB, free: 4.488 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005537/0.3311, allocations: 0.5229 MB / 357.8 MB, free: 3.957 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002438/0.3314, allocations: 228.8 kB / 358.1 MB, free: 3.73 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/0.3315, allocations: 69.67 kB / 358.1 MB, free: 3.656 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.3317, allocations: 334 kB / 358.5 MB, free: 3.324 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006908/0.3324, allocations: 421.7 kB / 358.9 MB, free: 2.91 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007761/0.3332, allocations: 0.568 MB / 359.4 MB, free: 2.289 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001432/0.3346, allocations: 0.966 MB / 360.4 MB, free: 1.266 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.3346, allocations: 0 / 360.4 MB, free: 1.266 MB / 286.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00236/0.337, allocations: 1.319 MB / 361.7 MB, free: 15.94 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/0.337, allocations: 8 kB / 361.7 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.337, allocations: 4 kB / 361.7 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009093/0.338, allocations: 402.4 kB / 362.1 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005087/0.3385, allocations: 119.8 kB / 362.2 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005124/0.3436, allocations: 4.138 MB / 366.4 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007541/0.3444, allocations: 87.48 kB / 366.5 MB, free: 11.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.716e-05/0.3445, allocations: 23.94 kB / 366.5 MB, free: 11.03 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 (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.0008725/0.3453, allocations: 495.2 kB / 367 MB, free: 10.54 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000144/0.3455, allocations: 94.88 kB / 367.1 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002506/0.3457, allocations: 120.5 kB / 367.2 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.772e-06/0.3458, allocations: 11.94 kB / 367.2 MB, free: 10.31 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.3458, allocations: 0 / 367.2 MB, free: 10.31 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/0.3458, allocations: 11.98 kB / 367.2 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004066/0.3499, allocations: 2.624 MB / 369.8 MB, free: 7.617 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.3499, allocations: 0 / 369.8 MB, free: 7.617 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004288/0.3503, allocations: 99.86 kB / 369.9 MB, free: 7.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008137/0.3511, allocations: 385.2 kB / 370.3 MB, free: 7.141 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.058e-05/0.3512, allocations: 15.98 kB / 370.3 MB, free: 7.125 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005056/0.3563, allocations: 4.092 MB / 374.4 MB, free: 2.891 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.3563, allocations: 0 / 374.4 MB, free: 2.891 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003224/0.3595, allocations: 1.993 MB / 376.4 MB, free: 0.8789 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000585/0.3601, allocations: 287.8 kB / 376.7 MB, free: 0.5781 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/0.3602, allocations: 15.98 kB / 376.7 MB, free: 0.5625 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004619/0.3607, allocations: 47.95 kB / 376.7 MB, free: 0.5156 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002121/0.3609, allocations: 80.53 kB / 376.8 MB, free: 444 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-05/0.361, allocations: 23.92 kB / 376.8 MB, free: 420 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.001004/0.362, allocations: 0.6747 MB / 377.5 MB, free: 15.73 MB / 318.1 MB Notification: Performance of sort global known variables: time 5.71e-07/0.362, allocations: 0 / 377.5 MB, free: 15.73 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001149/0.3632, allocations: 339 kB / 377.9 MB, free: 15.4 MB / 318.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.0002174/0.3634, allocations: 135.4 kB / 378 MB, free: 15.26 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002312/0.3657, allocations: 1.295 MB / 379.3 MB, free: 13.95 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.3657, allocations: 0 / 379.3 MB, free: 13.95 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001388/0.3671, allocations: 0.8266 MB / 380.1 MB, free: 13.11 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001243/0.3684, allocations: 243.1 kB / 380.3 MB, free: 12.87 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005243/0.3736, allocations: 3.116 MB / 383.5 MB, free: 9.727 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009966/0.3747, allocations: 1.388 MB / 384.8 MB, free: 8.309 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006135/0.3753, allocations: 167.3 kB / 385 MB, free: 8.141 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001712/0.3755, allocations: 59.42 kB / 385.1 MB, free: 8.082 MB / 318.1 MB Notification: Performance of SimCode: time 1.182e-06/0.3755, allocations: 0 / 385.1 MB, free: 8.082 MB / 318.1 MB Notification: Performance of Templates: time 0.02969/0.4052, allocations: 16.9 MB / 402 MB, free: 7.16 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile (rm -f Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1)