Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.RectifierBridge2Pulse.DiodeBridge2Pulse,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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001505/0.001505, allocations: 109.2 kB / 17.74 MB, free: 5.332 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.001741/0.001742, allocations: 188.3 kB / 18.68 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.304/1.304, allocations: 222.9 MB / 242.4 MB, free: 15.19 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001003/0.001003, allocations: 47.92 kB / 352 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.218/0.219, allocations: 49.44 MB / 401.4 MB, free: 8.98 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.004481/0.2235, allocations: 3.714 MB / 405.1 MB, free: 5.305 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001421/0.2249, allocations: 0.9167 MB / 406.1 MB, free: 4.387 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001639/0.2251, allocations: 11.94 kB / 406.1 MB, free: 4.375 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002088/0.2253, allocations: 79.22 kB / 406.1 MB, free: 4.297 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002954/0.2256, allocations: 142.7 kB / 406.3 MB, free: 4.156 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003068/0.226, allocations: 171.8 kB / 406.5 MB, free: 3.988 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005428/0.2265, allocations: 0.6109 MB / 407.1 MB, free: 3.375 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003282/0.2269, allocations: 208.1 kB / 407.3 MB, free: 3.16 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002352/0.2271, allocations: 223.2 kB / 407.5 MB, free: 2.941 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002878/0.2274, allocations: 250.9 kB / 407.7 MB, free: 2.695 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.411e-05/0.2275, allocations: 56 kB / 407.8 MB, free: 2.641 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.544e-05/0.2276, allocations: 56 kB / 407.8 MB, free: 2.586 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001069/0.2277, allocations: 115.6 kB / 408 MB, free: 2.473 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000227/0.2279, allocations: 282.6 kB / 408.2 MB, free: 2.195 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005637/0.2285, allocations: 0.6384 MB / 408.9 MB, free: 1.555 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.2285, allocations: 0 / 408.9 MB, free: 1.555 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2285, allocations: 4 kB / 408.9 MB, free: 1.551 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.2285, allocations: 0 / 408.9 MB, free: 1.551 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001263/0.2298, allocations: 0.7769 MB / 409.6 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.2298, allocations: 8.031 kB / 409.7 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.847e-05/0.2299, allocations: 56.28 kB / 409.7 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004207/0.2304, allocations: 364.1 kB / 410.1 MB, free: 276 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.824e-05/0.2304, allocations: 33.38 kB / 410.1 MB, free: 244 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.145e-05/0.2305, allocations: 48.38 kB / 410.1 MB, free: 196 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007264/0.2312, allocations: 465.5 kB / 410.6 MB, free: 15.7 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.2312, allocations: 0 / 410.6 MB, free: 15.7 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.167e-05/0.2313, allocations: 16 kB / 410.6 MB, free: 15.69 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/0.2313, allocations: 12 kB / 410.6 MB, free: 15.68 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005715/0.2319, allocations: 331.7 kB / 410.9 MB, free: 15.36 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002194/0.2341, allocations: 1.824 MB / 412.8 MB, free: 13.42 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007261/0.2348, allocations: 0.613 MB / 413.4 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005642/0.2354, allocations: 282.5 kB / 413.7 MB, free: 12.47 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.829e-05/0.2354, allocations: 4.328 kB / 413.7 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004273/0.2359, allocations: 269.2 kB / 413.9 MB, free: 12.18 MB / 334.1 MB Notification: Performance of pre-optimization done (n=43): time 1.913e-06/0.2359, allocations: 4 kB / 413.9 MB, free: 12.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=43): time 0.002324/0.2382, allocations: 0.8422 MB / 414.8 MB, free: 11.31 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.941e-05/0.2383, allocations: 85.11 kB / 414.9 MB, free: 11.21 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003053/0.2386, allocations: 308.6 kB / 415.2 MB, free: 10.89 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.656e-05/0.2386, allocations: 37.7 kB / 415.2 MB, free: 10.85 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001276/0.2388, allocations: 216.3 kB / 415.4 MB, free: 10.64 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.193e-05/0.2389, allocations: 134.1 kB / 415.5 MB, free: 10.5 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001222/0.239, allocations: 86.17 kB / 415.6 MB, free: 10.41 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.2391, allocations: 354.7 kB / 416 MB, free: 10.06 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002257/0.2393, allocations: 121.1 kB / 416.1 MB, free: 9.941 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002932/0.2396, allocations: 245 kB / 416.3 MB, free: 9.645 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005129/0.2402, allocations: 383.1 kB / 416.7 MB, free: 9.219 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.2402, allocations: 4 kB / 416.7 MB, free: 9.215 MB / 334.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.000812/0.241, allocations: 0.5015 MB / 417.2 MB, free: 8.703 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.241, allocations: 4 kB / 417.2 MB, free: 8.699 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.948e-06/0.241, allocations: 4 kB / 417.2 MB, free: 8.695 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004521/0.2415, allocations: 152.9 kB / 417.4 MB, free: 8.543 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002328/0.2417, allocations: 71.84 kB / 417.4 MB, free: 8.473 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0027/0.2444, allocations: 2.551 MB / 420 MB, free: 5.789 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002488/0.2447, allocations: 39.69 kB / 420 MB, free: 5.75 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.955e-05/0.2447, allocations: 20 kB / 420 MB, free: 5.73 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: 13 (meanVoltage.y_last,$PRE.meanVoltage.y_last,meanCurrent.y_last,$PRE.meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y_last,$PRE.rootMeanSquareVoltage.mean.y_last,rectifier.diode_n2.off,rectifier.diode_n1.off,rectifier.diode_p2.off,rectifier.diode_p1.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * 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 {(4,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0001944/0.245, allocations: 186.5 kB / 420.2 MB, free: 5.539 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.526e-05/0.245, allocations: 39.53 kB / 420.3 MB, free: 5.5 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001046/0.2451, allocations: 52.23 kB / 420.3 MB, free: 5.449 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.2451, allocations: 3.984 kB / 420.3 MB, free: 5.445 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.2451, allocations: 0 / 420.3 MB, free: 5.445 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001489/0.2453, allocations: 148.5 kB / 420.5 MB, free: 5.281 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.631e-05/0.2454, allocations: 12 kB / 420.5 MB, free: 5.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001945/0.2456, allocations: 15.98 kB / 420.5 MB, free: 5.254 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.734e-05/0.2456, allocations: 23.97 kB / 420.5 MB, free: 5.23 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001222/0.2469, allocations: 0.5639 MB / 421.1 MB, free: 4.66 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008947/0.2478, allocations: 0.6914 MB / 421.8 MB, free: 3.953 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002322/0.248, allocations: 144.6 kB / 421.9 MB, free: 3.812 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002036/0.2482, allocations: 219.1 kB / 422.1 MB, free: 3.602 MB / 334.1 MB Notification: Performance of Backend: time 3.01e-07/0.2482, allocations: 0 / 422.1 MB, free: 3.602 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009863/0.2492, allocations: 0.5122 MB / 422.6 MB, free: 3.07 MB / 334.1 MB Notification: Performance of SimCode: time 0.001347/0.2506, allocations: 1.322 MB / 424 MB, free: 1.695 MB / 334.1 MB Notification: Performance of Templates: time 0.0106/0.2612, allocations: 6.501 MB / 430.5 MB, free: 11.32 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1)