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.001568/0.001568, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001873/0.001873, allocations: 194.8 kB / 16.25 MB, free: 6.621 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.761/1.761, allocations: 205.1 MB / 222.1 MB, free: 4.699 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.001335/0.001335, allocations: 43.94 kB / 278.2 MB, free: 12.65 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3634/0.3648, allocations: 46.64 MB / 324.9 MB, free: 1.922 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.007284/0.3721, allocations: 4.682 MB / 329.5 MB, free: 14.24 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.004692/0.3769, allocations: 1.327 MB / 330.9 MB, free: 13.15 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001418/0.3784, allocations: 25.38 kB / 330.9 MB, free: 13.14 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001139/0.3796, allocations: 174.8 kB / 331.1 MB, free: 13 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001827/0.3815, allocations: 321.4 kB / 331.4 MB, free: 12.75 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000722/0.3822, allocations: 191.6 kB / 331.6 MB, free: 12.59 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.00317/0.3854, allocations: 1.535 MB / 333.1 MB, free: 11.68 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001479/0.3869, allocations: 0.9153 MB / 334 MB, free: 10.88 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001617/0.3885, allocations: 0.6308 MB / 334.7 MB, free: 10.25 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001389/0.3899, allocations: 0.7861 MB / 335.4 MB, free: 9.457 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002685/0.3902, allocations: 164 kB / 335.6 MB, free: 9.297 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003255/0.3906, allocations: 164 kB / 335.8 MB, free: 9.137 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005089/0.3911, allocations: 434.8 kB / 336.2 MB, free: 8.711 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001193/0.3923, allocations: 0.7234 MB / 336.9 MB, free: 7.984 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002786/0.3951, allocations: 2.056 MB / 339 MB, free: 5.922 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.167e-05/0.3951, allocations: 4 kB / 339 MB, free: 5.918 MB / 270.1 MB Notification: Performance of FrontEnd: time 4.288e-06/0.3951, allocations: 0 / 339 MB, free: 5.918 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.488e-05/0.3952, allocations: 0 / 339 MB, free: 5.918 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.004333/0.3995, allocations: 1.631 MB / 340.6 MB, free: 4.23 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.135e-05/0.3997, allocations: 8.031 kB / 340.6 MB, free: 4.223 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000382/0.4, allocations: 139.2 kB / 340.7 MB, free: 4.086 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001883/0.4019, allocations: 0.8645 MB / 341.6 MB, free: 3.18 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.105e-05/0.402, allocations: 70.38 kB / 341.7 MB, free: 3.113 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000262/0.4023, allocations: 108 kB / 341.8 MB, free: 3.008 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003157/0.4055, allocations: 1.423 MB / 343.2 MB, free: 1.551 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.034e-05/0.4055, allocations: 3.938 kB / 343.2 MB, free: 1.547 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001249/0.4057, allocations: 43.98 kB / 343.2 MB, free: 1.504 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.399e-05/0.4058, allocations: 45.98 kB / 343.3 MB, free: 1.461 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002488/0.4083, allocations: 1.28 MB / 344.6 MB, free: 180 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008021/0.4163, allocations: 4.32 MB / 348.9 MB, free: 11.75 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002374/0.4188, allocations: 1.97 MB / 350.9 MB, free: 9.562 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001121/0.4199, allocations: 0.6259 MB / 351.5 MB, free: 8.934 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.145e-05/0.42, allocations: 12.64 kB / 351.5 MB, free: 8.918 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001128/0.4211, allocations: 0.5898 MB / 352.1 MB, free: 8.309 MB / 286.1 MB Notification: Performance of pre-optimization done (n=75): time 6.633e-06/0.4212, allocations: 4 kB / 352.1 MB, free: 8.305 MB / 286.1 MB Notification: Performance of matching and sorting (n=75): time 0.008194/0.4294, allocations: 2.837 MB / 354.9 MB, free: 5.438 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/0.4295, allocations: 115.5 kB / 355 MB, free: 5.301 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001414/0.431, allocations: 0.8246 MB / 355.9 MB, free: 4.469 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 9.333e-05/0.4311, allocations: 41.7 kB / 355.9 MB, free: 4.422 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000567/0.4316, allocations: 483.8 kB / 356.4 MB, free: 3.941 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002656/0.4319, allocations: 240.5 kB / 356.6 MB, free: 3.703 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002549/0.4322, allocations: 142.5 kB / 356.8 MB, free: 3.559 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002667/0.4325, allocations: 386.8 kB / 357.1 MB, free: 3.172 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007186/0.4332, allocations: 405.7 kB / 357.5 MB, free: 2.773 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008624/0.4341, allocations: 0.5415 MB / 358.1 MB, free: 2.176 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001516/0.4356, allocations: 0.9192 MB / 359 MB, free: 1.199 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.026e-06/0.4356, allocations: 0 / 359 MB, free: 1.199 MB / 286.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002468/0.4381, allocations: 1.318 MB / 360.3 MB, free: 15.88 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.371e-05/0.4381, allocations: 8 kB / 360.3 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.749e-05/0.4382, allocations: 4 kB / 360.3 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001231/0.4394, allocations: 476.5 kB / 360.8 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003793/0.4398, allocations: 91.88 kB / 360.9 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007784/0.4476, allocations: 5.578 MB / 366.5 MB, free: 9.59 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000897/0.4485, allocations: 83.5 kB / 366.5 MB, free: 9.508 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.268e-05/0.4486, allocations: 27.98 kB / 366.6 MB, free: 9.48 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.001024/0.4497, allocations: 467.1 kB / 367 MB, free: 9.016 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000203/0.4499, allocations: 82.97 kB / 367.1 MB, free: 8.934 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002601/0.4501, allocations: 116.6 kB / 367.2 MB, free: 8.812 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.4502, allocations: 8 kB / 367.2 MB, free: 8.805 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.4502, allocations: 0 / 367.2 MB, free: 8.805 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/0.4502, allocations: 3.984 kB / 367.2 MB, free: 8.801 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004653/0.4548, allocations: 2.608 MB / 369.8 MB, free: 6.129 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.107e-05/0.4549, allocations: 0 / 369.8 MB, free: 6.129 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003298/0.4552, allocations: 63.91 kB / 369.9 MB, free: 6.066 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001128/0.4564, allocations: 468.3 kB / 370.4 MB, free: 5.605 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.96e-05/0.4565, allocations: 15.98 kB / 370.4 MB, free: 5.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008859/0.4653, allocations: 5.548 MB / 375.9 MB, free: 15.89 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.4654, allocations: 0 / 375.9 MB, free: 15.89 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003319/0.4687, allocations: 1.915 MB / 377.8 MB, free: 13.95 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005809/0.4693, allocations: 283.7 kB / 378.1 MB, free: 13.66 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001191/0.4695, allocations: 16 kB / 378.1 MB, free: 13.64 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004181/0.4699, allocations: 43.95 kB / 378.2 MB, free: 13.6 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002346/0.4701, allocations: 72.55 kB / 378.2 MB, free: 13.52 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.69e-05/0.4702, allocations: 23.98 kB / 378.3 MB, free: 13.5 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008883/0.4711, allocations: 0.5888 MB / 378.9 MB, free: 12.91 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4711, allocations: 0 / 378.9 MB, free: 12.91 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00118/0.4723, allocations: 339 kB / 379.2 MB, free: 12.58 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.0002355/0.4725, allocations: 131 kB / 379.3 MB, free: 12.44 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00294/0.4755, allocations: 1.426 MB / 380.7 MB, free: 11.01 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.4755, allocations: 0 / 380.7 MB, free: 11.01 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001378/0.4769, allocations: 0.821 MB / 381.6 MB, free: 10.18 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001352/0.4783, allocations: 278.9 kB / 381.8 MB, free: 9.906 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005076/0.4834, allocations: 2.794 MB / 384.6 MB, free: 7.078 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001104/0.4845, allocations: 1.329 MB / 386 MB, free: 5.723 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006067/0.4851, allocations: 143.3 kB / 386.1 MB, free: 5.578 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000146/0.4853, allocations: 55.42 kB / 386.1 MB, free: 5.523 MB / 318.1 MB Notification: Performance of SimCode: time 1.864e-06/0.4853, allocations: 0 / 386.1 MB, free: 5.523 MB / 318.1 MB Notification: Performance of Templates: time 0.0364/0.5217, allocations: 19.32 MB / 405.5 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)