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.RectifierBridge2mPulse.DiodeBridge2mPulse.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.001186/0.001186, allocations: 105.8 kB / 19.74 MB, free: 2.566 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.001338/0.001338, allocations: 220.8 kB / 22.92 MB, free: 5.539 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.295/1.295, allocations: 230.5 MB / 256.4 MB, free: 8.449 MB / 206.1 MB " [Timeout remaining time 179] 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.RectifierBridge2mPulse.DiodeBridge2mPulse,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse",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.001825/0.001825, allocations: 75.81 kB / 376.1 MB, free: 4.086 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2203/0.2221, allocations: 53.32 MB / 429.4 MB, free: 7.445 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.005871/0.228, allocations: 4.81 MB / 434.2 MB, free: 2.609 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002328/0.2303, allocations: 1.367 MB / 435.6 MB, free: 1.238 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002879/0.2306, allocations: 27.88 kB / 435.6 MB, free: 1.211 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005878/0.2312, allocations: 230.4 kB / 435.9 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007081/0.2319, allocations: 369.9 kB / 436.2 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003867/0.2323, allocations: 223.6 kB / 436.4 MB, free: 412 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001464/0.2337, allocations: 1.541 MB / 438 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007257/0.2344, allocations: 0.5665 MB / 438.5 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006766/0.2351, allocations: 0.6503 MB / 439.2 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000935/0.2361, allocations: 0.7899 MB / 440 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001986/0.2363, allocations: 164 kB / 440.1 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002763/0.2365, allocations: 168 kB / 440.3 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000375/0.2369, allocations: 434.8 kB / 440.7 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007065/0.2376, allocations: 0.7466 MB / 441.5 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001893/0.2395, allocations: 2.114 MB / 443.6 MB, free: 9.191 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2395, allocations: 0 / 443.6 MB, free: 9.191 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2395, allocations: 0 / 443.6 MB, free: 9.191 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.663e-05/0.2395, allocations: 0 / 443.6 MB, free: 9.191 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.002792/0.2423, allocations: 1.684 MB / 445.3 MB, free: 7.453 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.2424, allocations: 15.97 kB / 445.3 MB, free: 7.438 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000198/0.2426, allocations: 156.4 kB / 445.4 MB, free: 7.277 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004663/0.243, allocations: 176 kB / 445.6 MB, free: 7.105 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001307/0.2443, allocations: 0.9742 MB / 446.6 MB, free: 6.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.211e-05/0.2444, allocations: 74.38 kB / 446.7 MB, free: 6.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001479/0.2445, allocations: 99.94 kB / 446.8 MB, free: 5.922 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002125/0.2467, allocations: 1.447 MB / 448.2 MB, free: 4.441 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.529e-05/0.2467, allocations: 4 kB / 448.2 MB, free: 4.438 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/0.2468, allocations: 40 kB / 448.2 MB, free: 4.398 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.392e-05/0.2468, allocations: 38 kB / 448.3 MB, free: 4.363 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001977/0.2488, allocations: 1.3 MB / 449.6 MB, free: 3.062 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005673/0.2545, allocations: 4.305 MB / 453.9 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001894/0.2564, allocations: 1.896 MB / 455.8 MB, free: 12.55 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001141/0.2575, allocations: 0.6805 MB / 456.5 MB, free: 11.86 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.152e-05/0.2576, allocations: 8.641 kB / 456.5 MB, free: 11.86 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008683/0.2584, allocations: 0.6053 MB / 457.1 MB, free: 11.23 MB / 366.1 MB Notification: Performance of pre-optimization done (n=75): time 2.023e-06/0.2584, allocations: 0 / 457.1 MB, free: 11.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.006856/0.2653, allocations: 2.797 MB / 459.9 MB, free: 8.406 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.679e-05/0.2654, allocations: 119.5 kB / 460 MB, free: 8.262 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001101/0.2665, allocations: 0.8404 MB / 460.8 MB, free: 7.41 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.135e-05/0.2665, allocations: 45.7 kB / 460.9 MB, free: 7.359 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004187/0.267, allocations: 0.489 MB / 461.4 MB, free: 6.863 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002133/0.2672, allocations: 261.7 kB / 461.6 MB, free: 6.605 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002164/0.2674, allocations: 138.6 kB / 461.8 MB, free: 6.465 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.2675, allocations: 338 kB / 462.1 MB, free: 6.129 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006026/0.2681, allocations: 397.7 kB / 462.5 MB, free: 5.738 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007229/0.2689, allocations: 0.5415 MB / 463 MB, free: 5.137 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001302/0.2702, allocations: 0.9231 MB / 463.9 MB, free: 4.164 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.267e-06/0.2702, allocations: 0 / 463.9 MB, free: 4.164 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002003/0.2722, allocations: 1.288 MB / 465.2 MB, free: 2.863 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.2722, allocations: 8 kB / 465.2 MB, free: 2.855 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.2722, allocations: 8 kB / 465.2 MB, free: 2.848 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001022/0.2732, allocations: 470.1 kB / 465.7 MB, free: 2.387 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003521/0.2736, allocations: 95.81 kB / 465.8 MB, free: 2.293 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006967/0.2805, allocations: 5.591 MB / 471.4 MB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005589/0.2811, allocations: 87.52 kB / 471.5 MB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.676e-05/0.2811, allocations: 24 kB / 471.5 MB, free: 12.45 MB / 382.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: 15 (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_n.idealDiode[3].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 54 * 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 {(6,30)} Notification: Performance of prepare postOptimizeDAE: time 0.000661/0.2818, allocations: 467.2 kB / 472 MB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001229/0.2819, allocations: 91.44 kB / 472 MB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002289/0.2822, allocations: 112.7 kB / 472.2 MB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.2822, allocations: 8 kB / 472.2 MB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2822, allocations: 0 / 472.2 MB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.228e-06/0.2822, allocations: 7.922 kB / 472.2 MB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003711/0.2859, allocations: 2.587 MB / 474.8 MB, free: 9.109 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.2859, allocations: 0 / 474.8 MB, free: 9.109 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002747/0.2862, allocations: 59.89 kB / 474.8 MB, free: 9.051 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009258/0.2871, allocations: 456.5 kB / 475.3 MB, free: 8.602 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.129e-05/0.2871, allocations: 12 kB / 475.3 MB, free: 8.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006667/0.2938, allocations: 5.509 MB / 480.8 MB, free: 2.941 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2938, allocations: 0 / 480.8 MB, free: 2.941 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002745/0.2965, allocations: 1.902 MB / 482.7 MB, free: 1.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004089/0.297, allocations: 280.3 kB / 483 MB, free: 0.7266 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/0.2971, allocations: 19.98 kB / 483 MB, free: 0.707 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003982/0.2975, allocations: 35.95 kB / 483 MB, free: 0.6719 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001778/0.2976, allocations: 76.55 kB / 483.1 MB, free: 0.5977 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.463e-05/0.2977, allocations: 20.12 kB / 483.1 MB, free: 0.5781 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007884/0.2985, allocations: 0.6005 MB / 483.7 MB, free: 15.98 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2985, allocations: 0 / 483.7 MB, free: 15.98 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009347/0.2994, allocations: 343.4 kB / 484 MB, free: 15.64 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].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 (40): * Single equations (assignments): 36 * 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 {(6,30)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003027/0.3024, allocations: 2.484 MB / 486.5 MB, free: 13.13 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002111/0.3045, allocations: 1.251 MB / 487.8 MB, free: 11.87 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.3045, allocations: 8 kB / 487.8 MB, free: 11.86 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001225/0.3058, allocations: 0.785 MB / 488.6 MB, free: 11.06 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001072/0.3068, allocations: 274.8 kB / 488.8 MB, free: 10.79 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01358/0.3204, allocations: 9.843 MB / 498.7 MB, free: 0.7148 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001011/0.3214, allocations: 1.326 MB / 0.4883 GB, free: 15.36 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003983/0.3218, allocations: 155.3 kB / 0.4884 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000484/0.3223, allocations: 387.3 kB / 0.4888 GB, free: 14.82 MB / 414.1 MB Notification: Performance of SimCode: time 1.052e-06/0.3223, allocations: 0 / 0.4888 GB, free: 14.82 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06462/0.3869, allocations: 29.69 MB / 0.5178 GB, free: 1.5 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/12.05, allocations: 11.81 kB / 0.5178 GB, free: 1.492 MB / 430.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.20389458900172]