Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001621/0.001621, allocations: 116.9 kB / 18.49 MB, free: 4.535 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.001765/0.001765, allocations: 220.7 kB / 21.46 MB, free: 1.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.505/1.505, allocations: 230.4 MB / 254.7 MB, free: 15.2 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 55.91 kB / 373.7 MB, free: 10.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1143, allocations: 53.38 MB / 427.1 MB, free: 4.621 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.005351/0.1196, allocations: 3.759 MB / 430.8 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002059/0.1217, allocations: 1.009 MB / 431.8 MB, free: 15.83 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003269/0.122, allocations: 7.938 kB / 431.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002877/0.1223, allocations: 83.22 kB / 431.9 MB, free: 15.74 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004215/0.1227, allocations: 146.7 kB / 432.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004449/0.1232, allocations: 179.7 kB / 432.3 MB, free: 15.42 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007261/0.1239, allocations: 0.6265 MB / 432.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003297/0.1242, allocations: 152.1 kB / 433 MB, free: 14.63 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003964/0.1246, allocations: 247.1 kB / 433.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003456/0.125, allocations: 250.9 kB / 433.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.252e-05/0.1251, allocations: 56 kB / 433.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001273/0.1252, allocations: 68 kB / 433.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001223/0.1253, allocations: 123.5 kB / 433.8 MB, free: 13.9 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002832/0.1256, allocations: 274.6 kB / 434 MB, free: 13.63 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007479/0.1263, allocations: 0.642 MB / 434.7 MB, free: 12.98 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.1264, allocations: 0 / 434.7 MB, free: 12.98 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1264, allocations: 0 / 434.7 MB, free: 12.98 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.235e-05/0.1264, allocations: 0 / 434.7 MB, free: 12.98 MB / 366.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.001541/0.1279, allocations: 0.8111 MB / 435.5 MB, free: 12.12 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.128, allocations: 12.03 kB / 435.5 MB, free: 12.11 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.196e-05/0.128, allocations: 13.12 kB / 435.5 MB, free: 12.1 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.77e-05/0.1281, allocations: 86.64 kB / 435.6 MB, free: 12.01 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002211/0.1283, allocations: 64.59 kB / 435.7 MB, free: 11.95 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005177/0.1288, allocations: 385 kB / 436 MB, free: 11.53 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.601e-05/0.1289, allocations: 29.38 kB / 436.1 MB, free: 11.5 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.624e-05/0.1289, allocations: 55.92 kB / 436.1 MB, free: 11.45 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007832/0.1297, allocations: 457.5 kB / 436.6 MB, free: 10.97 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/0.1297, allocations: 0 / 436.6 MB, free: 10.97 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.481e-05/0.1298, allocations: 16 kB / 436.6 MB, free: 10.96 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.75e-05/0.1298, allocations: 12 kB / 436.6 MB, free: 10.95 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005953/0.1304, allocations: 319.8 kB / 436.9 MB, free: 10.63 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002535/0.1329, allocations: 1.86 MB / 438.8 MB, free: 8.668 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008194/0.1337, allocations: 0.5579 MB / 439.3 MB, free: 8.047 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005852/0.1343, allocations: 261.4 kB / 439.6 MB, free: 7.789 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.823e-05/0.1344, allocations: 8.312 kB / 439.6 MB, free: 7.781 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004844/0.1349, allocations: 273.1 kB / 439.8 MB, free: 7.496 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 2.054e-06/0.1349, allocations: 0 / 439.8 MB, free: 7.496 MB / 366.1 MB Notification: Performance of matching and sorting (n=43): time 0.002612/0.1375, allocations: 0.8279 MB / 440.7 MB, free: 6.641 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.664e-05/0.1375, allocations: 96.98 kB / 440.8 MB, free: 6.527 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003754/0.1379, allocations: 328.4 kB / 441.1 MB, free: 6.203 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.501e-05/0.138, allocations: 37.7 kB / 441.1 MB, free: 6.16 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001805/0.1381, allocations: 232.6 kB / 441.4 MB, free: 5.93 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001207/0.1383, allocations: 142.8 kB / 441.5 MB, free: 5.789 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001325/0.1384, allocations: 86.2 kB / 441.6 MB, free: 5.699 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.1386, allocations: 346.8 kB / 441.9 MB, free: 5.352 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002351/0.1388, allocations: 121.1 kB / 442 MB, free: 5.234 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004372/0.1392, allocations: 257 kB / 442.3 MB, free: 4.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005599/0.1398, allocations: 370.4 kB / 442.6 MB, free: 4.516 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.1398, allocations: 8 kB / 442.7 MB, free: 4.508 MB / 366.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001041/0.1408, allocations: 0.502 MB / 443.2 MB, free: 3.996 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.283e-05/0.1409, allocations: 15.97 kB / 443.2 MB, free: 3.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.1409, allocations: 4 kB / 443.2 MB, free: 3.977 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005568/0.1414, allocations: 142.6 kB / 443.3 MB, free: 3.836 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002489/0.1417, allocations: 63.91 kB / 443.4 MB, free: 3.773 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003152/0.1448, allocations: 2.542 MB / 445.9 MB, free: 1.098 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003493/0.1452, allocations: 43.77 kB / 446 MB, free: 1.055 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.538e-05/0.1452, allocations: 20 kB / 446 MB, free: 1.035 MB / 366.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.0002676/0.1455, allocations: 182.5 kB / 446.2 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.808e-05/0.1456, allocations: 43.84 kB / 446.2 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000125/0.1457, allocations: 48.39 kB / 446.2 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.1457, allocations: 8 kB / 446.3 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.1457, allocations: 3.984 kB / 446.3 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.1457, allocations: 0 / 446.3 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2115/0.3572, allocations: 1.015 MB / 447.3 MB, free: 24.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/0.3573, allocations: 1.344 kB / 447.3 MB, free: 24.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000208/0.3575, allocations: 36.44 kB / 447.3 MB, free: 24.22 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004867/0.3579, allocations: 147 kB / 447.5 MB, free: 24.21 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.649e-05/0.358, allocations: 8.281 kB / 447.5 MB, free: 24.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002529/0.3605, allocations: 2.54 MB / 450 MB, free: 22.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.3605, allocations: 1.281 kB / 450 MB, free: 22.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001114/0.3616, allocations: 0.7029 MB / 450.7 MB, free: 22.58 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001698/0.3618, allocations: 160.4 kB / 450.9 MB, free: 22.49 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.161e-05/0.3619, allocations: 10.25 kB / 450.9 MB, free: 22.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002132/0.3621, allocations: 13.84 kB / 450.9 MB, free: 22.49 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.994e-05/0.3622, allocations: 38.14 kB / 450.9 MB, free: 22.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.819e-05/0.3622, allocations: 13.47 kB / 450.9 MB, free: 22.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002332/0.3624, allocations: 227.3 kB / 451.2 MB, free: 22.37 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3624, allocations: 0 / 451.2 MB, free: 22.37 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006353/0.3631, allocations: 152 kB / 451.3 MB, free: 22.35 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.001375/0.3644, allocations: 1.27 MB / 452.6 MB, free: 21.42 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001043/0.3655, allocations: 0.5161 MB / 453.1 MB, free: 21.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.3655, allocations: 3.531 kB / 453.1 MB, free: 21.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005087/0.366, allocations: 368.7 kB / 453.5 MB, free: 20.95 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005221/0.3665, allocations: 89.11 kB / 453.5 MB, free: 20.93 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005016/0.3715, allocations: 4 MB / 457.5 MB, free: 18.43 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003162/0.3718, allocations: 0.8275 MB / 458.4 MB, free: 17.73 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001609/0.372, allocations: 42.56 kB / 458.4 MB, free: 17.72 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001763/0.3722, allocations: 145.2 kB / 458.6 MB, free: 17.61 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3722, allocations: 0 / 458.6 MB, free: 17.61 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04082/0.413, allocations: 11.07 MB / 469.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.44/12.85, allocations: 12.33 kB / 469.6 MB, free: 15.2 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.50134691101266] 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.006101236038376 13.024897949 12.895746495 Calling exit ...