Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001617/0.001617, allocations: 118.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001925/0.001925, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.461/1.461, allocations: 227.4 MB / 246.9 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 64.12 kB / 358.2 MB, free: 13.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.2933, allocations: 50.55 MB / 408.8 MB, free: 1.625 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.005043/0.2983, allocations: 3.743 MB / 412.5 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001889/0.3003, allocations: 0.9872 MB / 413.5 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000206/0.3005, allocations: 8 kB / 413.5 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002428/0.3007, allocations: 83.16 kB / 413.6 MB, free: 12.78 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003453/0.3011, allocations: 146.7 kB / 413.7 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000401/0.3015, allocations: 175.7 kB / 413.9 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006278/0.3022, allocations: 0.6109 MB / 414.5 MB, free: 11.85 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003941/0.3026, allocations: 220 kB / 414.7 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003304/0.3029, allocations: 235.1 kB / 415 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003355/0.3032, allocations: 254.8 kB / 415.2 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.751e-05/0.3033, allocations: 56 kB / 415.3 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001172/0.3035, allocations: 60 kB / 415.3 MB, free: 11.03 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001169/0.3036, allocations: 123.5 kB / 415.4 MB, free: 10.91 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002622/0.3039, allocations: 286.6 kB / 415.7 MB, free: 10.63 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006759/0.3045, allocations: 0.6385 MB / 416.4 MB, free: 9.988 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.3045, allocations: 0 / 416.4 MB, free: 9.988 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3046, allocations: 0 / 416.4 MB, free: 9.988 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.138e-05/0.3046, allocations: 0 / 416.4 MB, free: 9.988 MB / 334.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.001463/0.306, allocations: 0.7999 MB / 417.2 MB, free: 9.141 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.3061, allocations: 12.03 kB / 417.2 MB, free: 9.129 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001044/0.3062, allocations: 78.7 kB / 417.3 MB, free: 9.043 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002338/0.3064, allocations: 68.27 kB / 417.3 MB, free: 8.977 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004896/0.3069, allocations: 376.7 kB / 417.7 MB, free: 8.57 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.971e-05/0.307, allocations: 41.36 kB / 417.7 MB, free: 8.531 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.58e-05/0.3071, allocations: 44.12 kB / 417.8 MB, free: 8.488 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007615/0.3078, allocations: 465.5 kB / 418.2 MB, free: 8.004 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.091e-05/0.3079, allocations: 3.906 kB / 418.2 MB, free: 8 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.659e-05/0.3079, allocations: 16 kB / 418.2 MB, free: 7.984 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.3079, allocations: 12 kB / 418.3 MB, free: 7.973 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005838/0.3085, allocations: 327.8 kB / 418.6 MB, free: 7.656 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002362/0.3109, allocations: 1.844 MB / 420.4 MB, free: 5.703 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008083/0.3117, allocations: 0.6168 MB / 421 MB, free: 5.023 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005533/0.3123, allocations: 276.7 kB / 421.3 MB, free: 4.754 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.297e-05/0.3123, allocations: 4.328 kB / 421.3 MB, free: 4.75 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004413/0.3128, allocations: 269.2 kB / 421.6 MB, free: 4.469 MB / 334.1 MB Notification: Performance of pre-optimization done (n=43): time 2.034e-06/0.3128, allocations: 0 / 421.6 MB, free: 4.469 MB / 334.1 MB Notification: Performance of matching and sorting (n=43): time 0.002209/0.315, allocations: 0.8382 MB / 422.4 MB, free: 3.602 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.545e-05/0.3151, allocations: 93.03 kB / 422.5 MB, free: 3.492 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003432/0.3154, allocations: 324.4 kB / 422.8 MB, free: 3.172 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.563e-05/0.3155, allocations: 41.69 kB / 422.9 MB, free: 3.125 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001555/0.3156, allocations: 220.3 kB / 423.1 MB, free: 2.906 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001111/0.3158, allocations: 134.1 kB / 423.2 MB, free: 2.773 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/0.3159, allocations: 90.16 kB / 423.3 MB, free: 2.68 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.316, allocations: 346.8 kB / 423.6 MB, free: 2.332 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002253/0.3163, allocations: 121.1 kB / 423.8 MB, free: 2.215 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003201/0.3166, allocations: 253 kB / 424 MB, free: 1.91 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005225/0.3171, allocations: 379 kB / 424.4 MB, free: 1.488 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.3171, allocations: 0 / 424.4 MB, free: 1.488 MB / 334.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008677/0.318, allocations: 0.5086 MB / 424.9 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/0.3181, allocations: 8.469 kB / 424.9 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.3181, allocations: 7.938 kB / 424.9 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004749/0.3186, allocations: 152.8 kB / 425 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002345/0.3188, allocations: 59.91 kB / 425.1 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002828/0.3216, allocations: 2.545 MB / 427.6 MB, free: 14.06 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002488/0.3219, allocations: 47.66 kB / 427.7 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.613e-05/0.3219, allocations: 16 kB / 427.7 MB, free: 14 MB / 350.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.0002189/0.3222, allocations: 173.8 kB / 427.9 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.843e-05/0.3222, allocations: 51.45 kB / 427.9 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001002/0.3223, allocations: 44.41 kB / 428 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.3224, allocations: 4 kB / 428 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.3224, allocations: 0 / 428 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.3224, allocations: 0 / 428 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001442/0.3238, allocations: 1.036 MB / 429 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.3238, allocations: 4.031 kB / 429 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001754/0.324, allocations: 35.92 kB / 429.1 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003798/0.3244, allocations: 143.6 kB / 429.2 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.437e-05/0.3245, allocations: 15.98 kB / 429.2 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002845/0.3273, allocations: 2.526 MB / 431.7 MB, free: 9.758 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.3273, allocations: 7.922 kB / 431.7 MB, free: 9.75 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001126/0.3285, allocations: 0.7175 MB / 432.5 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001673/0.3286, allocations: 152.5 kB / 432.6 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.834e-05/0.3287, allocations: 19.92 kB / 432.6 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002082/0.3289, allocations: 12 kB / 432.6 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.815e-05/0.329, allocations: 31.95 kB / 432.7 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.982e-05/0.329, allocations: 19.98 kB / 432.7 MB, free: 8.758 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002321/0.3293, allocations: 223.1 kB / 432.9 MB, free: 8.543 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3293, allocations: 4 kB / 432.9 MB, free: 8.539 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005918/0.3299, allocations: 151.6 kB / 433.1 MB, free: 8.391 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * 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 (26): * Single equations (assignments): 22 * 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 {(4,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001477/0.3314, allocations: 1.279 MB / 434.3 MB, free: 7.082 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001075/0.3325, allocations: 0.5269 MB / 434.9 MB, free: 6.543 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.3325, allocations: 4.062 kB / 434.9 MB, free: 6.539 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000523/0.333, allocations: 386.1 kB / 435.2 MB, free: 6.148 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004979/0.3335, allocations: 85.33 kB / 435.3 MB, free: 6.066 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005352/0.3389, allocations: 3.989 MB / 439.3 MB, free: 1.883 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004445/0.3394, allocations: 0.8279 MB / 440.1 MB, free: 1.027 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001514/0.3395, allocations: 39.34 kB / 440.2 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001871/0.3397, allocations: 143.4 kB / 440.3 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of SimCode: time 8.02e-07/0.3397, allocations: 0 / 440.3 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03942/0.3791, allocations: 11.21 MB / 451.5 MB, free: 5.965 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12, allocations: 8.141 kB / 451.5 MB, free: 5.957 MB / 366.1 MB (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1)