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.01084/0.01084, allocations: 103.2 kB / 15.73 MB, free: 5.957 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.002042/0.002042, allocations: 187.4 kB / 16.67 MB, free: 5.887 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.832/1.832, allocations: 205.1 MB / 222.6 MB, free: 4.492 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.001325/0.001325, allocations: 53.27 kB / 326.6 MB, free: 14.42 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1302, allocations: 46.62 MB / 373.2 MB, free: 1.305 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.006709/0.1369, allocations: 4.659 MB / 377.9 MB, free: 12.61 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003555/0.1405, allocations: 1.34 MB / 379.2 MB, free: 11.27 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008964/0.1415, allocations: 23.88 kB / 379.2 MB, free: 11.24 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009711/0.1425, allocations: 210.5 kB / 379.4 MB, free: 11.04 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001457/0.144, allocations: 358 kB / 379.8 MB, free: 10.68 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006867/0.1447, allocations: 215.6 kB / 380 MB, free: 10.47 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002455/0.1471, allocations: 1.545 MB / 381.5 MB, free: 8.922 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001355/0.1485, allocations: 0.9137 MB / 382.4 MB, free: 7.988 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001319/0.1499, allocations: 0.6268 MB / 383.1 MB, free: 7.359 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001431/0.1513, allocations: 0.7666 MB / 383.8 MB, free: 6.59 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003041/0.1516, allocations: 164 kB / 384 MB, free: 6.43 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003637/0.152, allocations: 160 kB / 384.1 MB, free: 6.273 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004988/0.1525, allocations: 438.8 kB / 384.6 MB, free: 5.844 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001087/0.1536, allocations: 0.7272 MB / 385.3 MB, free: 5.113 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002771/0.1564, allocations: 2.072 MB / 387.4 MB, free: 3.035 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.142e-05/0.1564, allocations: 0 / 387.4 MB, free: 3.035 MB / 318.1 MB Notification: Performance of FrontEnd: time 5.019e-06/0.1565, allocations: 0 / 387.4 MB, free: 3.035 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.439e-05/0.1565, allocations: 3.938 kB / 387.4 MB, free: 3.031 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.004883/0.1614, allocations: 1.623 MB / 389 MB, free: 1.355 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.528e-05/0.1615, allocations: 8.031 kB / 389 MB, free: 1.348 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003864/0.1619, allocations: 135.3 kB / 389.1 MB, free: 1.215 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001886/0.1638, allocations: 0.8801 MB / 390 MB, free: 300 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.863e-05/0.1639, allocations: 70.38 kB / 390.1 MB, free: 228 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000193/0.1641, allocations: 104 kB / 390.2 MB, free: 124 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002934/0.167, allocations: 1.431 MB / 391.6 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.001e-05/0.1671, allocations: 8 kB / 391.6 MB, free: 14.65 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001228/0.1672, allocations: 36 kB / 391.7 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-05/0.1673, allocations: 41.98 kB / 391.7 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00249/0.1698, allocations: 1.288 MB / 393 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008415/0.1782, allocations: 4.265 MB / 397.3 MB, free: 8.918 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002778/0.1811, allocations: 1.963 MB / 399.2 MB, free: 6.723 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001552/0.1827, allocations: 0.7469 MB / 400 MB, free: 5.977 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.415e-05/0.1828, allocations: 4.656 kB / 400 MB, free: 5.973 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001206/0.184, allocations: 0.5976 MB / 400.6 MB, free: 5.352 MB / 334.1 MB Notification: Performance of pre-optimization done (n=75): time 2.916e-06/0.184, allocations: 0 / 400.6 MB, free: 5.352 MB / 334.1 MB Notification: Performance of matching and sorting (n=75): time 0.00814/0.1922, allocations: 2.828 MB / 403.4 MB, free: 2.496 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001353/0.1924, allocations: 123.4 kB / 403.5 MB, free: 2.348 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001504/0.1939, allocations: 0.8207 MB / 404.3 MB, free: 1.523 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.232e-05/0.194, allocations: 41.7 kB / 404.4 MB, free: 1.477 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004751/0.1945, allocations: 479.7 kB / 404.9 MB, free: 1 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002801/0.1947, allocations: 244.5 kB / 405.1 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002296/0.195, allocations: 130.7 kB / 405.2 MB, free: 0.625 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000183/0.1952, allocations: 402.7 kB / 405.6 MB, free: 228 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006796/0.1959, allocations: 397.7 kB / 406 MB, free: 15.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000758/0.1966, allocations: 0.5455 MB / 406.5 MB, free: 15.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00135/0.198, allocations: 0.9192 MB / 407.5 MB, free: 14.26 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.204e-06/0.198, allocations: 4 kB / 407.5 MB, free: 14.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002337/0.2004, allocations: 1.31 MB / 408.8 MB, free: 12.93 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.885e-05/0.2004, allocations: 8 kB / 408.8 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/0.2004, allocations: 4.469 kB / 408.8 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001139/0.2016, allocations: 480.2 kB / 409.3 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003641/0.2019, allocations: 91.83 kB / 409.4 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007829/0.2098, allocations: 5.566 MB / 414.9 MB, free: 6.645 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000858/0.2107, allocations: 83.45 kB / 415 MB, free: 6.562 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.849e-05/0.2108, allocations: 28 kB / 415 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.0009416/0.2118, allocations: 463.1 kB / 415.5 MB, free: 6.074 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000185/0.212, allocations: 83.05 kB / 415.6 MB, free: 5.992 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002548/0.2122, allocations: 112.6 kB / 415.7 MB, free: 5.879 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/0.2122, allocations: 12 kB / 415.7 MB, free: 5.867 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/0.2123, allocations: 3.984 kB / 415.7 MB, free: 5.863 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.585e-06/0.2123, allocations: 3.984 kB / 415.7 MB, free: 5.859 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004478/0.2167, allocations: 2.59 MB / 418.3 MB, free: 3.211 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/0.2168, allocations: 0 / 418.3 MB, free: 3.211 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003294/0.2171, allocations: 63.89 kB / 418.3 MB, free: 3.148 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001045/0.2182, allocations: 464.8 kB / 418.8 MB, free: 2.691 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.942e-05/0.2183, allocations: 12 kB / 418.8 MB, free: 2.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007229/0.2255, allocations: 5.512 MB / 424.3 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.2255, allocations: 0 / 424.3 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002928/0.2285, allocations: 1.917 MB / 426.2 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000589/0.2291, allocations: 267.9 kB / 426.5 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001194/0.2292, allocations: 19.98 kB / 426.5 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004398/0.2297, allocations: 39.95 kB / 426.6 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000214/0.2299, allocations: 76.53 kB / 426.6 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.553e-05/0.23, allocations: 20 kB / 426.6 MB, free: 10.65 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008041/0.2308, allocations: 0.5927 MB / 427.2 MB, free: 10.07 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2308, allocations: 4 kB / 427.2 MB, free: 10.06 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001089/0.2319, allocations: 335.1 kB / 427.6 MB, free: 9.734 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.0002065/0.2321, allocations: 123.2 kB / 427.7 MB, free: 9.605 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002211/0.2343, allocations: 1.282 MB / 429 MB, free: 8.305 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.2343, allocations: 0 / 429 MB, free: 8.305 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001354/0.2357, allocations: 0.8325 MB / 429.8 MB, free: 7.461 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001256/0.237, allocations: 282.5 kB / 430.1 MB, free: 7.184 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004354/0.2413, allocations: 2.298 MB / 432.4 MB, free: 4.855 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001052/0.2424, allocations: 1.322 MB / 433.7 MB, free: 3.504 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006777/0.2431, allocations: 143.3 kB / 433.8 MB, free: 3.359 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001525/0.2433, allocations: 51.44 kB / 433.9 MB, free: 3.309 MB / 366.1 MB Notification: Performance of SimCode: time 1.022e-06/0.2433, allocations: 0 / 433.9 MB, free: 3.309 MB / 366.1 MB Notification: Performance of Templates: time 0.299/0.5423, allocations: 19.8 MB / 453.7 MB, free: 73.18 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)