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.001667/0.001667, allocations: 101.8 kB / 16.5 MB, free: 6.652 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.001834/0.001835, allocations: 194.5 kB / 17.42 MB, free: 6.066 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.62/1.62, allocations: 205.1 MB / 223.3 MB, free: 12.48 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.001081/0.001081, allocations: 51.92 kB / 279.4 MB, free: 3.574 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09386/0.09495, allocations: 46.62 MB / 326 MB, free: 4.891 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.00644/0.1014, allocations: 4.689 MB / 330.7 MB, free: 172 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002529/0.104, allocations: 1.325 MB / 332 MB, free: 14.84 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003229/0.1043, allocations: 27.81 kB / 332 MB, free: 14.81 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006833/0.1051, allocations: 182.9 kB / 332.2 MB, free: 14.63 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007674/0.1059, allocations: 326.3 kB / 332.5 MB, free: 14.31 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004375/0.1063, allocations: 187.8 kB / 332.7 MB, free: 14.12 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001873/0.1082, allocations: 1.771 MB / 334.5 MB, free: 12.35 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001021/0.1092, allocations: 0.7553 MB / 335.2 MB, free: 11.57 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007016/0.1099, allocations: 0.5214 MB / 335.7 MB, free: 11.05 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008096/0.1108, allocations: 0.7236 MB / 336.5 MB, free: 10.32 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001411/0.1109, allocations: 92 kB / 336.6 MB, free: 10.23 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001785/0.1111, allocations: 88 kB / 336.6 MB, free: 10.15 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003257/0.1114, allocations: 354.8 kB / 337 MB, free: 9.801 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006111/0.112, allocations: 0.6413 MB / 337.6 MB, free: 9.156 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001564/0.1136, allocations: 1.978 MB / 339.6 MB, free: 7.172 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1136, allocations: 0 / 339.6 MB, free: 7.172 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.1137, allocations: 0 / 339.6 MB, free: 7.172 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.634e-05/0.1137, allocations: 0 / 339.6 MB, free: 7.172 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.002736/0.1164, allocations: 1.634 MB / 341.2 MB, free: 5.48 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.1165, allocations: 8.031 kB / 341.2 MB, free: 5.473 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002118/0.1167, allocations: 139.2 kB / 341.4 MB, free: 5.336 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00119/0.1179, allocations: 0.8683 MB / 342.3 MB, free: 4.426 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.976e-05/0.1179, allocations: 70.38 kB / 342.3 MB, free: 4.359 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000154/0.1181, allocations: 100.1 kB / 342.4 MB, free: 4.262 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002252/0.1204, allocations: 1.431 MB / 343.9 MB, free: 2.797 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.754e-05/0.1204, allocations: 4 kB / 343.9 MB, free: 2.793 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/0.1205, allocations: 36 kB / 343.9 MB, free: 2.758 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.875e-05/0.1206, allocations: 38 kB / 343.9 MB, free: 2.723 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001942/0.1225, allocations: 1.288 MB / 345.2 MB, free: 1.434 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005738/0.1283, allocations: 4.328 MB / 349.5 MB, free: 13 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001836/0.1301, allocations: 1.967 MB / 351.5 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000947/0.1311, allocations: 0.6259 MB / 352.1 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.536e-05/0.1311, allocations: 12.66 kB / 352.1 MB, free: 10.17 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000873/0.132, allocations: 0.5937 MB / 352.7 MB, free: 9.559 MB / 302.1 MB Notification: Performance of pre-optimization done (n=75): time 4.298e-06/0.132, allocations: 7.984 kB / 352.7 MB, free: 9.551 MB / 302.1 MB Notification: Performance of matching and sorting (n=75): time 0.007005/0.139, allocations: 2.832 MB / 355.6 MB, free: 6.688 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.272e-05/0.1391, allocations: 119.5 kB / 355.7 MB, free: 6.547 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001017/0.1401, allocations: 0.8207 MB / 356.5 MB, free: 5.715 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.551e-05/0.1402, allocations: 41.7 kB / 356.6 MB, free: 5.668 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003735/0.1406, allocations: 487.8 kB / 357 MB, free: 5.184 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001903/0.1408, allocations: 244.5 kB / 357.3 MB, free: 4.941 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002058/0.141, allocations: 138.6 kB / 357.4 MB, free: 4.801 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001882/0.1412, allocations: 394.7 kB / 357.8 MB, free: 4.406 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006057/0.1418, allocations: 397.7 kB / 358.2 MB, free: 4.016 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006882/0.1425, allocations: 0.5455 MB / 358.7 MB, free: 3.414 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001246/0.1438, allocations: 0.9153 MB / 359.6 MB, free: 2.441 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.1438, allocations: 0 / 359.6 MB, free: 2.441 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001973/0.1458, allocations: 1.314 MB / 361 MB, free: 1.121 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.1458, allocations: 4 kB / 361 MB, free: 1.117 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.1458, allocations: 4 kB / 361 MB, free: 1.113 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001076/0.1469, allocations: 476.5 kB / 361.4 MB, free: 0.6445 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003572/0.1473, allocations: 95.83 kB / 361.5 MB, free: 0.5508 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006639/0.1539, allocations: 5.133 MB / 366.7 MB, free: 11.29 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005743/0.1545, allocations: 79.39 kB / 366.7 MB, free: 11.21 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.862e-05/0.1546, allocations: 28 kB / 366.8 MB, free: 11.18 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.0007169/0.1553, allocations: 463.2 kB / 367.2 MB, free: 10.72 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001347/0.1555, allocations: 87 kB / 367.3 MB, free: 10.63 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001789/0.1556, allocations: 112.6 kB / 367.4 MB, free: 10.52 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.1557, allocations: 4 kB / 367.4 MB, free: 10.51 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.1557, allocations: 4 kB / 367.4 MB, free: 10.51 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/0.1557, allocations: 3.984 kB / 367.4 MB, free: 10.5 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003927/0.1596, allocations: 2.608 MB / 370 MB, free: 7.832 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.1596, allocations: 3.938 kB / 370 MB, free: 7.828 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002839/0.1599, allocations: 63.89 kB / 370.1 MB, free: 7.766 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001011/0.1609, allocations: 460.3 kB / 370.5 MB, free: 7.312 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.795e-05/0.161, allocations: 19.98 kB / 370.6 MB, free: 7.293 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006573/0.1676, allocations: 5.087 MB / 375.7 MB, free: 2.066 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.1676, allocations: 0 / 375.7 MB, free: 2.066 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002943/0.1706, allocations: 1.916 MB / 377.6 MB, free: 132 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.1537/0.3243, allocations: 266.2 kB / 377.8 MB, free: 53.7 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001733/0.3245, allocations: 13.62 kB / 377.8 MB, free: 53.7 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000474/0.325, allocations: 41.88 kB / 377.9 MB, free: 53.7 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000236/0.3252, allocations: 73.75 kB / 378 MB, free: 53.7 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.902e-05/0.3253, allocations: 21 kB / 378 MB, free: 53.7 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007736/0.3261, allocations: 0.593 MB / 378.6 MB, free: 53.61 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3261, allocations: 0 / 378.6 MB, free: 53.61 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009221/0.327, allocations: 344 kB / 378.9 MB, free: 53.61 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.0001607/0.3272, allocations: 121.9 kB / 379 MB, free: 53.52 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002025/0.3292, allocations: 1.276 MB / 380.3 MB, free: 53.38 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.3292, allocations: 3.844 kB / 380.3 MB, free: 53.38 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001043/0.3303, allocations: 0.8182 MB / 381.1 MB, free: 53.23 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001068/0.3313, allocations: 263.1 kB / 381.4 MB, free: 53.22 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003839/0.3352, allocations: 2.779 MB / 384.2 MB, free: 51.89 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008193/0.336, allocations: 1.327 MB / 385.5 MB, free: 51.07 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004386/0.3365, allocations: 145.4 kB / 385.6 MB, free: 51.06 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001436/0.3366, allocations: 53.09 kB / 385.7 MB, free: 51.05 MB / 318.1 MB Notification: Performance of SimCode: time 8.52e-07/0.3366, allocations: 2.469 kB / 385.7 MB, free: 51.05 MB / 318.1 MB Notification: Performance of Templates: time 0.02581/0.3624, allocations: 18.53 MB / 404.2 MB, free: 39.05 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)