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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001537/0.001537, allocations: 109.1 kB / 21.22 MB, free: 0.7539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001668/0.001668, allocations: 219.8 kB / 24.53 MB, free: 4.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.421/1.421, allocations: 230.5 MB / 258.2 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 55.91 kB / 378.6 MB, free: 2.977 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2635/0.2655, allocations: 53.41 MB / 432 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.005836/0.2713, allocations: 3.789 MB / 435.8 MB, free: 2.867 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002118/0.2734, allocations: 0.9982 MB / 436.8 MB, free: 1.867 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004682/0.2739, allocations: 11.94 kB / 436.8 MB, free: 1.855 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003606/0.2743, allocations: 87.16 kB / 436.9 MB, free: 1.77 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006078/0.2749, allocations: 146.6 kB / 437 MB, free: 1.625 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005647/0.2754, allocations: 179.7 kB / 437.2 MB, free: 1.449 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009485/0.2764, allocations: 0.6304 MB / 437.8 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003553/0.2767, allocations: 152 kB / 438 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004872/0.2772, allocations: 251.1 kB / 438.2 MB, free: 428 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004645/0.2777, allocations: 246.9 kB / 438.5 MB, free: 180 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001383/0.2778, allocations: 60 kB / 438.5 MB, free: 120 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000163/0.278, allocations: 59.94 kB / 438.6 MB, free: 60 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001586/0.2781, allocations: 123.7 kB / 438.7 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003342/0.2785, allocations: 274.6 kB / 439 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007917/0.2793, allocations: 0.6459 MB / 439.6 MB, free: 15.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.2793, allocations: 3.984 kB / 439.6 MB, free: 15.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2793, allocations: 3.938 kB / 439.6 MB, free: 15.01 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.62e-05/0.2793, allocations: 0 / 439.6 MB, free: 15.01 MB / 350.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.001738/0.281, allocations: 0.8592 MB / 440.5 MB, free: 14.11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.2811, allocations: 8.031 kB / 440.5 MB, free: 14.1 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.13e-05/0.2811, allocations: 17.19 kB / 440.5 MB, free: 14.08 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001027/0.2812, allocations: 78.7 kB / 440.6 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002373/0.2814, allocations: 68.59 kB / 440.6 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005725/0.282, allocations: 315.2 kB / 441 MB, free: 13.6 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.328e-05/0.282, allocations: 33.38 kB / 441 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.102e-05/0.2821, allocations: 47.94 kB / 441 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000821/0.283, allocations: 461.5 kB / 441.5 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.037e-05/0.283, allocations: 3.984 kB / 441.5 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.319e-05/0.283, allocations: 16 kB / 441.5 MB, free: 13.03 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.49e-05/0.283, allocations: 15.98 kB / 441.5 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006484/0.2837, allocations: 323.7 kB / 441.8 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002802/0.2865, allocations: 1.805 MB / 443.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007448/0.2872, allocations: 352.5 kB / 444 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006266/0.2879, allocations: 256.9 kB / 444.2 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.441e-05/0.2879, allocations: 4.328 kB / 444.2 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004952/0.2884, allocations: 265.2 kB / 444.5 MB, free: 9.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 2.315e-06/0.2884, allocations: 0 / 444.5 MB, free: 9.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.002413/0.2908, allocations: 0.7748 MB / 445.3 MB, free: 9.125 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.514e-05/0.2909, allocations: 81.11 kB / 445.4 MB, free: 9.027 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003874/0.2913, allocations: 332.4 kB / 445.7 MB, free: 8.695 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.494e-05/0.2913, allocations: 37.7 kB / 445.7 MB, free: 8.652 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001812/0.2915, allocations: 232.7 kB / 445.9 MB, free: 8.422 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001235/0.2916, allocations: 134.8 kB / 446.1 MB, free: 8.289 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001359/0.2917, allocations: 86.14 kB / 446.2 MB, free: 8.199 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001798/0.2919, allocations: 346.8 kB / 446.5 MB, free: 7.852 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002503/0.2922, allocations: 132.9 kB / 446.6 MB, free: 7.719 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003481/0.2925, allocations: 248.3 kB / 446.9 MB, free: 7.422 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005761/0.2931, allocations: 382.7 kB / 447.2 MB, free: 6.996 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/0.2931, allocations: 4 kB / 447.2 MB, free: 6.992 MB / 350.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009215/0.294, allocations: 0.5016 MB / 447.7 MB, free: 6.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/0.294, allocations: 8 kB / 447.8 MB, free: 6.473 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.2941, allocations: 4 kB / 447.8 MB, free: 6.469 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005052/0.2946, allocations: 144.7 kB / 447.9 MB, free: 6.324 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000242/0.2948, allocations: 67.94 kB / 448 MB, free: 6.258 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003312/0.2981, allocations: 2.448 MB / 450.4 MB, free: 3.699 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003067/0.2984, allocations: 39.91 kB / 450.5 MB, free: 3.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.725e-05/0.2985, allocations: 24 kB / 450.5 MB, free: 3.637 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_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.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.0002937/0.2988, allocations: 177.8 kB / 450.6 MB, free: 3.453 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.785e-05/0.2989, allocations: 43.7 kB / 450.7 MB, free: 3.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001132/0.299, allocations: 48.41 kB / 450.7 MB, free: 3.363 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/0.299, allocations: 4 kB / 450.7 MB, free: 3.359 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.299, allocations: 0 / 450.7 MB, free: 3.359 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/0.299, allocations: 3.984 kB / 450.7 MB, free: 3.355 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001663/0.3007, allocations: 0.9921 MB / 451.7 MB, free: 2.309 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.3007, allocations: 0 / 451.7 MB, free: 2.309 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001757/0.3008, allocations: 43.91 kB / 451.8 MB, free: 2.266 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004009/0.3012, allocations: 141 kB / 451.9 MB, free: 2.125 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.783e-05/0.3013, allocations: 11.94 kB / 451.9 MB, free: 2.113 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003134/0.3044, allocations: 2.436 MB / 454.4 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.3044, allocations: 7.938 kB / 454.4 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001253/0.3057, allocations: 0.7034 MB / 455.1 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002162/0.3059, allocations: 83.53 kB / 455.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.857e-05/0.306, allocations: 11.98 kB / 455.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002512/0.3062, allocations: 16 kB / 455.2 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.3063, allocations: 35.92 kB / 455.2 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.057e-05/0.3064, allocations: 12.19 kB / 455.2 MB, free: 14.67 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002943/0.3066, allocations: 227.1 kB / 455.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3066, allocations: 0 / 455.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006911/0.3073, allocations: 147.8 kB / 455.6 MB, free: 14.31 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.y_last,rectifier.diode_n2.off,rectifier.diode_n1.off,rectifier.diode_p2.off,rectifier.diode_p1.off) * 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.001663/0.309, allocations: 1.277 MB / 456.9 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001156/0.3102, allocations: 0.5215 MB / 457.4 MB, free: 12.46 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3102, allocations: 0 / 457.4 MB, free: 12.46 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005942/0.3108, allocations: 363 kB / 457.8 MB, free: 12.1 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005429/0.3113, allocations: 98.31 kB / 457.8 MB, free: 12.01 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006965/0.3183, allocations: 3.993 MB / 461.8 MB, free: 7.82 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005891/0.3189, allocations: 0.8318 MB / 462.7 MB, free: 6.961 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001668/0.319, allocations: 35.36 kB / 462.7 MB, free: 6.922 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002317/0.3192, allocations: 151.3 kB / 462.9 MB, free: 6.773 MB / 366.1 MB Notification: Performance of SimCode: time 1.593e-06/0.3193, allocations: 3.938 kB / 462.9 MB, free: 6.77 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04171/0.361, allocations: 11.37 MB / 474.2 MB, free: 11.64 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.21/13.57, allocations: 7.797 kB / 474.2 MB, free: 11.63 MB / 382.1 MB " [Timeout remaining time 646] (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 --stepSize=0.0002 --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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.981302659958601] Failed to read output from testmodel.py, exit status != 0: ['time', 'meanCurrent.x', 'meanVoltage.x', 'rootMeanSquareVoltage.mean.x', 'meanCurrent.y', 'meanVoltage.y', 'rootMeanSquareVoltage.mean.y'] 13.746573188982438 13.768552428 13.485027559 Calling exit ...