Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_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.00104/0.00104, allocations: 102.2 kB / 18.4 MB, free: 4.637 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.001073/0.001073, allocations: 185.5 kB / 19.34 MB, free: 3.711 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.347/1.347, allocations: 205.1 MB / 225.2 MB, free: 12.18 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.001161/0.001161, allocations: 56.39 kB / 329.2 MB, free: 3.266 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06986/0.07103, allocations: 46.62 MB / 375.8 MB, free: 4.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.1534/0.2244, allocations: 4.658 MB / 380.5 MB, free: 9.742 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002324/0.2268, allocations: 1.341 MB / 381.8 MB, free: 9.727 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005173/0.2273, allocations: 26 kB / 381.9 MB, free: 9.727 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006846/0.2281, allocations: 219.4 kB / 382.1 MB, free: 9.656 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009194/0.229, allocations: 355.8 kB / 382.4 MB, free: 9.547 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004854/0.2295, allocations: 209.8 kB / 382.6 MB, free: 9.539 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001671/0.2312, allocations: 1.552 MB / 384.2 MB, free: 9.125 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001025/0.2322, allocations: 0.9166 MB / 385.1 MB, free: 8.785 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008157/0.233, allocations: 0.6388 MB / 385.7 MB, free: 8.492 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001109/0.2341, allocations: 0.7538 MB / 386.5 MB, free: 8.156 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003582/0.2345, allocations: 163.9 kB / 386.7 MB, free: 8.156 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000448/0.235, allocations: 166.7 kB / 386.8 MB, free: 8.152 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004274/0.2354, allocations: 442.6 kB / 387.3 MB, free: 7.906 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008715/0.2363, allocations: 0.7189 MB / 388 MB, free: 7.441 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001715/0.238, allocations: 2.072 MB / 390 MB, free: 6.723 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.238, allocations: 5.125 kB / 390.1 MB, free: 6.719 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.238, allocations: 0 / 390.1 MB, free: 6.719 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.248e-05/0.2381, allocations: 0 / 390.1 MB, free: 6.719 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.002659/0.2407, allocations: 1.626 MB / 391.7 MB, free: 5.711 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.2408, allocations: 9.812 kB / 391.7 MB, free: 5.711 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000209/0.241, allocations: 139.5 kB / 391.8 MB, free: 5.641 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001252/0.2422, allocations: 0.8727 MB / 392.7 MB, free: 5.105 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.487e-05/0.2423, allocations: 78.19 kB / 392.8 MB, free: 5.066 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001548/0.2425, allocations: 99.94 kB / 392.9 MB, free: 5.035 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002188/0.2447, allocations: 1.435 MB / 394.3 MB, free: 4.426 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.717e-05/0.2447, allocations: 1.391 kB / 394.3 MB, free: 4.426 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000107/0.2448, allocations: 37.98 kB / 394.3 MB, free: 4.398 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.943e-05/0.2449, allocations: 44.75 kB / 394.4 MB, free: 4.391 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001977/0.2468, allocations: 1.287 MB / 395.7 MB, free: 3.922 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005289/0.2521, allocations: 4.272 MB / 399.9 MB, free: 1.492 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001564/0.2537, allocations: 1.978 MB / 401.9 MB, free: 15.75 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001238/0.255, allocations: 0.7369 MB / 402.7 MB, free: 15.39 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.908e-05/0.255, allocations: 10.19 kB / 402.7 MB, free: 15.39 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009103/0.2559, allocations: 0.5972 MB / 403.3 MB, free: 15.01 MB / 334.1 MB Notification: Performance of pre-optimization done (n=75): time 2.455e-06/0.256, allocations: 0 / 403.3 MB, free: 15.01 MB / 334.1 MB Notification: Performance of matching and sorting (n=75): time 0.007291/0.2633, allocations: 2.824 MB / 406.1 MB, free: 13.46 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.197e-05/0.2633, allocations: 116 kB / 406.2 MB, free: 13.33 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001023/0.2644, allocations: 0.8212 MB / 407 MB, free: 12.88 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.327e-05/0.2644, allocations: 41.8 kB / 407.1 MB, free: 12.83 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000358/0.2648, allocations: 486.9 kB / 407.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000195/0.265, allocations: 240.3 kB / 407.8 MB, free: 12.21 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002222/0.2652, allocations: 133.5 kB / 407.9 MB, free: 12.14 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001802/0.2654, allocations: 393.5 kB / 408.3 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006462/0.2661, allocations: 399.8 kB / 408.7 MB, free: 11.56 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007462/0.2668, allocations: 0.5499 MB / 409.2 MB, free: 11.16 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001307/0.2682, allocations: 0.9183 MB / 410.1 MB, free: 10.57 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.062e-06/0.2682, allocations: 5.125 kB / 410.2 MB, free: 10.57 MB / 334.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002065/0.2702, allocations: 1.308 MB / 411.5 MB, free: 9.867 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.2703, allocations: 6.812 kB / 411.5 MB, free: 9.867 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.2703, allocations: 3.625 kB / 411.5 MB, free: 9.867 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001084/0.2714, allocations: 483.3 kB / 411.9 MB, free: 9.613 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003785/0.2718, allocations: 93.42 kB / 412 MB, free: 9.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007207/0.279, allocations: 5.573 MB / 417.6 MB, free: 4.418 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005491/0.2796, allocations: 79.45 kB / 417.7 MB, free: 4.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.408e-05/0.2796, allocations: 24 kB / 417.7 MB, free: 4.316 MB / 334.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.0005597/0.2802, allocations: 467.1 kB / 418.2 MB, free: 3.848 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001251/0.2803, allocations: 83.06 kB / 418.2 MB, free: 3.766 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002781/0.2806, allocations: 116.5 kB / 418.4 MB, free: 3.648 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/0.2806, allocations: 3.984 kB / 418.4 MB, free: 3.645 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.2806, allocations: 0 / 418.4 MB, free: 3.645 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004661/0.2811, allocations: 271.9 kB / 418.6 MB, free: 3.359 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001297/0.2812, allocations: 12 kB / 418.6 MB, free: 3.348 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004322/0.2817, allocations: 47.89 kB / 418.7 MB, free: 3.301 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000159/0.2819, allocations: 64.56 kB / 418.8 MB, free: 3.238 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002928/0.2848, allocations: 1.522 MB / 420.3 MB, free: 1.723 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002288/0.2871, allocations: 1.667 MB / 421.9 MB, free: 44 kB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006729/0.2878, allocations: 474.5 kB / 422.4 MB, free: 15.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007115/0.2885, allocations: 0.5849 MB / 423 MB, free: 15 MB / 350.1 MB Notification: Performance of Backend: time 4.31e-07/0.2885, allocations: 0 / 423 MB, free: 15 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001889/0.2904, allocations: 1.006 MB / 424 MB, free: 13.98 MB / 350.1 MB Notification: Performance of SimCode: time 0.003731/0.2941, allocations: 2.81 MB / 426.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of Templates: time 0.02691/0.3211, allocations: 18.13 MB / 444.9 MB, free: 8.969 MB / 366.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1)