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.001215/0.001215, allocations: 85.94 kB / 15.06 MB, free: 1.09 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.001242/0.001242, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.548/1.548, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.0004535/0.0004535, allocations: 15.94 kB / 278.9 MB, free: 12.79 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2614/0.2619, allocations: 47.58 MB / 326.5 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.004914/0.2669, allocations: 4.051 MB / 330.5 MB, free: 14.24 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003124/0.27, allocations: 1.285 MB / 331.8 MB, free: 13.19 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004311/0.2705, allocations: 21.06 kB / 331.9 MB, free: 13.18 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006962/0.2712, allocations: 168 kB / 332 MB, free: 13.05 MB / 270.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Electrical/PowerConverters.mo:5153:20-5153: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:5164:20-5164:43:writable] Warning: 'each' used when modifying non-array element diode_n. Notification: Performance of NFTyping.typeBindings: time 0.0008243/0.272, allocations: 309.4 kB / 332.3 MB, free: 12.81 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000443/0.2725, allocations: 135 kB / 332.4 MB, free: 12.7 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002064/0.2746, allocations: 1.598 MB / 334 MB, free: 11.74 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009533/0.2755, allocations: 0.6544 MB / 334.7 MB, free: 11.26 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009005/0.2764, allocations: 470.1 kB / 335.2 MB, free: 10.8 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009491/0.2774, allocations: 0.6186 MB / 335.8 MB, free: 10.18 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001147/0.2775, allocations: 68 kB / 335.8 MB, free: 10.11 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001749/0.2777, allocations: 64 kB / 335.9 MB, free: 10.05 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003539/0.2781, allocations: 322.9 kB / 336.2 MB, free: 9.734 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002702/0.2783, allocations: 273.1 kB / 336.5 MB, free: 9.461 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00167/0.28, allocations: 1.642 MB / 338.1 MB, free: 7.816 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.047e-06/0.28, allocations: 4 kB / 338.1 MB, free: 7.812 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.28, allocations: 7.938 kB / 338.1 MB, free: 7.805 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.831e-05/0.2801, allocations: 0 / 338.1 MB, free: 7.805 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.002503/0.2826, allocations: 1.412 MB / 339.6 MB, free: 6.336 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.2826, allocations: 12.03 kB / 339.6 MB, free: 6.324 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000228/0.2829, allocations: 134.4 kB / 339.7 MB, free: 6.191 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00124/0.2841, allocations: 0.8326 MB / 340.5 MB, free: 5.316 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.36e-05/0.2842, allocations: 73.95 kB / 340.6 MB, free: 5.246 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001541/0.2844, allocations: 99.94 kB / 340.7 MB, free: 5.148 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002503/0.2869, allocations: 1.435 MB / 342.1 MB, free: 3.68 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.028e-05/0.2869, allocations: 3.938 kB / 342.1 MB, free: 3.676 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001128/0.2871, allocations: 40 kB / 342.2 MB, free: 3.637 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-05/0.2871, allocations: 41.98 kB / 342.2 MB, free: 3.598 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00219/0.2893, allocations: 1.288 MB / 343.5 MB, free: 2.309 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006287/0.2956, allocations: 4.347 MB / 347.9 MB, free: 13.86 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002011/0.2977, allocations: 1.97 MB / 349.8 MB, free: 11.68 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009276/0.2986, allocations: 0.6415 MB / 350.5 MB, free: 11.03 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.024e-05/0.2987, allocations: 12.59 kB / 350.5 MB, free: 11.02 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009393/0.2996, allocations: 0.6015 MB / 351.1 MB, free: 10.39 MB / 286.1 MB Notification: Performance of pre-optimization done (n=75): time 2.274e-06/0.2996, allocations: 0 / 351.1 MB, free: 10.39 MB / 286.1 MB Notification: Performance of matching and sorting (n=75): time 0.006915/0.3065, allocations: 2.809 MB / 353.9 MB, free: 7.555 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.044e-05/0.3067, allocations: 115.5 kB / 354 MB, free: 7.418 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001115/0.3078, allocations: 0.8169 MB / 354.8 MB, free: 6.59 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.924e-05/0.3079, allocations: 45.64 kB / 354.9 MB, free: 6.539 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004368/0.3083, allocations: 479.8 kB / 355.3 MB, free: 6.062 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002088/0.3085, allocations: 244.5 kB / 355.6 MB, free: 5.82 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.798e-05/0.3086, allocations: 16 kB / 355.6 MB, free: 5.805 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001864/0.3087, allocations: 398.7 kB / 356 MB, free: 5.406 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006111/0.3094, allocations: 401.7 kB / 356.4 MB, free: 5.012 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008051/0.3102, allocations: 0.5493 MB / 356.9 MB, free: 4.406 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007626/0.311, allocations: 441.9 kB / 357.4 MB, free: 3.973 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.311, allocations: 0 / 357.4 MB, free: 3.973 MB / 286.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001986/0.313, allocations: 1.295 MB / 358.6 MB, free: 2.668 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.313, allocations: 7.938 kB / 358.7 MB, free: 2.66 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.313, allocations: 4 kB / 358.7 MB, free: 2.656 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001078/0.3141, allocations: 484.2 kB / 359.1 MB, free: 2.18 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003531/0.3145, allocations: 91.83 kB / 359.2 MB, free: 2.09 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006873/0.3213, allocations: 5.126 MB / 364.3 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000771/0.3222, allocations: 87.58 kB / 364.4 MB, free: 12.74 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.869e-05/0.3222, allocations: 35.98 kB / 364.5 MB, free: 12.7 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 (55): * Single equations (assignments): 54 * 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 30} Notification: Performance of prepare postOptimizeDAE: time 0.001003/0.3232, allocations: 463.1 kB / 364.9 MB, free: 12.24 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/0.3234, allocations: 86.97 kB / 365 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000256/0.3237, allocations: 112.5 kB / 365.1 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.3237, allocations: 4 kB / 365.1 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.3237, allocations: 8 kB / 365.1 MB, free: 12.03 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/0.3237, allocations: 3.984 kB / 365.1 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003975/0.3277, allocations: 2.635 MB / 367.8 MB, free: 9.328 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.3277, allocations: 0 / 367.8 MB, free: 9.328 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002885/0.328, allocations: 59.91 kB / 367.8 MB, free: 9.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009238/0.3289, allocations: 460.3 kB / 368.3 MB, free: 8.816 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.4e-05/0.329, allocations: 12 kB / 368.3 MB, free: 8.805 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006527/0.3355, allocations: 5.095 MB / 373.4 MB, free: 3.566 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.3355, allocations: 4 kB / 373.4 MB, free: 3.562 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00282/0.3384, allocations: 1.923 MB / 375.3 MB, free: 1.621 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004425/0.3388, allocations: 283.8 kB / 375.6 MB, free: 1.324 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/0.3389, allocations: 16 kB / 375.6 MB, free: 1.309 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003764/0.3393, allocations: 43.95 kB / 375.6 MB, free: 1.266 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001761/0.3395, allocations: 72.64 kB / 375.7 MB, free: 1.195 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.812e-05/0.3396, allocations: 27.97 kB / 375.7 MB, free: 1.168 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0008189/0.3404, allocations: 0.581 MB / 376.3 MB, free: 0.5898 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.693e-06/0.3404, allocations: 0 / 376.3 MB, free: 0.5898 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001078/0.3415, allocations: 343.1 kB / 376.7 MB, free: 260 kB / 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 (40): * Single equations (assignments): 36 * 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 30} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002179/0.3417, allocations: 127.2 kB / 376.8 MB, free: 124 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002101/0.3438, allocations: 1.282 MB / 378.1 MB, free: 14.82 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.3438, allocations: 4 kB / 378.1 MB, free: 14.82 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00124/0.3451, allocations: 0.8247 MB / 378.9 MB, free: 13.99 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00107/0.3462, allocations: 258.9 kB / 379.1 MB, free: 13.74 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004807/0.351, allocations: 2.703 MB / 381.8 MB, free: 11 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001092/0.3521, allocations: 1.322 MB / 383.2 MB, free: 9.656 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004454/0.3526, allocations: 147.3 kB / 383.3 MB, free: 9.508 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001604/0.3527, allocations: 51.44 kB / 383.4 MB, free: 9.457 MB / 318.1 MB Notification: Performance of SimCode: time 1.542e-06/0.3527, allocations: 0 / 383.4 MB, free: 9.457 MB / 318.1 MB Notification: Performance of Templates: time 0.03105/0.3838, allocations: 17.77 MB / 401.1 MB, free: 7.656 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)