Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.009105/0.009105, allocations: 101.1 kB / 15.73 MB, free: 6.035 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.001696/0.001696, allocations: 186.8 kB / 16.67 MB, free: 5.973 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.789/1.789, allocations: 205.1 MB / 222.5 MB, free: 4.375 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.001574/0.001574, allocations: 50.05 kB / 326.6 MB, free: 14.46 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1254, allocations: 46.64 MB / 373.2 MB, free: 1.297 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.007824/0.1332, allocations: 4.655 MB / 377.9 MB, free: 12.61 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004244/0.1375, allocations: 1.34 MB / 379.2 MB, free: 11.26 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001344/0.1389, allocations: 23.88 kB / 379.2 MB, free: 11.24 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001211/0.1403, allocations: 222.4 kB / 379.4 MB, free: 11.02 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002136/0.1424, allocations: 358 kB / 379.8 MB, free: 10.67 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009493/0.1434, allocations: 215.7 kB / 380 MB, free: 10.46 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002843/0.1463, allocations: 1.545 MB / 381.5 MB, free: 8.906 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001975/0.1483, allocations: 0.9176 MB / 382.5 MB, free: 7.969 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001308/0.1496, allocations: 0.6385 MB / 383.1 MB, free: 7.328 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001537/0.1512, allocations: 0.755 MB / 383.9 MB, free: 6.57 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004744/0.1517, allocations: 164 kB / 384 MB, free: 6.41 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006542/0.1523, allocations: 164 kB / 384.2 MB, free: 6.25 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006121/0.1529, allocations: 434.8 kB / 384.6 MB, free: 5.824 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001563/0.1545, allocations: 0.7272 MB / 385.3 MB, free: 5.094 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00277/0.1573, allocations: 2.076 MB / 387.4 MB, free: 3.012 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1573, allocations: 4 kB / 387.4 MB, free: 3.008 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1573, allocations: 0 / 387.4 MB, free: 3.008 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.809e-05/0.1574, allocations: 0 / 387.4 MB, free: 3.008 MB / 318.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.004905/0.1623, allocations: 1.623 MB / 389 MB, free: 1.332 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.739e-05/0.1624, allocations: 12.03 kB / 389 MB, free: 1.32 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005288/0.163, allocations: 139.3 kB / 389.2 MB, free: 1.184 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001819/0.1648, allocations: 0.8723 MB / 390 MB, free: 276 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.893e-05/0.1649, allocations: 78.38 kB / 390.1 MB, free: 196 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001724/0.1651, allocations: 104 kB / 390.2 MB, free: 92 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002578/0.1676, allocations: 1.427 MB / 391.6 MB, free: 14.63 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.442e-05/0.1677, allocations: 0 / 391.6 MB, free: 14.63 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/0.1678, allocations: 47.98 kB / 391.7 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-05/0.1679, allocations: 42 kB / 391.7 MB, free: 14.54 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002317/0.1702, allocations: 1.288 MB / 393 MB, free: 13.25 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007489/0.1777, allocations: 4.269 MB / 397.3 MB, free: 8.883 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002384/0.1801, allocations: 1.963 MB / 399.3 MB, free: 6.688 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001431/0.1816, allocations: 0.7352 MB / 400 MB, free: 5.953 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.651e-05/0.1817, allocations: 12.64 kB / 400 MB, free: 5.941 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001084/0.1828, allocations: 0.5975 MB / 400.6 MB, free: 5.32 MB / 334.1 MB Notification: Performance of pre-optimization done (n=75): time 3.737e-06/0.1828, allocations: 0 / 400.6 MB, free: 5.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=75): time 0.008272/0.1911, allocations: 2.828 MB / 403.4 MB, free: 2.465 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.265e-05/0.1912, allocations: 111.5 kB / 403.5 MB, free: 2.328 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00188/0.1931, allocations: 0.8246 MB / 404.4 MB, free: 1.5 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001434/0.1933, allocations: 41.7 kB / 404.4 MB, free: 1.453 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006345/0.1939, allocations: 491.7 kB / 404.9 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003096/0.1943, allocations: 240.5 kB / 405.1 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003094/0.1946, allocations: 134.7 kB / 405.3 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002359/0.1948, allocations: 394.7 kB / 405.6 MB, free: 200 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008709/0.1957, allocations: 393.7 kB / 406 MB, free: 15.81 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000831/0.1966, allocations: 0.5493 MB / 406.6 MB, free: 15.2 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00152/0.1981, allocations: 0.9192 MB / 407.5 MB, free: 14.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.155e-05/0.1981, allocations: 0 / 407.5 MB, free: 14.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002565/0.2007, allocations: 1.315 MB / 408.8 MB, free: 12.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.898e-05/0.2007, allocations: 4 kB / 408.8 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.084e-05/0.2008, allocations: 4 kB / 408.8 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001498/0.2023, allocations: 476.3 kB / 409.3 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004289/0.2027, allocations: 99.81 kB / 409.4 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008716/0.2115, allocations: 5.562 MB / 414.9 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008425/0.2124, allocations: 79.45 kB / 415 MB, free: 6.543 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001403/0.2125, allocations: 27.98 kB / 415 MB, free: 6.516 MB / 350.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.001094/0.2136, allocations: 467.1 kB / 415.5 MB, free: 6.051 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003152/0.214, allocations: 87.06 kB / 415.6 MB, free: 5.965 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003329/0.2143, allocations: 112.5 kB / 415.7 MB, free: 5.852 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/0.2143, allocations: 11.94 kB / 415.7 MB, free: 5.84 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.2143, allocations: 0 / 415.7 MB, free: 5.84 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.2143, allocations: 3.984 kB / 415.7 MB, free: 5.836 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005092/0.2194, allocations: 2.594 MB / 418.3 MB, free: 3.184 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.2195, allocations: 0 / 418.3 MB, free: 3.184 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003328/0.2198, allocations: 63.91 kB / 418.4 MB, free: 3.121 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001105/0.2209, allocations: 460.6 kB / 418.8 MB, free: 2.668 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.792e-05/0.221, allocations: 12.12 kB / 418.8 MB, free: 2.656 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00846/0.2295, allocations: 5.516 MB / 424.3 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.2296, allocations: 0 / 424.3 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003449/0.233, allocations: 1.913 MB / 426.3 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006876/0.2338, allocations: 271.9 kB / 426.5 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002211/0.234, allocations: 12 kB / 426.5 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005246/0.2345, allocations: 48.05 kB / 426.6 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002638/0.2348, allocations: 80.5 kB / 426.7 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.605e-05/0.2349, allocations: 24 kB / 426.7 MB, free: 10.62 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0012/0.2361, allocations: 0.5849 MB / 427.3 MB, free: 10.04 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2361, allocations: 0 / 427.3 MB, free: 10.04 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001544/0.2377, allocations: 343 kB / 427.6 MB, free: 9.703 MB / 366.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.000244/0.2379, allocations: 119.2 kB / 427.7 MB, free: 9.578 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002536/0.2405, allocations: 1.282 MB / 429 MB, free: 8.277 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.2405, allocations: 0 / 429 MB, free: 8.277 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001472/0.242, allocations: 0.8321 MB / 429.8 MB, free: 7.434 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001576/0.2436, allocations: 274.6 kB / 430.1 MB, free: 7.164 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005837/0.2494, allocations: 2.302 MB / 432.4 MB, free: 4.832 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001723/0.2512, allocations: 1.325 MB / 433.7 MB, free: 3.477 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0007898/0.252, allocations: 139.3 kB / 433.9 MB, free: 3.336 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002616/0.2523, allocations: 63.42 kB / 433.9 MB, free: 3.273 MB / 366.1 MB Notification: Performance of SimCode: time 1.523e-06/0.2523, allocations: 0 / 433.9 MB, free: 3.273 MB / 366.1 MB Notification: Performance of Templates: time 0.2947/0.547, allocations: 19.78 MB / 453.7 MB, free: 72.63 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile (rm -f Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1)