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.001938/0.001938, allocations: 108.6 kB / 15.73 MB, free: 72 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.00191/0.001909, allocations: 186.8 kB / 16.66 MB, free: 6.602 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.827/1.827, allocations: 205.1 MB / 222.5 MB, free: 4.488 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.001405/0.001405, allocations: 53.64 kB / 326.6 MB, free: 14.56 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1406, allocations: 46.61 MB / 373.2 MB, free: 1.441 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.00702/0.1477, allocations: 4.679 MB / 377.8 MB, free: 12.73 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003753/0.1515, allocations: 1.34 MB / 379.2 MB, free: 11.38 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008192/0.1524, allocations: 23.88 kB / 379.2 MB, free: 11.36 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000904/0.1534, allocations: 230.4 kB / 379.4 MB, free: 11.13 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001189/0.1546, allocations: 358 kB / 379.8 MB, free: 10.78 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005343/0.1551, allocations: 207.7 kB / 380 MB, free: 10.58 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001931/0.1571, allocations: 1.549 MB / 381.5 MB, free: 9.023 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001311/0.1584, allocations: 0.9176 MB / 382.5 MB, free: 8.086 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001572/0.16, allocations: 0.6346 MB / 383.1 MB, free: 7.449 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001581/0.1616, allocations: 0.755 MB / 383.8 MB, free: 6.691 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002516/0.1619, allocations: 168 kB / 384 MB, free: 6.527 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003196/0.1622, allocations: 164 kB / 384.2 MB, free: 6.367 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000485/0.1627, allocations: 434.8 kB / 384.6 MB, free: 5.941 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001083/0.1638, allocations: 0.7195 MB / 385.3 MB, free: 5.219 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002604/0.1664, allocations: 2.087 MB / 387.4 MB, free: 3.125 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.335e-06/0.1664, allocations: 0 / 387.4 MB, free: 3.125 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.1664, allocations: 4 kB / 387.4 MB, free: 3.121 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.287e-05/0.1665, allocations: 0 / 387.4 MB, free: 3.121 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.003931/0.1704, allocations: 1.657 MB / 389.1 MB, free: 1.41 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.635e-05/0.1705, allocations: 8.031 kB / 389.1 MB, free: 1.402 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003718/0.1709, allocations: 148 kB / 389.2 MB, free: 1.258 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001754/0.1726, allocations: 0.8846 MB / 390.1 MB, free: 340 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.966e-05/0.1727, allocations: 70.38 kB / 390.2 MB, free: 268 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001861/0.1729, allocations: 100.1 kB / 390.3 MB, free: 168 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002912/0.1758, allocations: 1.431 MB / 391.7 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.743e-05/0.1759, allocations: 0 / 391.7 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001166/0.176, allocations: 43.98 kB / 391.7 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-05/0.1761, allocations: 42 kB / 391.8 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002552/0.1787, allocations: 1.284 MB / 393.1 MB, free: 13.33 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008381/0.1871, allocations: 4.286 MB / 397.3 MB, free: 8.945 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002585/0.1897, allocations: 1.967 MB / 399.3 MB, free: 6.746 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001404/0.1912, allocations: 0.7392 MB / 400.1 MB, free: 6.008 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.835e-05/0.1912, allocations: 8.656 kB / 400.1 MB, free: 6 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001166/0.1924, allocations: 0.6015 MB / 400.7 MB, free: 5.375 MB / 334.1 MB Notification: Performance of pre-optimization done (n=75): time 4.218e-06/0.1924, allocations: 3.938 kB / 400.7 MB, free: 5.371 MB / 334.1 MB Notification: Performance of matching and sorting (n=75): time 0.00804/0.2005, allocations: 2.824 MB / 403.5 MB, free: 2.52 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/0.2006, allocations: 119.5 kB / 403.6 MB, free: 2.375 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001315/0.202, allocations: 0.8208 MB / 404.4 MB, free: 1.551 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 8.384e-05/0.202, allocations: 37.7 kB / 404.5 MB, free: 1.508 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004657/0.2025, allocations: 0.4889 MB / 405 MB, free: 1.012 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002982/0.2028, allocations: 253.9 kB / 405.2 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002418/0.2031, allocations: 134.6 kB / 405.3 MB, free: 0.625 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.00031/0.2034, allocations: 398.7 kB / 405.7 MB, free: 232 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000832/0.2042, allocations: 397.7 kB / 406.1 MB, free: 15.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007694/0.205, allocations: 0.5571 MB / 406.7 MB, free: 15.22 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001296/0.2063, allocations: 0.9114 MB / 407.6 MB, free: 14.26 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.2063, allocations: 0 / 407.6 MB, free: 14.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002375/0.2087, allocations: 1.315 MB / 408.9 MB, free: 12.93 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.119e-05/0.2088, allocations: 8 kB / 408.9 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/0.2088, allocations: 4 kB / 408.9 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001231/0.21, allocations: 476.5 kB / 409.4 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003891/0.2104, allocations: 91.83 kB / 409.5 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008677/0.2191, allocations: 5.567 MB / 415 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009541/0.2201, allocations: 83.58 kB / 415.1 MB, free: 6.566 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.187e-05/0.2202, allocations: 32 kB / 415.1 MB, free: 6.535 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.001099/0.2213, allocations: 459.2 kB / 415.6 MB, free: 6.078 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002304/0.2216, allocations: 91.44 kB / 415.7 MB, free: 5.988 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002395/0.2218, allocations: 112.5 kB / 415.8 MB, free: 5.875 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-05/0.2218, allocations: 8 kB / 415.8 MB, free: 5.867 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/0.2218, allocations: 0 / 415.8 MB, free: 5.867 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/0.2219, allocations: 3.984 kB / 415.8 MB, free: 5.863 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004796/0.2267, allocations: 2.598 MB / 418.4 MB, free: 3.207 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.706e-06/0.2267, allocations: 0 / 418.4 MB, free: 3.207 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003231/0.2271, allocations: 71.89 kB / 418.5 MB, free: 3.137 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001089/0.2282, allocations: 464.8 kB / 418.9 MB, free: 2.68 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.553e-05/0.2282, allocations: 12 kB / 418.9 MB, free: 2.668 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00775/0.236, allocations: 5.509 MB / 424.4 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.236, allocations: 4 kB / 424.4 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003026/0.2391, allocations: 1.925 MB / 426.4 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006512/0.2398, allocations: 272.4 kB / 426.6 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001076/0.2399, allocations: 23.98 kB / 426.7 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004293/0.2403, allocations: 39.95 kB / 426.7 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002809/0.2406, allocations: 76.53 kB / 426.8 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-05/0.2407, allocations: 16 kB / 426.8 MB, free: 10.63 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001013/0.2417, allocations: 0.5927 MB / 427.4 MB, free: 10.04 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2417, allocations: 0 / 427.4 MB, free: 10.04 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001265/0.243, allocations: 343.3 kB / 427.7 MB, free: 9.707 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.0002644/0.2432, allocations: 127.2 kB / 427.8 MB, free: 9.574 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002576/0.2458, allocations: 1.29 MB / 429.1 MB, free: 8.266 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.2459, allocations: 0 / 429.1 MB, free: 8.266 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001332/0.2472, allocations: 0.8324 MB / 430 MB, free: 7.422 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00126/0.2485, allocations: 278.5 kB / 430.2 MB, free: 7.148 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004478/0.253, allocations: 2.334 MB / 432.6 MB, free: 4.781 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001178/0.2542, allocations: 1.322 MB / 433.9 MB, free: 3.43 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004843/0.2547, allocations: 147.3 kB / 434 MB, free: 3.281 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001631/0.2548, allocations: 55.42 kB / 434.1 MB, free: 3.227 MB / 366.1 MB Notification: Performance of SimCode: time 7.61e-07/0.2548, allocations: 0 / 434.1 MB, free: 3.227 MB / 366.1 MB Notification: Performance of Templates: time 0.3428/0.5976, allocations: 19.78 MB / 453.9 MB, free: 72.78 MB / 382.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)