Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001739/0.001739, allocations: 115 kB / 16.63 MB, free: 6.812 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.002114/0.002114, allocations: 186 kB / 17.55 MB, free: 5.934 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.798/1.798, allocations: 205.1 MB / 223.4 MB, free: 12.43 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.001385/0.001385, allocations: 48.14 kB / 279.5 MB, free: 3.469 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1563, allocations: 46.63 MB / 326.1 MB, free: 4.777 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.00765/0.164, allocations: 4.689 MB / 330.8 MB, free: 56 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003567/0.1677, allocations: 1.321 MB / 332.2 MB, free: 14.73 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007276/0.1684, allocations: 19.88 kB / 332.2 MB, free: 14.71 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008237/0.1693, allocations: 186.9 kB / 332.4 MB, free: 14.52 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001107/0.1705, allocations: 326.3 kB / 332.7 MB, free: 14.2 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005415/0.171, allocations: 183.9 kB / 332.9 MB, free: 14.02 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002355/0.1734, allocations: 1.537 MB / 334.4 MB, free: 12.48 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001235/0.1746, allocations: 0.91 MB / 335.3 MB, free: 11.55 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001096/0.1758, allocations: 0.6308 MB / 335.9 MB, free: 10.92 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001276/0.177, allocations: 0.79 MB / 336.7 MB, free: 10.13 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002311/0.1773, allocations: 160 kB / 336.9 MB, free: 9.973 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000357/0.1777, allocations: 164 kB / 337 MB, free: 9.812 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004631/0.1781, allocations: 430.8 kB / 337.5 MB, free: 9.391 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008725/0.179, allocations: 0.7272 MB / 338.2 MB, free: 8.66 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002061/0.1811, allocations: 2.052 MB / 340.2 MB, free: 6.602 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.1811, allocations: 0 / 340.2 MB, free: 6.602 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.033e-06/0.1811, allocations: 0 / 340.2 MB, free: 6.602 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.163e-05/0.1812, allocations: 0 / 340.2 MB, free: 6.602 MB / 286.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.003601/0.1848, allocations: 1.623 MB / 341.9 MB, free: 4.922 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/0.1848, allocations: 8.031 kB / 341.9 MB, free: 4.914 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002623/0.1851, allocations: 139.2 kB / 342 MB, free: 4.777 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001357/0.1865, allocations: 0.8683 MB / 342.9 MB, free: 3.867 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.875e-05/0.1865, allocations: 78.38 kB / 343 MB, free: 3.793 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001707/0.1867, allocations: 104.1 kB / 343.1 MB, free: 3.691 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002603/0.1893, allocations: 1.427 MB / 344.5 MB, free: 2.23 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.242e-05/0.1894, allocations: 4 kB / 344.5 MB, free: 2.227 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001226/0.1895, allocations: 47.94 kB / 344.5 MB, free: 2.18 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.598e-05/0.1896, allocations: 41.98 kB / 344.6 MB, free: 2.141 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00217/0.1918, allocations: 1.284 MB / 345.9 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007561/0.1993, allocations: 4.324 MB / 350.2 MB, free: 12.42 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002081/0.2015, allocations: 1.967 MB / 352.2 MB, free: 10.24 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009524/0.2025, allocations: 0.6181 MB / 352.8 MB, free: 9.617 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.371e-05/0.2025, allocations: 8.656 kB / 352.8 MB, free: 9.605 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009888/0.2035, allocations: 0.6015 MB / 353.4 MB, free: 8.984 MB / 302.1 MB Notification: Performance of pre-optimization done (n=75): time 2.845e-06/0.2035, allocations: 0 / 353.4 MB, free: 8.984 MB / 302.1 MB Notification: Performance of matching and sorting (n=75): time 0.008049/0.2116, allocations: 2.839 MB / 356.2 MB, free: 6.113 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001166/0.2118, allocations: 111.5 kB / 356.3 MB, free: 5.98 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001523/0.2133, allocations: 0.8207 MB / 357.1 MB, free: 5.152 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001552/0.2135, allocations: 45.64 kB / 357.2 MB, free: 5.102 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007168/0.2142, allocations: 495.8 kB / 357.7 MB, free: 4.609 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003573/0.2146, allocations: 240.5 kB / 357.9 MB, free: 4.371 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002827/0.2149, allocations: 134.6 kB / 358 MB, free: 4.234 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0003572/0.2152, allocations: 398.7 kB / 358.4 MB, free: 3.836 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007647/0.216, allocations: 389.7 kB / 358.8 MB, free: 3.453 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008496/0.2169, allocations: 0.5493 MB / 359.4 MB, free: 2.848 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001542/0.2184, allocations: 0.9114 MB / 360.3 MB, free: 1.879 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.666e-06/0.2184, allocations: 4 kB / 360.3 MB, free: 1.875 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002717/0.2212, allocations: 1.319 MB / 361.6 MB, free: 0.5508 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.542e-05/0.2212, allocations: 4 kB / 361.6 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.577e-05/0.2213, allocations: 4 kB / 361.6 MB, free: 0.543 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001335/0.2226, allocations: 476.2 kB / 362.1 MB, free: 76 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004261/0.2231, allocations: 95.94 kB / 362.2 MB, free: 15.98 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008935/0.232, allocations: 5.574 MB / 367.7 MB, free: 10.27 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001016/0.2331, allocations: 83.39 kB / 367.8 MB, free: 10.18 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.4e-05/0.2332, allocations: 32 kB / 367.8 MB, free: 10.15 MB / 318.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.001265/0.2345, allocations: 463.3 kB / 368.3 MB, free: 9.691 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003211/0.2348, allocations: 86.97 kB / 368.4 MB, free: 9.605 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003278/0.2351, allocations: 108.5 kB / 368.5 MB, free: 9.492 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-05/0.2352, allocations: 8 kB / 368.5 MB, free: 9.484 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/0.2352, allocations: 0 / 368.5 MB, free: 9.484 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.526e-05/0.2352, allocations: 3.984 kB / 368.5 MB, free: 9.48 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005669/0.2409, allocations: 2.612 MB / 371.1 MB, free: 6.805 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.716e-06/0.241, allocations: 0 / 371.1 MB, free: 6.805 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003417/0.2413, allocations: 63.89 kB / 371.2 MB, free: 6.742 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001035/0.2424, allocations: 472.3 kB / 371.6 MB, free: 6.277 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.991e-05/0.2424, allocations: 8 kB / 371.6 MB, free: 6.27 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007676/0.2501, allocations: 5.556 MB / 377.2 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.2502, allocations: 128 / 377.2 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2139/0.4641, allocations: 1.923 MB / 379.1 MB, free: 53.55 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007015/0.4648, allocations: 276.5 kB / 379.4 MB, free: 53.46 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001361/0.465, allocations: 11.44 kB / 379.4 MB, free: 53.46 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004891/0.4655, allocations: 42.81 kB / 379.5 MB, free: 53.46 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003302/0.4658, allocations: 76.14 kB / 379.5 MB, free: 53.46 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.967e-05/0.4659, allocations: 27.39 kB / 379.6 MB, free: 53.46 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001231/0.4671, allocations: 0.5886 MB / 380.1 MB, free: 53.37 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.4671, allocations: 0 / 380.1 MB, free: 53.37 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001216/0.4683, allocations: 339.9 kB / 380.5 MB, free: 53.37 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.0001994/0.4686, allocations: 124.1 kB / 380.6 MB, free: 53.28 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002628/0.4712, allocations: 1.425 MB / 382 MB, free: 53.02 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.4712, allocations: 1.781 kB / 382 MB, free: 53.02 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001434/0.4727, allocations: 0.8271 MB / 382.8 MB, free: 52.64 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001652/0.4743, allocations: 271.7 kB / 383.1 MB, free: 52.57 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005475/0.4798, allocations: 2.793 MB / 385.9 MB, free: 51.12 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001101/0.481, allocations: 1.324 MB / 387.2 MB, free: 50.3 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006433/0.4816, allocations: 142.4 kB / 387.4 MB, free: 50.29 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001595/0.4818, allocations: 56.36 kB / 387.4 MB, free: 50.28 MB / 318.1 MB Notification: Performance of SimCode: time 1.132e-06/0.4818, allocations: 0 / 387.4 MB, free: 50.28 MB / 318.1 MB Notification: Performance of Templates: time 0.03437/0.5162, allocations: 19.34 MB / 406.8 MB, free: 36.65 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1)