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.001892/0.001892, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.003017/0.003017, allocations: 213.9 kB / 24.54 MB, free: 4.016 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.563/1.563, allocations: 230.6 MB / 258.3 MB, free: 8.07 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.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.001909/0.001909, allocations: 60.77 kB / 378.6 MB, free: 3.152 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2618/0.2637, allocations: 53.38 MB / 431.9 MB, free: 6.895 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.006767/0.2705, allocations: 4.807 MB / 436.8 MB, free: 2.066 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002929/0.2734, allocations: 1.382 MB / 438.1 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003381/0.2738, allocations: 39.75 kB / 438.2 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006523/0.2744, allocations: 222.4 kB / 438.4 MB, free: 436 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008127/0.2752, allocations: 373.9 kB / 438.8 MB, free: 60 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004686/0.2757, allocations: 231.7 kB / 439 MB, free: 15.83 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001764/0.2775, allocations: 1.545 MB / 440.5 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008262/0.2783, allocations: 0.5594 MB / 441.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001001/0.2793, allocations: 0.6659 MB / 441.8 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001094/0.2804, allocations: 0.786 MB / 442.5 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002166/0.2806, allocations: 168 kB / 442.7 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002932/0.2809, allocations: 172 kB / 442.9 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004297/0.2813, allocations: 438.8 kB / 443.3 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007746/0.2821, allocations: 0.7388 MB / 444 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00221/0.2843, allocations: 2.107 MB / 446.1 MB, free: 8.613 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.2843, allocations: 0 / 446.1 MB, free: 8.613 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.2843, allocations: 0 / 446.1 MB, free: 8.613 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.928e-05/0.2844, allocations: 0 / 446.1 MB, free: 8.613 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.003683/0.288, allocations: 1.904 MB / 448 MB, free: 6.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/0.2881, allocations: 11.97 kB / 448.1 MB, free: 6.648 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002045/0.2883, allocations: 156.4 kB / 448.2 MB, free: 6.488 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005139/0.2888, allocations: 180 kB / 448.4 MB, free: 6.312 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001564/0.2904, allocations: 0.9087 MB / 449.3 MB, free: 5.375 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.563e-05/0.2904, allocations: 70.36 kB / 449.4 MB, free: 5.309 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001632/0.2906, allocations: 103.9 kB / 449.5 MB, free: 5.207 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002392/0.293, allocations: 1.447 MB / 450.9 MB, free: 3.727 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.587e-05/0.293, allocations: 0 / 450.9 MB, free: 3.727 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.898e-05/0.2931, allocations: 36 kB / 450.9 MB, free: 3.691 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.672e-05/0.2932, allocations: 45.98 kB / 451 MB, free: 3.648 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002186/0.2954, allocations: 1.296 MB / 452.3 MB, free: 2.352 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00641/0.3018, allocations: 4.247 MB / 456.5 MB, free: 14.01 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001712/0.3035, allocations: 1.006 MB / 457.5 MB, free: 13.01 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001212/0.3047, allocations: 0.6853 MB / 458.2 MB, free: 12.32 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.812e-05/0.3047, allocations: 12.66 kB / 458.2 MB, free: 12.31 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009581/0.3057, allocations: 0.5975 MB / 458.8 MB, free: 11.69 MB / 366.1 MB Notification: Performance of pre-optimization done (n=75): time 2.124e-06/0.3057, allocations: 0 / 458.8 MB, free: 11.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.007129/0.3128, allocations: 2.751 MB / 461.6 MB, free: 8.93 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.828e-05/0.3129, allocations: 115.4 kB / 461.7 MB, free: 8.793 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001171/0.3141, allocations: 0.8481 MB / 462.5 MB, free: 7.934 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.629e-05/0.3142, allocations: 41.7 kB / 462.6 MB, free: 7.887 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004716/0.3146, allocations: 0.4929 MB / 463.1 MB, free: 7.387 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002444/0.3149, allocations: 253.9 kB / 463.3 MB, free: 7.137 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002308/0.3151, allocations: 142.6 kB / 463.5 MB, free: 6.992 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001837/0.3153, allocations: 334 kB / 463.8 MB, free: 6.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000663/0.3159, allocations: 389.7 kB / 464.2 MB, free: 6.281 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000798/0.3167, allocations: 0.5494 MB / 464.7 MB, free: 5.676 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001447/0.3182, allocations: 0.9093 MB / 465.6 MB, free: 4.711 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.3182, allocations: 4 kB / 465.6 MB, free: 4.707 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002251/0.3204, allocations: 1.298 MB / 466.9 MB, free: 3.398 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.3205, allocations: 8.031 kB / 466.9 MB, free: 3.391 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.3205, allocations: 4 kB / 466.9 MB, free: 3.387 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001109/0.3216, allocations: 473.2 kB / 467.4 MB, free: 2.922 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003537/0.3219, allocations: 87.83 kB / 467.5 MB, free: 2.836 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007851/0.3298, allocations: 5.484 MB / 473 MB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006887/0.3305, allocations: 87.58 kB / 473.1 MB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.131e-05/0.3305, allocations: 20 kB / 473.1 MB, free: 13.13 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_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) * 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.0008476/0.3314, allocations: 479.3 kB / 473.6 MB, free: 12.65 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001619/0.3315, allocations: 95.39 kB / 473.6 MB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000222/0.3318, allocations: 120.6 kB / 473.8 MB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.777e-06/0.3318, allocations: 8 kB / 473.8 MB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.3318, allocations: 0 / 473.8 MB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.3318, allocations: 3.984 kB / 473.8 MB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004413/0.3362, allocations: 2.559 MB / 476.3 MB, free: 9.805 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/0.3362, allocations: 0 / 476.3 MB, free: 9.805 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002888/0.3365, allocations: 59.91 kB / 476.4 MB, free: 9.746 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001004/0.3375, allocations: 457 kB / 476.8 MB, free: 9.297 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.076e-05/0.3375, allocations: 19.98 kB / 476.9 MB, free: 9.277 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007587/0.3451, allocations: 5.43 MB / 482.3 MB, free: 3.73 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.3451, allocations: 8 kB / 482.3 MB, free: 3.723 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003111/0.3482, allocations: 1.905 MB / 484.2 MB, free: 1.801 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005273/0.3488, allocations: 207.2 kB / 484.4 MB, free: 1.598 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/0.3489, allocations: 16 kB / 484.4 MB, free: 1.582 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003996/0.3493, allocations: 39.95 kB / 484.5 MB, free: 1.543 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002074/0.3495, allocations: 76.52 kB / 484.5 MB, free: 1.465 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-05/0.3495, allocations: 19.98 kB / 484.6 MB, free: 1.445 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008965/0.3504, allocations: 0.6044 MB / 485.2 MB, free: 0.8438 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3504, allocations: 0 / 485.2 MB, free: 0.8438 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001034/0.3515, allocations: 351.2 kB / 485.5 MB, free: 0.5 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.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: 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.00327/0.3547, allocations: 2.465 MB / 488 MB, free: 14 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002383/0.3571, allocations: 1.251 MB / 489.2 MB, free: 12.73 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.3571, allocations: 0 / 489.2 MB, free: 12.73 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00128/0.3584, allocations: 0.7936 MB / 490 MB, free: 11.93 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001091/0.3595, allocations: 281.5 kB / 490.3 MB, free: 11.66 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01507/0.3746, allocations: 9.853 MB / 0.4884 GB, free: 1.582 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001127/0.3757, allocations: 1.326 MB / 0.4897 GB, free: 232 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000457/0.3761, allocations: 147.4 kB / 0.4899 GB, free: 80 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005877/0.3767, allocations: 395.3 kB / 0.4902 GB, free: 15.69 MB / 414.1 MB Notification: Performance of SimCode: time 1.643e-06/0.3767, allocations: 0 / 0.4902 GB, free: 15.69 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.104/0.4807, allocations: 30.17 MB / 0.5197 GB, free: 1.883 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.16/13.65, allocations: 7.938 kB / 0.5197 GB, free: 1.875 MB / 430.1 MB " [Timeout remaining time 646] (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 --stepSize=0.0002 --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: 16.175093051046133] 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.763288293033838 13.778480265 13.490920732 Calling exit ...