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.001429/0.001429, allocations: 105.5 kB / 19.74 MB, free: 2.453 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.001611/0.001611, allocations: 221.6 kB / 22.92 MB, free: 5.195 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.283/1.283, allocations: 230.5 MB / 256.4 MB, free: 8.258 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.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.001822/0.001822, allocations: 67.83 kB / 376.1 MB, free: 4.078 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2147/0.2165, allocations: 53.32 MB / 429.4 MB, free: 7.453 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.00474/0.2213, allocations: 3.789 MB / 433.2 MB, free: 3.645 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001743/0.223, allocations: 0.9967 MB / 434.2 MB, free: 2.648 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001939/0.2232, allocations: 11.94 kB / 434.2 MB, free: 2.637 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002163/0.2234, allocations: 75.22 kB / 434.3 MB, free: 2.562 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003148/0.2237, allocations: 154.7 kB / 434.4 MB, free: 2.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003891/0.2241, allocations: 179.6 kB / 434.6 MB, free: 2.234 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006119/0.2247, allocations: 0.6187 MB / 435.2 MB, free: 1.613 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002973/0.225, allocations: 156.1 kB / 435.4 MB, free: 1.449 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003003/0.2253, allocations: 235.1 kB / 435.6 MB, free: 1.219 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003315/0.2257, allocations: 250.9 kB / 435.9 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.481e-05/0.2257, allocations: 56 kB / 435.9 MB, free: 0.918 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001142/0.2259, allocations: 56 kB / 436 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001094/0.226, allocations: 123.6 kB / 436.1 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000232/0.2262, allocations: 282.6 kB / 436.4 MB, free: 476 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006393/0.2268, allocations: 0.6468 MB / 437 MB, free: 15.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.2268, allocations: 0 / 437 MB, free: 15.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2268, allocations: 4 kB / 437 MB, free: 15.81 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.046e-06/0.2269, allocations: 0 / 437 MB, free: 15.81 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.001287/0.2281, allocations: 0.8072 MB / 437.8 MB, free: 14.96 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.2282, allocations: 8.031 kB / 437.8 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.243e-05/0.2283, allocations: 86.7 kB / 437.9 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001931/0.2285, allocations: 64.59 kB / 438 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004526/0.2289, allocations: 377 kB / 438.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.137e-05/0.2289, allocations: 33.38 kB / 438.4 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.074e-05/0.229, allocations: 52.12 kB / 438.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007055/0.2297, allocations: 461.5 kB / 438.9 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/0.2297, allocations: 3.984 kB / 438.9 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.26e-05/0.2298, allocations: 20 kB / 438.9 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.2298, allocations: 12 kB / 438.9 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000567/0.2304, allocations: 323.7 kB / 439.2 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002283/0.2326, allocations: 1.852 MB / 441.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007378/0.2334, allocations: 0.574 MB / 441.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005337/0.2339, allocations: 253.3 kB / 441.9 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.547e-05/0.2339, allocations: 8.266 kB / 441.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004173/0.2344, allocations: 261.2 kB / 442.2 MB, free: 10.35 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.653e-06/0.2344, allocations: 4 kB / 442.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.002183/0.2365, allocations: 0.8356 MB / 443 MB, free: 9.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.034e-05/0.2366, allocations: 85.11 kB / 443.1 MB, free: 9.379 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003489/0.2369, allocations: 328.4 kB / 443.4 MB, free: 9.055 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.95e-05/0.237, allocations: 33.7 kB / 443.4 MB, free: 9.016 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001556/0.2371, allocations: 228.6 kB / 443.7 MB, free: 8.789 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001092/0.2373, allocations: 146.7 kB / 443.8 MB, free: 8.645 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001269/0.2374, allocations: 90.2 kB / 443.9 MB, free: 8.551 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.2375, allocations: 350.8 kB / 444.2 MB, free: 8.199 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002377/0.2378, allocations: 125.1 kB / 444.4 MB, free: 8.078 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003278/0.2381, allocations: 253 kB / 444.6 MB, free: 7.777 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005534/0.2387, allocations: 371 kB / 445 MB, free: 7.363 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.2387, allocations: 0 / 445 MB, free: 7.363 MB / 350.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008653/0.2395, allocations: 0.5052 MB / 445.5 MB, free: 6.848 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.2395, allocations: 10.97 kB / 445.5 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.2396, allocations: 7.938 kB / 445.5 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004567/0.24, allocations: 148.9 kB / 445.6 MB, free: 6.684 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002236/0.2402, allocations: 67.84 kB / 445.7 MB, free: 6.617 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002834/0.2431, allocations: 2.533 MB / 448.2 MB, free: 3.949 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002598/0.2433, allocations: 51.91 kB / 448.3 MB, free: 3.898 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.095e-05/0.2434, allocations: 16 kB / 448.3 MB, free: 3.883 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_n2.off,rectifier.diode_n1.off,rectifier.diode_p2.off,rectifier.diode_p1.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.0002162/0.2436, allocations: 185.6 kB / 448.5 MB, free: 3.691 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.077e-05/0.2436, allocations: 43.7 kB / 448.5 MB, free: 3.648 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001/0.2437, allocations: 48.41 kB / 448.6 MB, free: 3.602 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.2437, allocations: 4 kB / 448.6 MB, free: 3.598 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.983e-06/0.2437, allocations: 0 / 448.6 MB, free: 3.598 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.2438, allocations: 3.984 kB / 448.6 MB, free: 3.594 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001412/0.2452, allocations: 1.02 MB / 449.6 MB, free: 2.512 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.2452, allocations: 0 / 449.6 MB, free: 2.512 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001614/0.2453, allocations: 31.92 kB / 449.6 MB, free: 2.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003757/0.2457, allocations: 149 kB / 449.8 MB, free: 2.332 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.96e-05/0.2457, allocations: 8 kB / 449.8 MB, free: 2.324 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002699/0.2484, allocations: 2.545 MB / 452.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.2484, allocations: 7.938 kB / 452.3 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/0.2495, allocations: 0.7021 MB / 453 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001603/0.2497, allocations: 156.7 kB / 453.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.771e-05/0.2497, allocations: 8 kB / 453.2 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002111/0.2499, allocations: 23.98 kB / 453.2 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.675e-05/0.25, allocations: 35.89 kB / 453.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.79e-05/0.25, allocations: 16.17 kB / 453.3 MB, free: 14.65 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002212/0.2502, allocations: 227.1 kB / 453.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2502, allocations: 0 / 453.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005385/0.2508, allocations: 143.8 kB / 453.6 MB, free: 14.29 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.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 (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.001381/0.2522, allocations: 1.273 MB / 454.9 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000942/0.2531, allocations: 0.5218 MB / 455.4 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2531, allocations: 0 / 455.4 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005141/0.2536, allocations: 375 kB / 455.8 MB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004518/0.2541, allocations: 73.28 kB / 455.9 MB, free: 12 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005127/0.2592, allocations: 3.992 MB / 459.9 MB, free: 7.812 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004232/0.2596, allocations: 0.8318 MB / 460.7 MB, free: 6.953 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000128/0.2598, allocations: 39.3 kB / 460.7 MB, free: 6.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001785/0.2599, allocations: 147.3 kB / 460.9 MB, free: 6.766 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2599, allocations: 4 kB / 460.9 MB, free: 6.762 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04176/0.3017, allocations: 11.05 MB / 471.9 MB, free: 11.97 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.7/11, allocations: 3.938 kB / 471.9 MB, free: 11.97 MB / 382.1 MB " [Timeout remaining time 649] (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 --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: 13.098212222997972]