Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001778/0.001778, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001929/0.001929, allocations: 213.9 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.483/1.483, allocations: 230.6 MB / 258.3 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4_1_0-beta_om_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002212/0.002212, allocations: 76.73 kB / 378.6 MB, free: 3.223 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2764/0.2786, allocations: 53.36 MB / 431.9 MB, free: 7.047 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.005172/0.2838, allocations: 3.792 MB / 435.7 MB, free: 3.238 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001821/0.2856, allocations: 1.002 MB / 436.7 MB, free: 2.234 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002022/0.2858, allocations: 11.94 kB / 436.7 MB, free: 2.223 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002364/0.2861, allocations: 75.22 kB / 436.8 MB, free: 2.148 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003415/0.2864, allocations: 158.6 kB / 437 MB, free: 1.992 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004073/0.2868, allocations: 175.7 kB / 437.1 MB, free: 1.82 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007053/0.2875, allocations: 0.6148 MB / 437.8 MB, free: 1.203 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003208/0.2879, allocations: 156.5 kB / 437.9 MB, free: 1.043 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003547/0.2882, allocations: 243 kB / 438.1 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003579/0.2886, allocations: 250.9 kB / 438.4 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.946e-05/0.2886, allocations: 56 kB / 438.4 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001169/0.2888, allocations: 68 kB / 438.5 MB, free: 448 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001219/0.2889, allocations: 123.5 kB / 438.6 MB, free: 324 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002517/0.2891, allocations: 274.6 kB / 438.9 MB, free: 48 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007395/0.2899, allocations: 0.6459 MB / 439.5 MB, free: 15.4 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.2899, allocations: 0 / 439.5 MB, free: 15.4 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2899, allocations: 0 / 439.5 MB, free: 15.4 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.317e-06/0.2899, allocations: 3.938 kB / 439.5 MB, free: 15.39 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.001552/0.2914, allocations: 0.8631 MB / 440.4 MB, free: 14.49 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.2915, allocations: 12.02 kB / 440.4 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.832e-05/0.2916, allocations: 74.72 kB / 440.5 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002056/0.2918, allocations: 68.59 kB / 440.6 MB, free: 14.33 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004836/0.2923, allocations: 315.2 kB / 440.9 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.22e-05/0.2923, allocations: 37.38 kB / 440.9 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.282e-05/0.2924, allocations: 44.12 kB / 440.9 MB, free: 13.92 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007675/0.2931, allocations: 465.5 kB / 441.4 MB, free: 13.44 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.2932, allocations: 0 / 441.4 MB, free: 13.44 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.178e-05/0.2932, allocations: 16 kB / 441.4 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.634e-05/0.2932, allocations: 12 kB / 441.4 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000598/0.2938, allocations: 323.7 kB / 441.7 MB, free: 13.1 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002461/0.2963, allocations: 1.809 MB / 443.6 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006934/0.297, allocations: 347.9 kB / 443.9 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005678/0.2975, allocations: 245.4 kB / 444.1 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.506e-05/0.2976, allocations: 4.328 kB / 444.1 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00047/0.298, allocations: 273.1 kB / 444.4 MB, free: 10.31 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.573e-06/0.298, allocations: 0 / 444.4 MB, free: 10.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.002273/0.3003, allocations: 0.772 MB / 445.2 MB, free: 9.531 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.138e-05/0.3004, allocations: 89.09 kB / 445.3 MB, free: 9.426 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003718/0.3008, allocations: 332.4 kB / 445.6 MB, free: 9.094 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.935e-05/0.3008, allocations: 33.69 kB / 445.6 MB, free: 9.055 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001751/0.301, allocations: 228.7 kB / 445.8 MB, free: 8.828 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000117/0.3011, allocations: 138.8 kB / 446 MB, free: 8.691 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001345/0.3012, allocations: 90.14 kB / 446.1 MB, free: 8.598 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.3014, allocations: 350.8 kB / 446.4 MB, free: 8.246 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002373/0.3016, allocations: 121 kB / 446.5 MB, free: 8.125 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000338/0.302, allocations: 256.4 kB / 446.8 MB, free: 7.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005779/0.3026, allocations: 370.7 kB / 447.1 MB, free: 7.406 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.3026, allocations: 4 kB / 447.1 MB, free: 7.402 MB / 350.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008816/0.3034, allocations: 0.5092 MB / 447.7 MB, free: 6.883 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.3035, allocations: 8 kB / 447.7 MB, free: 6.875 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.3035, allocations: 4 kB / 447.7 MB, free: 6.871 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004694/0.3039, allocations: 148.7 kB / 447.8 MB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002416/0.3042, allocations: 71.88 kB / 447.9 MB, free: 6.652 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002971/0.3071, allocations: 2.439 MB / 450.3 MB, free: 4.105 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002735/0.3074, allocations: 43.67 kB / 450.4 MB, free: 4.062 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.841e-05/0.3074, allocations: 20 kB / 450.4 MB, free: 4.043 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.0002454/0.3077, allocations: 177.7 kB / 450.6 MB, free: 3.859 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.377e-05/0.3078, allocations: 43.7 kB / 450.6 MB, free: 3.816 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.913e-05/0.3079, allocations: 48.41 kB / 450.6 MB, free: 3.766 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.3079, allocations: 8 kB / 450.7 MB, free: 3.758 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/0.3079, allocations: 0 / 450.7 MB, free: 3.758 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.3079, allocations: 0 / 450.7 MB, free: 3.758 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001531/0.3094, allocations: 0.9922 MB / 451.6 MB, free: 2.711 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.3094, allocations: 0 / 451.6 MB, free: 2.711 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001632/0.3096, allocations: 35.92 kB / 451.7 MB, free: 2.676 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003884/0.31, allocations: 149.1 kB / 451.8 MB, free: 2.527 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.692e-05/0.31, allocations: 8 kB / 451.8 MB, free: 2.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002826/0.3128, allocations: 2.444 MB / 454.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.3128, allocations: 7.938 kB / 454.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001127/0.3139, allocations: 0.6982 MB / 455 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001585/0.3141, allocations: 83.53 kB / 455.1 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.846e-05/0.3142, allocations: 12 kB / 455.1 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002228/0.3144, allocations: 19.98 kB / 455.1 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.631e-05/0.3145, allocations: 35.88 kB / 455.1 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.9e-05/0.3145, allocations: 15.98 kB / 455.2 MB, free: 15.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002478/0.3148, allocations: 227.1 kB / 455.4 MB, free: 14.85 MB / 366.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3148, allocations: 0 / 455.4 MB, free: 14.85 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006255/0.3154, allocations: 143.8 kB / 455.5 MB, free: 14.71 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.001533/0.3169, allocations: 1.269 MB / 456.8 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00103/0.3179, allocations: 0.5215 MB / 457.3 MB, free: 12.87 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3179, allocations: 0 / 457.3 MB, free: 12.87 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005684/0.3185, allocations: 375 kB / 457.7 MB, free: 12.49 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004791/0.319, allocations: 92.17 kB / 457.8 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005603/0.3246, allocations: 3.985 MB / 461.7 MB, free: 8.223 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004663/0.3251, allocations: 0.8318 MB / 462.6 MB, free: 7.363 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001491/0.3252, allocations: 43.33 kB / 462.6 MB, free: 7.316 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001888/0.3254, allocations: 143.4 kB / 462.8 MB, free: 7.176 MB / 366.1 MB Notification: Performance of SimCode: time 1.453e-06/0.3254, allocations: 3.938 kB / 462.8 MB, free: 7.172 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04427/0.3697, allocations: 11.33 MB / 474.1 MB, free: 12.12 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.1/12.47, allocations: 0 / 474.1 MB, free: 12.12 MB / 382.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.88657280895859] 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'] 12.591529635712504 12.610350703 12.317283562 Calling exit ...