Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.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.RectifierBridge2mPulse.DiodeBridge2mPulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001256/0.001256, 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.009192/0.009192, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.738/1.738, allocations: 205.4 MB / 222.5 MB, free: 5.566 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.0004389/0.0004389, allocations: 12 kB / 279.5 MB, free: 12.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.2502, allocations: 47.59 MB / 327.1 MB, free: 1.391 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.004528/0.2547, allocations: 4.266 MB / 331.3 MB, free: 14.02 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003119/0.2579, allocations: 1.315 MB / 332.6 MB, free: 12.95 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005533/0.2585, allocations: 21.25 kB / 332.7 MB, free: 12.94 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006505/0.2592, allocations: 172.1 kB / 332.8 MB, free: 12.8 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009005/0.2601, allocations: 323.3 kB / 333.1 MB, free: 12.55 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000463/0.2605, allocations: 190.2 kB / 333.3 MB, free: 12.38 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002396/0.2629, allocations: 1.771 MB / 335.1 MB, free: 11.3 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001005/0.264, allocations: 0.7448 MB / 335.8 MB, free: 10.54 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008605/0.2648, allocations: 482 kB / 336.3 MB, free: 10.07 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009851/0.2658, allocations: 0.6456 MB / 337 MB, free: 9.418 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001226/0.266, allocations: 68 kB / 337 MB, free: 9.352 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001607/0.2661, allocations: 67.94 kB / 337.1 MB, free: 9.285 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003472/0.2665, allocations: 326.8 kB / 337.4 MB, free: 8.965 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007293/0.2672, allocations: 0.6196 MB / 338 MB, free: 8.336 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001867/0.2691, allocations: 1.927 MB / 340 MB, free: 6.402 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.2691, allocations: 0 / 340 MB, free: 6.402 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.2691, allocations: 0 / 340 MB, free: 6.402 MB / 270.1 MB Notification: Performance of Transformations before backend: time 3.242e-05/0.2692, allocations: 0 / 340 MB, free: 6.402 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.00293/0.2721, allocations: 1.416 MB / 341.4 MB, free: 4.93 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.2722, allocations: 8.031 kB / 341.4 MB, free: 4.922 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002425/0.2724, allocations: 139.3 kB / 341.5 MB, free: 4.785 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001259/0.2737, allocations: 0.8645 MB / 342.4 MB, free: 3.879 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.939e-05/0.2738, allocations: 74.38 kB / 342.5 MB, free: 3.809 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001723/0.2739, allocations: 104 kB / 342.6 MB, free: 3.707 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002365/0.2763, allocations: 1.439 MB / 344 MB, free: 2.234 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.578e-05/0.2764, allocations: 4 kB / 344 MB, free: 2.23 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000124/0.2765, allocations: 40 kB / 344 MB, free: 2.191 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.363e-05/0.2765, allocations: 41.98 kB / 344.1 MB, free: 2.152 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002251/0.2788, allocations: 1.304 MB / 345.4 MB, free: 0.8477 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006204/0.285, allocations: 4.343 MB / 349.7 MB, free: 12.4 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001942/0.287, allocations: 1.974 MB / 351.7 MB, free: 10.21 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008815/0.2879, allocations: 0.6337 MB / 352.3 MB, free: 9.574 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.87e-05/0.2879, allocations: 12.59 kB / 352.3 MB, free: 9.559 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009575/0.2889, allocations: 0.6015 MB / 352.9 MB, free: 8.938 MB / 286.1 MB Notification: Performance of pre-optimization done (n=75): time 2.405e-06/0.2889, allocations: 0 / 352.9 MB, free: 8.938 MB / 286.1 MB Notification: Performance of matching and sorting (n=75): time 0.007172/0.2961, allocations: 2.868 MB / 355.8 MB, free: 6.039 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.291e-05/0.2962, allocations: 119.4 kB / 355.9 MB, free: 5.898 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001161/0.2974, allocations: 0.8207 MB / 356.8 MB, free: 5.066 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.343e-05/0.2975, allocations: 45.7 kB / 356.8 MB, free: 5.016 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004173/0.2979, allocations: 487.8 kB / 357.3 MB, free: 4.531 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001983/0.2981, allocations: 240.5 kB / 357.5 MB, free: 4.293 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.43e-05/0.2982, allocations: 69.67 kB / 357.6 MB, free: 4.219 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000247/0.2984, allocations: 394.8 kB / 358 MB, free: 3.824 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005959/0.299, allocations: 401.7 kB / 358.4 MB, free: 3.434 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007613/0.2998, allocations: 0.5533 MB / 358.9 MB, free: 2.824 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001372/0.3012, allocations: 0.927 MB / 359.8 MB, free: 1.84 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.3012, allocations: 0 / 359.8 MB, free: 1.84 MB / 286.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002062/0.3033, allocations: 1.33 MB / 361.2 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.3033, allocations: 8 kB / 361.2 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.3033, allocations: 4 kB / 361.2 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001086/0.3044, allocations: 472.2 kB / 361.6 MB, free: 28 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003775/0.3048, allocations: 103.8 kB / 361.7 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007197/0.312, allocations: 5.137 MB / 366.9 MB, free: 10.65 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006468/0.3127, allocations: 91.45 kB / 367 MB, free: 10.56 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.465e-05/0.3128, allocations: 28 kB / 367 MB, free: 10.54 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 (55): * Single equations (assignments): 54 * 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,30)} Notification: Performance of prepare postOptimizeDAE: time 0.0007834/0.3136, allocations: 455.2 kB / 367.4 MB, free: 10.08 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001216/0.3137, allocations: 94.83 kB / 367.5 MB, free: 9.988 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002886/0.314, allocations: 116.5 kB / 367.6 MB, free: 9.867 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.314, allocations: 8 kB / 367.6 MB, free: 9.859 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.314, allocations: 0 / 367.6 MB, free: 9.859 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.314, allocations: 3.984 kB / 367.7 MB, free: 9.855 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003899/0.3179, allocations: 2.631 MB / 370.3 MB, free: 7.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.3179, allocations: 0 / 370.3 MB, free: 7.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002941/0.3182, allocations: 67.89 kB / 370.4 MB, free: 7.094 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001031/0.3193, allocations: 464.5 kB / 370.8 MB, free: 6.637 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.297e-05/0.3193, allocations: 15.94 kB / 370.8 MB, free: 6.621 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006581/0.3259, allocations: 5.099 MB / 375.9 MB, free: 1.387 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.3259, allocations: 0 / 375.9 MB, free: 1.387 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002824/0.3288, allocations: 1.935 MB / 377.9 MB, free: 15.43 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004747/0.3293, allocations: 275.8 kB / 378.1 MB, free: 15.14 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/0.3294, allocations: 16 kB / 378.1 MB, free: 15.12 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003957/0.3298, allocations: 39.95 kB / 378.2 MB, free: 15.08 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002563/0.3301, allocations: 84.47 kB / 378.3 MB, free: 15 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.721e-05/0.3301, allocations: 20 kB / 378.3 MB, free: 14.98 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001275/0.3314, allocations: 0.5965 MB / 378.9 MB, free: 14.38 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.3314, allocations: 0 / 378.9 MB, free: 14.38 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001666/0.3331, allocations: 339 kB / 379.2 MB, free: 14.05 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 (40): * Single equations (assignments): 36 * 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,30)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002572/0.3334, allocations: 131 kB / 379.3 MB, free: 13.91 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003243/0.3366, allocations: 1.286 MB / 380.6 MB, free: 12.61 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.3367, allocations: 0 / 380.6 MB, free: 12.61 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001857/0.3385, allocations: 0.8328 MB / 381.5 MB, free: 11.77 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001775/0.3403, allocations: 254.8 kB / 381.7 MB, free: 11.52 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00626/0.3466, allocations: 2.81 MB / 384.5 MB, free: 8.684 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001319/0.348, allocations: 1.33 MB / 385.8 MB, free: 7.32 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006893/0.3487, allocations: 139.3 kB / 386 MB, free: 7.18 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002058/0.3489, allocations: 55.42 kB / 386 MB, free: 7.125 MB / 318.1 MB Notification: Performance of SimCode: time 1.442e-06/0.3489, allocations: 0 / 386 MB, free: 7.125 MB / 318.1 MB Notification: Performance of Templates: time 0.04518/0.3941, allocations: 18.22 MB / 404.3 MB, free: 4.875 MB / 334.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1)