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.001719/0.001719, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001723/0.001723, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.349/1.349, allocations: 205.1 MB / 222.4 MB, free: 4.586 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.001226/0.001226, allocations: 51.94 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2693/0.2705, allocations: 46.63 MB / 325.3 MB, free: 1.887 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.006468/0.277, allocations: 4.663 MB / 330 MB, free: 14.2 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002773/0.2798, allocations: 1.339 MB / 331.3 MB, free: 13.11 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004007/0.2802, allocations: 26.59 kB / 331.4 MB, free: 13.09 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007137/0.281, allocations: 213.8 kB / 331.6 MB, free: 12.92 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000768/0.2818, allocations: 353.9 kB / 331.9 MB, free: 12.63 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003851/0.2822, allocations: 214.8 kB / 332.1 MB, free: 12.45 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001488/0.2837, allocations: 1.535 MB / 333.7 MB, free: 11.54 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001014/0.2847, allocations: 0.912 MB / 334.6 MB, free: 10.66 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00068/0.2854, allocations: 0.6308 MB / 335.2 MB, free: 10.03 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008638/0.2863, allocations: 0.7588 MB / 336 MB, free: 9.27 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002104/0.2865, allocations: 164 kB / 336.1 MB, free: 9.109 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002835/0.2868, allocations: 164 kB / 336.3 MB, free: 8.949 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003947/0.2872, allocations: 430.8 kB / 336.7 MB, free: 8.527 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007024/0.2879, allocations: 0.7233 MB / 337.4 MB, free: 7.801 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001696/0.2896, allocations: 2.06 MB / 339.5 MB, free: 5.734 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.288e-06/0.2896, allocations: 4 kB / 339.5 MB, free: 5.73 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.073e-06/0.2896, allocations: 0 / 339.5 MB, free: 5.73 MB / 270.1 MB Notification: Performance of Transformations before backend: time 3.219e-05/0.2897, allocations: 0 / 339.5 MB, free: 5.73 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.002958/0.2926, allocations: 1.615 MB / 341.1 MB, free: 4.059 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.2927, allocations: 12.03 kB / 341.1 MB, free: 4.047 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002025/0.2929, allocations: 139.2 kB / 341.3 MB, free: 3.91 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001146/0.2941, allocations: 0.8644 MB / 342.1 MB, free: 3.004 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.261e-05/0.2941, allocations: 78.38 kB / 342.2 MB, free: 2.93 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001684/0.2943, allocations: 96.12 kB / 342.3 MB, free: 2.836 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00216/0.2965, allocations: 1.435 MB / 343.7 MB, free: 1.367 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.501e-05/0.2965, allocations: 4 kB / 343.7 MB, free: 1.363 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.504e-05/0.2966, allocations: 36 kB / 343.8 MB, free: 1.328 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.805e-05/0.2967, allocations: 46 kB / 343.8 MB, free: 1.285 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001878/0.2985, allocations: 1.288 MB / 345.1 MB, free: 15.99 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005479/0.304, allocations: 4.324 MB / 349.4 MB, free: 11.56 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001907/0.3059, allocations: 1.959 MB / 351.4 MB, free: 9.379 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000912/0.3069, allocations: 0.6298 MB / 352 MB, free: 8.746 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.252e-05/0.3069, allocations: 4.656 kB / 352 MB, free: 8.738 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000882/0.3078, allocations: 0.5976 MB / 352.6 MB, free: 8.121 MB / 286.1 MB Notification: Performance of pre-optimization done (n=75): time 2.455e-06/0.3078, allocations: 0 / 352.6 MB, free: 8.121 MB / 286.1 MB Notification: Performance of matching and sorting (n=75): time 0.006945/0.3148, allocations: 2.845 MB / 355.5 MB, free: 5.246 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.377e-05/0.3149, allocations: 111.5 kB / 355.6 MB, free: 5.113 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001041/0.3159, allocations: 0.8207 MB / 356.4 MB, free: 4.273 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.495e-05/0.316, allocations: 41.7 kB / 356.4 MB, free: 4.227 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004062/0.3164, allocations: 491.8 kB / 356.9 MB, free: 3.738 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001983/0.3166, allocations: 240.5 kB / 357.1 MB, free: 3.5 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002032/0.3168, allocations: 134.6 kB / 357.3 MB, free: 3.363 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001857/0.317, allocations: 394.7 kB / 357.7 MB, free: 2.969 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005874/0.3176, allocations: 397.7 kB / 358 MB, free: 2.578 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006817/0.3183, allocations: 0.5493 MB / 358.6 MB, free: 1.969 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001309/0.3196, allocations: 0.9153 MB / 359.5 MB, free: 1 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.3196, allocations: 4 kB / 359.5 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002067/0.3217, allocations: 1.315 MB / 360.8 MB, free: 15.67 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/0.3218, allocations: 8 kB / 360.8 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.3218, allocations: 4 kB / 360.8 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001093/0.3229, allocations: 476.2 kB / 361.3 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003542/0.3232, allocations: 95.83 kB / 361.4 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007137/0.3304, allocations: 5.574 MB / 367 MB, free: 9.387 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005974/0.331, allocations: 79.45 kB / 367.1 MB, free: 9.309 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.024e-05/0.3311, allocations: 28 kB / 367.1 MB, free: 9.281 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.0007789/0.3319, allocations: 467.1 kB / 367.5 MB, free: 8.816 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001485/0.332, allocations: 86.97 kB / 367.6 MB, free: 8.73 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002221/0.3322, allocations: 112.5 kB / 367.7 MB, free: 8.613 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.615e-06/0.3323, allocations: 8 kB / 367.7 MB, free: 8.605 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.3323, allocations: 0 / 367.7 MB, free: 8.605 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.517e-06/0.3323, allocations: 3.984 kB / 367.7 MB, free: 8.602 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004081/0.3364, allocations: 2.615 MB / 370.4 MB, free: 5.922 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.3364, allocations: 0 / 370.4 MB, free: 5.922 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002885/0.3367, allocations: 67.89 kB / 370.4 MB, free: 5.855 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009407/0.3376, allocations: 468.5 kB / 370.9 MB, free: 5.395 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.748e-05/0.3377, allocations: 12 kB / 370.9 MB, free: 5.383 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006711/0.3444, allocations: 5.547 MB / 376.4 MB, free: 15.68 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.3444, allocations: 0 / 376.4 MB, free: 15.68 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002667/0.3471, allocations: 1.923 MB / 378.4 MB, free: 13.75 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003985/0.3475, allocations: 275.8 kB / 378.6 MB, free: 13.46 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001119/0.3476, allocations: 16 kB / 378.6 MB, free: 13.44 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004053/0.3481, allocations: 47.89 kB / 378.7 MB, free: 13.39 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002027/0.3483, allocations: 76.53 kB / 378.8 MB, free: 13.32 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.299e-05/0.3483, allocations: 16 kB / 378.8 MB, free: 13.3 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007394/0.3491, allocations: 0.5888 MB / 379.4 MB, free: 12.71 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3491, allocations: 0 / 379.4 MB, free: 12.71 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009899/0.3501, allocations: 339.1 kB / 379.7 MB, free: 12.38 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.0001872/0.3503, allocations: 123.3 kB / 379.8 MB, free: 12.25 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002282/0.3526, allocations: 1.431 MB / 381.3 MB, free: 10.81 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3526, allocations: 0 / 381.3 MB, free: 10.81 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001149/0.3537, allocations: 0.8364 MB / 382.1 MB, free: 9.965 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/0.3548, allocations: 266.6 kB / 382.4 MB, free: 9.707 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003574/0.3584, allocations: 2.344 MB / 384.7 MB, free: 7.332 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008497/0.3592, allocations: 1.322 MB / 386 MB, free: 5.984 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000356/0.3596, allocations: 147.2 kB / 386.2 MB, free: 5.836 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001296/0.3597, allocations: 51.44 kB / 386.2 MB, free: 5.785 MB / 318.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3597, allocations: 0 / 386.2 MB, free: 5.785 MB / 318.1 MB Notification: Performance of Templates: time 0.02935/0.3891, allocations: 19.57 MB / 405.8 MB, free: 2.188 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)