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.001089/0.001089, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001192/0.001192, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.388/1.388, allocations: 227.4 MB / 246.9 MB, free: 10.56 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 59.91 kB / 358.2 MB, free: 13.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3103/0.3117, allocations: 50.55 MB / 408.8 MB, free: 1.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.006357/0.3182, allocations: 3.739 MB / 412.5 MB, free: 13.76 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002543/0.3208, allocations: 0.9833 MB / 413.5 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005882/0.3214, allocations: 11.94 kB / 413.5 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003437/0.3217, allocations: 79.22 kB / 413.6 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005464/0.3223, allocations: 146.7 kB / 413.7 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004883/0.3228, allocations: 175.7 kB / 413.9 MB, free: 12.37 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006351/0.3235, allocations: 0.6187 MB / 414.5 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003925/0.3239, allocations: 216 kB / 414.7 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003478/0.3242, allocations: 243.1 kB / 415 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003481/0.3246, allocations: 242.9 kB / 415.2 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.135e-05/0.3247, allocations: 56 kB / 415.3 MB, free: 10.99 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001242/0.3248, allocations: 67.92 kB / 415.3 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001088/0.3249, allocations: 119.6 kB / 415.4 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002607/0.3252, allocations: 278.6 kB / 415.7 MB, free: 10.54 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006413/0.3259, allocations: 0.6462 MB / 416.4 MB, free: 9.887 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.952e-06/0.3259, allocations: 4 kB / 416.4 MB, free: 9.883 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3259, allocations: 0 / 416.4 MB, free: 9.883 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.768e-06/0.3259, allocations: 0 / 416.4 MB, free: 9.883 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.001447/0.3274, allocations: 0.796 MB / 417.2 MB, free: 9.039 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.3274, allocations: 8.031 kB / 417.2 MB, free: 9.031 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.611e-05/0.3275, allocations: 82.7 kB / 417.2 MB, free: 8.941 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000212/0.3277, allocations: 68.27 kB / 417.3 MB, free: 8.875 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005055/0.3282, allocations: 376.8 kB / 417.7 MB, free: 8.469 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.865e-05/0.3283, allocations: 37.36 kB / 417.7 MB, free: 8.434 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.389e-05/0.3284, allocations: 48.06 kB / 417.8 MB, free: 8.387 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000728/0.3291, allocations: 465.5 kB / 418.2 MB, free: 7.902 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.331e-05/0.3291, allocations: 7.906 kB / 418.2 MB, free: 7.895 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.02e-05/0.3292, allocations: 16 kB / 418.2 MB, free: 7.879 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.248e-05/0.3292, allocations: 12 kB / 418.3 MB, free: 7.867 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005746/0.3298, allocations: 327.7 kB / 418.6 MB, free: 7.551 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002313/0.3321, allocations: 1.844 MB / 420.4 MB, free: 5.598 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007548/0.3329, allocations: 0.6168 MB / 421 MB, free: 4.918 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005591/0.3334, allocations: 272.3 kB / 421.3 MB, free: 4.652 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.374e-05/0.3335, allocations: 12.31 kB / 421.3 MB, free: 4.641 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004202/0.3339, allocations: 257.2 kB / 421.6 MB, free: 4.371 MB / 334.1 MB Notification: Performance of pre-optimization done (n=43): time 1.543e-06/0.3339, allocations: 0 / 421.6 MB, free: 4.371 MB / 334.1 MB Notification: Performance of matching and sorting (n=43): time 0.002295/0.3362, allocations: 0.8577 MB / 422.4 MB, free: 3.484 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.503e-05/0.3363, allocations: 81.11 kB / 422.5 MB, free: 3.387 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003321/0.3366, allocations: 328.4 kB / 422.8 MB, free: 3.062 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.452e-05/0.3367, allocations: 41.64 kB / 422.9 MB, free: 3.016 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001494/0.3368, allocations: 220.3 kB / 423.1 MB, free: 2.797 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/0.337, allocations: 134.1 kB / 423.2 MB, free: 2.664 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001243/0.3371, allocations: 86.17 kB / 423.3 MB, free: 2.574 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.3373, allocations: 350.8 kB / 423.6 MB, free: 2.223 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002303/0.3375, allocations: 121.1 kB / 423.8 MB, free: 2.105 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003353/0.3378, allocations: 257 kB / 424 MB, free: 1.797 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005539/0.3384, allocations: 375 kB / 424.4 MB, free: 1.379 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.3384, allocations: 0 / 424.4 MB, free: 1.379 MB / 334.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008498/0.3393, allocations: 0.513 MB / 424.9 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.3393, allocations: 4 kB / 424.9 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.3393, allocations: 7.938 kB / 424.9 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004874/0.3398, allocations: 148.8 kB / 425 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002393/0.3401, allocations: 63.84 kB / 425.1 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002912/0.343, allocations: 2.541 MB / 427.6 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002422/0.3432, allocations: 39.67 kB / 427.7 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.167e-05/0.3433, allocations: 23.98 kB / 427.7 MB, free: 13.9 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.0002142/0.3435, allocations: 177.7 kB / 427.9 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.984e-05/0.3436, allocations: 43.47 kB / 427.9 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001035/0.3437, allocations: 44.41 kB / 428 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.3437, allocations: 4 kB / 428 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.3437, allocations: 0 / 428 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.308e-06/0.3437, allocations: 7.984 kB / 428 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001543/0.3453, allocations: 1.032 MB / 429 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.3453, allocations: 4 kB / 429 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001666/0.3455, allocations: 35.92 kB / 429.1 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003922/0.3459, allocations: 147.5 kB / 429.2 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.336e-05/0.3459, allocations: 12.03 kB / 429.2 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002953/0.3489, allocations: 2.528 MB / 431.7 MB, free: 9.656 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/0.3489, allocations: 11.86 kB / 431.7 MB, free: 9.645 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001116/0.35, allocations: 0.7099 MB / 432.5 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001983/0.3502, allocations: 152.6 kB / 432.6 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.707e-05/0.3503, allocations: 11.98 kB / 432.6 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002264/0.3505, allocations: 19.98 kB / 432.6 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.3506, allocations: 43.83 kB / 432.7 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.822e-05/0.3507, allocations: 15.98 kB / 432.7 MB, free: 8.652 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002324/0.3509, allocations: 227.1 kB / 432.9 MB, free: 8.434 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3509, allocations: 0 / 432.9 MB, free: 8.434 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005813/0.3515, allocations: 147.6 kB / 433.1 MB, free: 8.289 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.001458/0.353, allocations: 1.269 MB / 434.3 MB, free: 6.988 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001047/0.354, allocations: 0.5378 MB / 434.9 MB, free: 6.438 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.354, allocations: 0 / 434.9 MB, free: 6.438 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006068/0.3546, allocations: 387 kB / 435.2 MB, free: 6.047 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004906/0.3552, allocations: 85.28 kB / 435.3 MB, free: 5.965 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005482/0.3606, allocations: 3.985 MB / 439.3 MB, free: 1.785 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004715/0.3611, allocations: 0.8318 MB / 440.1 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001536/0.3613, allocations: 35.3 kB / 440.2 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001993/0.3615, allocations: 151.4 kB / 440.3 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of SimCode: time 9.02e-07/0.3615, allocations: 0 / 440.3 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03883/0.4004, allocations: 11.19 MB / 451.5 MB, free: 5.875 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.92, allocations: 12.08 kB / 451.5 MB, free: 5.863 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)