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.0014/0.0014, allocations: 108 kB / 15.61 MB, free: 152 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.001756/0.001756, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.471/1.471, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.001444/0.001444, allocations: 59.86 kB / 278.7 MB, free: 12.32 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.2242, allocations: 46.64 MB / 325.3 MB, free: 1.871 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.005749/0.2299, allocations: 4.659 MB / 330 MB, free: 14.2 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002827/0.2328, allocations: 1.338 MB / 331.3 MB, free: 13.09 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003055/0.2331, allocations: 26.75 kB / 331.4 MB, free: 13.08 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005709/0.2337, allocations: 213.4 kB / 331.6 MB, free: 12.91 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007374/0.2345, allocations: 357.8 kB / 331.9 MB, free: 12.62 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003859/0.2349, allocations: 218.8 kB / 332.1 MB, free: 12.43 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001385/0.2363, allocations: 1.535 MB / 333.7 MB, free: 11.52 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009948/0.2373, allocations: 0.9132 MB / 334.6 MB, free: 10.63 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007442/0.238, allocations: 0.6308 MB / 335.2 MB, free: 10 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008587/0.2389, allocations: 0.7549 MB / 336 MB, free: 9.242 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001946/0.2391, allocations: 164 kB / 336.1 MB, free: 9.082 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002469/0.2393, allocations: 160 kB / 336.3 MB, free: 8.926 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004922/0.2398, allocations: 438.8 kB / 336.7 MB, free: 8.496 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006767/0.2405, allocations: 0.7233 MB / 337.4 MB, free: 7.77 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001642/0.2422, allocations: 2.06 MB / 339.5 MB, free: 5.703 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2422, allocations: 0 / 339.5 MB, free: 5.703 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2422, allocations: 0 / 339.5 MB, free: 5.703 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.699e-05/0.2422, allocations: 4 kB / 339.5 MB, free: 5.699 MB / 270.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.002713/0.2449, allocations: 1.615 MB / 341.1 MB, free: 4.027 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.245, allocations: 8.031 kB / 341.1 MB, free: 4.02 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002137/0.2452, allocations: 143.2 kB / 341.3 MB, free: 3.879 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001176/0.2464, allocations: 0.8644 MB / 342.1 MB, free: 2.973 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.003e-05/0.2465, allocations: 74.38 kB / 342.2 MB, free: 2.902 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001594/0.2466, allocations: 100.1 kB / 342.3 MB, free: 2.805 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002251/0.2489, allocations: 1.431 MB / 343.7 MB, free: 1.34 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.847e-05/0.2489, allocations: 4 kB / 343.7 MB, free: 1.336 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/0.249, allocations: 40 kB / 343.8 MB, free: 1.297 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.35e-05/0.2491, allocations: 41.98 kB / 343.8 MB, free: 1.258 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002079/0.2512, allocations: 1.288 MB / 345.1 MB, free: 15.96 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006182/0.2574, allocations: 4.328 MB / 349.4 MB, free: 11.53 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001896/0.2593, allocations: 1.959 MB / 351.4 MB, free: 9.348 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008349/0.2602, allocations: 0.622 MB / 352 MB, free: 8.723 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.905e-05/0.2602, allocations: 8.656 kB / 352 MB, free: 8.711 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000816/0.261, allocations: 0.5976 MB / 352.6 MB, free: 8.094 MB / 286.1 MB Notification: Performance of pre-optimization done (n=75): time 2.425e-06/0.2611, allocations: 0 / 352.6 MB, free: 8.094 MB / 286.1 MB Notification: Performance of matching and sorting (n=75): time 0.006825/0.2679, allocations: 2.841 MB / 355.5 MB, free: 5.223 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.796e-05/0.268, allocations: 115.5 kB / 355.6 MB, free: 5.086 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001074/0.2691, allocations: 0.8207 MB / 356.4 MB, free: 4.258 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.265e-05/0.2692, allocations: 45.64 kB / 356.4 MB, free: 4.207 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003905/0.2696, allocations: 483.8 kB / 356.9 MB, free: 3.727 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001957/0.2698, allocations: 244.5 kB / 357.1 MB, free: 3.484 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002019/0.27, allocations: 138.6 kB / 357.3 MB, free: 3.344 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.2701, allocations: 394.8 kB / 357.7 MB, free: 2.949 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005873/0.2707, allocations: 393.7 kB / 358.1 MB, free: 2.562 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006981/0.2715, allocations: 0.5493 MB / 358.6 MB, free: 1.953 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001261/0.2727, allocations: 0.9153 MB / 359.5 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.2727, allocations: 0 / 359.5 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00205/0.2748, allocations: 1.318 MB / 360.8 MB, free: 15.66 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.694e-05/0.2748, allocations: 4.469 kB / 360.8 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.2749, allocations: 11.98 kB / 360.8 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001042/0.2759, allocations: 468.2 kB / 361.3 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003544/0.2763, allocations: 95.83 kB / 361.4 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007048/0.2833, allocations: 5.578 MB / 367 MB, free: 9.371 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000654/0.284, allocations: 79.45 kB / 367.1 MB, free: 9.293 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.468e-05/0.2841, allocations: 24 kB / 367.1 MB, free: 9.27 MB / 302.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.0007486/0.2849, allocations: 475.2 kB / 367.5 MB, free: 8.797 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002017/0.2851, allocations: 86.97 kB / 367.6 MB, free: 8.711 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000242/0.2853, allocations: 112.5 kB / 367.7 MB, free: 8.594 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.2853, allocations: 4 kB / 367.7 MB, free: 8.59 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.2853, allocations: 4 kB / 367.7 MB, free: 8.586 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.2854, allocations: 3.984 kB / 367.7 MB, free: 8.582 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00482/0.2902, allocations: 2.611 MB / 370.4 MB, free: 5.906 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.2902, allocations: 4 kB / 370.4 MB, free: 5.902 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003051/0.2905, allocations: 67.89 kB / 370.4 MB, free: 5.836 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001066/0.2916, allocations: 460.3 kB / 370.9 MB, free: 5.383 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.887e-05/0.2917, allocations: 16 kB / 370.9 MB, free: 5.367 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007656/0.2993, allocations: 5.548 MB / 376.4 MB, free: 15.67 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.2994, allocations: 0 / 376.4 MB, free: 15.67 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002997/0.3024, allocations: 1.927 MB / 378.4 MB, free: 13.72 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005052/0.3029, allocations: 279.8 kB / 378.6 MB, free: 13.43 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001706/0.3031, allocations: 16 kB / 378.7 MB, free: 13.41 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004631/0.3036, allocations: 39.95 kB / 378.7 MB, free: 13.38 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001963/0.3038, allocations: 76.53 kB / 378.8 MB, free: 13.3 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.675e-05/0.3038, allocations: 16 kB / 378.8 MB, free: 13.28 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008382/0.3047, allocations: 0.5966 MB / 379.4 MB, free: 12.69 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3047, allocations: 0 / 379.4 MB, free: 12.69 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001102/0.3058, allocations: 335.1 kB / 379.7 MB, free: 12.36 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.0002079/0.306, allocations: 119.2 kB / 379.8 MB, free: 12.23 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002567/0.3086, allocations: 1.426 MB / 381.3 MB, free: 10.8 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.3086, allocations: 0.875 kB / 381.3 MB, free: 10.8 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001192/0.3098, allocations: 0.8318 MB / 382.1 MB, free: 9.953 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001154/0.3109, allocations: 270.9 kB / 382.4 MB, free: 9.691 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00496/0.3159, allocations: 2.348 MB / 384.7 MB, free: 7.312 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001483/0.3174, allocations: 1.322 MB / 386 MB, free: 5.965 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005753/0.318, allocations: 147.3 kB / 386.2 MB, free: 5.816 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001694/0.3182, allocations: 51.44 kB / 386.2 MB, free: 5.766 MB / 318.1 MB Notification: Performance of SimCode: time 9.32e-07/0.3182, allocations: 3.938 kB / 386.2 MB, free: 5.762 MB / 318.1 MB Notification: Performance of Templates: time 0.03067/0.3489, allocations: 19.56 MB / 405.8 MB, free: 2.172 MB / 334.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)