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.001568/0.001568, allocations: 90.72 kB / 16.65 MB, free: 6.535 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.002313/0.002313, allocations: 177 kB / 17.56 MB, free: 6.18 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.736/1.736, allocations: 205.4 MB / 223.7 MB, free: 13.07 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.000468/0.000468, allocations: 8 kB / 280.8 MB, free: 3.402 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1019, allocations: 47.59 MB / 328.3 MB, free: 3.742 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.005335/0.1073, allocations: 4.268 MB / 332.6 MB, free: 15.45 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003733/0.1111, allocations: 1.306 MB / 333.9 MB, free: 14.13 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004744/0.1116, allocations: 23.88 kB / 333.9 MB, free: 14.11 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006778/0.1122, allocations: 178.9 kB / 334.1 MB, free: 13.93 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007798/0.113, allocations: 322.4 kB / 334.4 MB, free: 13.62 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004201/0.1135, allocations: 179.8 kB / 334.6 MB, free: 13.44 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001771/0.1153, allocations: 1.775 MB / 336.4 MB, free: 11.66 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001023/0.1163, allocations: 0.7553 MB / 337.1 MB, free: 10.89 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006422/0.1169, allocations: 478 kB / 337.6 MB, free: 10.42 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008521/0.1178, allocations: 0.6534 MB / 338.3 MB, free: 9.762 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001127/0.1179, allocations: 64 kB / 338.3 MB, free: 9.699 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001548/0.1181, allocations: 68 kB / 338.4 MB, free: 9.633 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003039/0.1184, allocations: 330.8 kB / 338.7 MB, free: 9.309 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006362/0.1191, allocations: 0.6196 MB / 339.3 MB, free: 8.68 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001621/0.1207, allocations: 1.915 MB / 341.2 MB, free: 6.758 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1207, allocations: 0 / 341.2 MB, free: 6.758 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1207, allocations: 0 / 341.2 MB, free: 6.758 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.703e-05/0.1207, allocations: 0 / 341.2 MB, free: 6.758 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.002623/0.1234, allocations: 1.409 MB / 342.7 MB, free: 5.293 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.1234, allocations: 8.031 kB / 342.7 MB, free: 5.285 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002308/0.1236, allocations: 147.3 kB / 342.8 MB, free: 5.141 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001227/0.1249, allocations: 0.8644 MB / 343.7 MB, free: 4.234 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.388e-05/0.125, allocations: 74.36 kB / 343.7 MB, free: 4.164 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001574/0.1251, allocations: 100.1 kB / 343.8 MB, free: 4.066 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002487/0.1276, allocations: 1.435 MB / 345.3 MB, free: 2.598 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.914e-05/0.1277, allocations: 0 / 345.3 MB, free: 2.598 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001136/0.1278, allocations: 43.98 kB / 345.3 MB, free: 2.555 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.88e-05/0.1279, allocations: 42 kB / 345.4 MB, free: 2.516 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002209/0.1301, allocations: 1.3 MB / 346.7 MB, free: 1.215 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006528/0.1366, allocations: 4.355 MB / 351 MB, free: 12.75 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002129/0.1388, allocations: 1.978 MB / 353 MB, free: 10.56 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008924/0.1397, allocations: 0.6337 MB / 353.6 MB, free: 9.922 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.246e-05/0.1397, allocations: 8.656 kB / 353.6 MB, free: 9.91 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009708/0.1407, allocations: 0.6054 MB / 354.2 MB, free: 9.285 MB / 302.1 MB Notification: Performance of pre-optimization done (n=75): time 2.234e-06/0.1407, allocations: 0 / 354.2 MB, free: 9.285 MB / 302.1 MB Notification: Performance of matching and sorting (n=75): time 0.007369/0.1481, allocations: 2.875 MB / 357.1 MB, free: 6.379 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.59e-05/0.1482, allocations: 111.5 kB / 357.2 MB, free: 6.246 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00117/0.1494, allocations: 0.8207 MB / 358 MB, free: 5.414 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.766e-05/0.1495, allocations: 41.7 kB / 358.1 MB, free: 5.367 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004266/0.1499, allocations: 487.8 kB / 358.6 MB, free: 4.883 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002143/0.1502, allocations: 240.5 kB / 358.8 MB, free: 4.645 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.1503, allocations: 69.69 kB / 358.9 MB, free: 4.57 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001834/0.1505, allocations: 390.8 kB / 359.2 MB, free: 4.18 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006271/0.1511, allocations: 405.7 kB / 359.6 MB, free: 3.785 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007806/0.1519, allocations: 0.5493 MB / 360.2 MB, free: 3.18 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001429/0.1533, allocations: 0.9348 MB / 361.1 MB, free: 2.188 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.653e-06/0.1533, allocations: 4 kB / 361.1 MB, free: 2.184 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00233/0.1557, allocations: 1.326 MB / 362.5 MB, free: 0.8516 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/0.1557, allocations: 11.97 kB / 362.5 MB, free: 0.8398 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.1557, allocations: 4 kB / 362.5 MB, free: 0.8359 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001087/0.1568, allocations: 468.2 kB / 362.9 MB, free: 384 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003534/0.1572, allocations: 99.88 kB / 363 MB, free: 284 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006623/0.1638, allocations: 5.148 MB / 368.2 MB, free: 10.99 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006057/0.1645, allocations: 87.39 kB / 368.3 MB, free: 10.91 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.975e-05/0.1645, allocations: 24 kB / 368.3 MB, free: 10.88 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.0007792/0.1653, allocations: 463.2 kB / 368.7 MB, free: 10.42 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001329/0.1654, allocations: 87 kB / 368.8 MB, free: 10.34 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002577/0.1657, allocations: 112.6 kB / 368.9 MB, free: 10.22 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.1657, allocations: 4 kB / 368.9 MB, free: 10.21 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.1657, allocations: 4 kB / 368.9 MB, free: 10.21 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.1657, allocations: 3.984 kB / 368.9 MB, free: 10.21 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003891/0.1696, allocations: 2.635 MB / 371.6 MB, free: 7.508 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/0.1697, allocations: 4 kB / 371.6 MB, free: 7.504 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002946/0.17, allocations: 71.89 kB / 371.6 MB, free: 7.434 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000966/0.1709, allocations: 460.3 kB / 372.1 MB, free: 6.98 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.934e-05/0.171, allocations: 15.98 kB / 372.1 MB, free: 6.965 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006511/0.1775, allocations: 5.103 MB / 377.2 MB, free: 1.727 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.1776, allocations: 0 / 377.2 MB, free: 1.727 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1746/0.3522, allocations: 1.922 MB / 379.1 MB, free: 52.43 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005887/0.3528, allocations: 271.1 kB / 379.4 MB, free: 52.34 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001194/0.353, allocations: 16.31 kB / 379.4 MB, free: 52.34 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004688/0.3534, allocations: 50.02 kB / 379.5 MB, free: 52.34 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002407/0.3537, allocations: 73.81 kB / 379.5 MB, free: 52.34 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.299e-05/0.3537, allocations: 19.09 kB / 379.6 MB, free: 52.34 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008169/0.3546, allocations: 0.5952 MB / 380.2 MB, free: 52.25 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.3546, allocations: 0 / 380.2 MB, free: 52.25 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001117/0.3557, allocations: 341.2 kB / 380.5 MB, free: 52.25 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.0002217/0.3559, allocations: 129.6 kB / 380.6 MB, free: 52.16 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003009/0.3589, allocations: 1.296 MB / 381.9 MB, free: 52.02 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.359, allocations: 0 / 381.9 MB, free: 52.02 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00127/0.3602, allocations: 0.8271 MB / 382.7 MB, free: 51.87 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001186/0.3614, allocations: 251 kB / 383 MB, free: 51.86 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004539/0.366, allocations: 2.811 MB / 385.8 MB, free: 50.72 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001102/0.3671, allocations: 1.321 MB / 387.1 MB, free: 49.91 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006049/0.3677, allocations: 143.5 kB / 387.3 MB, free: 49.89 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001688/0.3679, allocations: 56.55 kB / 387.3 MB, free: 49.88 MB / 318.1 MB Notification: Performance of SimCode: time 1.313e-06/0.3679, allocations: 0 / 387.3 MB, free: 49.88 MB / 318.1 MB Notification: Performance of Templates: time 0.02494/0.3929, allocations: 18.22 MB / 405.5 MB, free: 38.19 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)