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.00132/0.00132, allocations: 106.5 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.001416/0.001416, allocations: 213.2 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.455/1.455, 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.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.00262/0.00262, allocations: 60.77 kB / 378.6 MB, free: 3.184 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/0.2987, allocations: 53.37 MB / 431.9 MB, free: 6.953 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.005649/0.3044, allocations: 3.79 MB / 435.7 MB, free: 3.145 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002003/0.3064, allocations: 0.9945 MB / 436.7 MB, free: 2.148 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000273/0.3066, allocations: 15.94 kB / 436.7 MB, free: 2.133 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002802/0.3069, allocations: 83.16 kB / 436.8 MB, free: 2.051 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004433/0.3074, allocations: 142.7 kB / 437 MB, free: 1.91 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005155/0.3079, allocations: 183.7 kB / 437.1 MB, free: 1.73 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007927/0.3087, allocations: 0.6148 MB / 437.8 MB, free: 1.113 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003658/0.309, allocations: 164.2 kB / 437.9 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003918/0.3094, allocations: 239.1 kB / 438.1 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003856/0.3098, allocations: 250.9 kB / 438.4 MB, free: 480 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.123e-05/0.3099, allocations: 56 kB / 438.4 MB, free: 424 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001276/0.31, allocations: 63.94 kB / 438.5 MB, free: 360 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001351/0.3102, allocations: 123.6 kB / 438.6 MB, free: 236 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003236/0.3105, allocations: 274.7 kB / 438.9 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009097/0.3114, allocations: 0.6497 MB / 439.5 MB, free: 15.31 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.3114, allocations: 0 / 439.5 MB, free: 15.31 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3114, allocations: 3.938 kB / 439.5 MB, free: 15.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.535e-05/0.3114, allocations: 0 / 439.5 MB, free: 15.3 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.001724/0.3131, allocations: 0.8592 MB / 440.4 MB, free: 14.4 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.3132, allocations: 12.03 kB / 440.4 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000112/0.3133, allocations: 78.7 kB / 440.5 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002333/0.3135, allocations: 68.59 kB / 440.6 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005784/0.3141, allocations: 315.2 kB / 440.9 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.354e-05/0.3142, allocations: 37.38 kB / 440.9 MB, free: 13.87 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.547e-05/0.3143, allocations: 44.12 kB / 441 MB, free: 13.83 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009157/0.3152, allocations: 461.6 kB / 441.4 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.3152, allocations: 3.938 kB / 441.4 MB, free: 13.35 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.933e-05/0.3152, allocations: 19.98 kB / 441.4 MB, free: 13.33 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/0.3153, allocations: 12 kB / 441.4 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006449/0.3159, allocations: 323.8 kB / 441.8 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002549/0.3184, allocations: 1.798 MB / 443.6 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007305/0.3192, allocations: 355.9 kB / 443.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005886/0.3198, allocations: 250.7 kB / 444.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.666e-05/0.3198, allocations: 8.266 kB / 444.2 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005012/0.3203, allocations: 265.2 kB / 444.4 MB, free: 10.22 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.903e-06/0.3203, allocations: 3.938 kB / 444.4 MB, free: 10.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.002299/0.3226, allocations: 0.7681 MB / 445.2 MB, free: 9.441 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.454e-05/0.3227, allocations: 81.11 kB / 445.3 MB, free: 9.344 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003935/0.3231, allocations: 336.4 kB / 445.6 MB, free: 9.008 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.23e-05/0.3231, allocations: 37.7 kB / 445.6 MB, free: 8.965 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001812/0.3233, allocations: 228.7 kB / 445.8 MB, free: 8.738 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001253/0.3234, allocations: 142.8 kB / 446 MB, free: 8.598 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001285/0.3236, allocations: 82.16 kB / 446.1 MB, free: 8.512 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.3237, allocations: 346.8 kB / 446.4 MB, free: 8.164 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002471/0.324, allocations: 128.9 kB / 446.5 MB, free: 8.035 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003399/0.3243, allocations: 244.3 kB / 446.8 MB, free: 7.742 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006032/0.3249, allocations: 378.8 kB / 447.1 MB, free: 7.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.3249, allocations: 0 / 447.1 MB, free: 7.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008953/0.3258, allocations: 0.5131 MB / 447.7 MB, free: 6.797 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.967e-05/0.3258, allocations: 12.03 kB / 447.7 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.3258, allocations: 4 kB / 447.7 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004907/0.3263, allocations: 144.7 kB / 447.8 MB, free: 6.637 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002329/0.3266, allocations: 63.91 kB / 447.9 MB, free: 6.574 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003116/0.3297, allocations: 2.46 MB / 450.3 MB, free: 4.008 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002682/0.33, allocations: 39.77 kB / 450.4 MB, free: 3.969 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.001e-05/0.33, allocations: 20 kB / 450.4 MB, free: 3.949 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.0002642/0.3303, allocations: 173.8 kB / 450.6 MB, free: 3.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.323e-05/0.3303, allocations: 43.7 kB / 450.6 MB, free: 3.727 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.613e-05/0.3304, allocations: 52.39 kB / 450.7 MB, free: 3.672 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.3304, allocations: 4 kB / 450.7 MB, free: 3.668 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.3304, allocations: 0 / 450.7 MB, free: 3.668 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.3304, allocations: 0 / 450.7 MB, free: 3.668 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001581/0.332, allocations: 0.996 MB / 451.7 MB, free: 2.617 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.332, allocations: 0 / 451.7 MB, free: 2.617 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001748/0.3322, allocations: 35.98 kB / 451.7 MB, free: 2.582 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003867/0.3326, allocations: 140.9 kB / 451.8 MB, free: 2.441 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.604e-05/0.3326, allocations: 8 kB / 451.8 MB, free: 2.434 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002927/0.3355, allocations: 2.447 MB / 454.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3355, allocations: 0 / 454.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001158/0.3367, allocations: 0.702 MB / 455 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001619/0.3369, allocations: 91.52 kB / 455.1 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.276e-05/0.3369, allocations: 8 kB / 455.1 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002069/0.3371, allocations: 12.28 kB / 455.1 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.3372, allocations: 39.86 kB / 455.1 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.626e-05/0.3372, allocations: 12 kB / 455.1 MB, free: 14.99 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002547/0.3375, allocations: 235 kB / 455.4 MB, free: 14.76 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3375, allocations: 0 / 455.4 MB, free: 14.76 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005779/0.3381, allocations: 139.8 kB / 455.5 MB, free: 14.62 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.001623/0.3397, allocations: 1.277 MB / 456.8 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001102/0.3408, allocations: 0.526 MB / 457.3 MB, free: 12.78 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.3408, allocations: 0 / 457.3 MB, free: 12.78 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005742/0.3414, allocations: 366.1 kB / 457.7 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004945/0.3419, allocations: 88.19 kB / 457.8 MB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00574/0.3476, allocations: 3.991 MB / 461.7 MB, free: 8.133 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004939/0.3481, allocations: 0.8279 MB / 462.6 MB, free: 7.277 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001439/0.3483, allocations: 35.36 kB / 462.6 MB, free: 7.238 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002043/0.3485, allocations: 147.4 kB / 462.8 MB, free: 7.094 MB / 366.1 MB Notification: Performance of SimCode: time 1.323e-06/0.3485, allocations: 11.94 kB / 462.8 MB, free: 7.082 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04399/0.3924, allocations: 11.33 MB / 474.1 MB, free: 12.03 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.42/12.81, allocations: 0 / 474.1 MB, free: 12.03 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 & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0002 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: 15.381641364190727] 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.9113131579943 12.931814926 12.616203158 Calling exit ...