Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 117.8 kB / 18.49 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 190.7 kB / 21.43 MB, free: 1.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 225.6 MB / 249.8 MB, free: 3.715 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00157/0.00157, allocations: 47.92 kB / 366.4 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1256, allocations: 52.15 MB / 418.5 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.005974/0.1316, allocations: 3.731 MB / 422.2 MB, free: 8.852 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001932/0.1335, allocations: 0.9193 MB / 423.2 MB, free: 7.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002259/0.1338, allocations: 11.94 kB / 423.2 MB, free: 7.918 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00026/0.134, allocations: 75.23 kB / 423.2 MB, free: 7.844 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003785/0.1344, allocations: 154.7 kB / 423.4 MB, free: 7.691 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000362/0.1348, allocations: 159.8 kB / 423.5 MB, free: 7.535 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000681/0.1354, allocations: 0.6109 MB / 424.2 MB, free: 6.922 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003596/0.1358, allocations: 148.1 kB / 424.3 MB, free: 6.766 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003114/0.1361, allocations: 247.1 kB / 424.5 MB, free: 6.523 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003485/0.1365, allocations: 246.9 kB / 424.8 MB, free: 6.281 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.228e-05/0.1365, allocations: 56 kB / 424.8 MB, free: 6.227 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.456e-05/0.1366, allocations: 56 kB / 424.9 MB, free: 6.172 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001291/0.1367, allocations: 119.5 kB / 425 MB, free: 6.055 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002943/0.137, allocations: 266.8 kB / 425.3 MB, free: 5.793 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007437/0.1378, allocations: 0.6341 MB / 425.9 MB, free: 5.156 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.1378, allocations: 0 / 425.9 MB, free: 5.156 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.1378, allocations: 4 kB / 425.9 MB, free: 5.152 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.1378, allocations: 0 / 425.9 MB, free: 5.152 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.001616/0.1394, allocations: 0.7919 MB / 426.7 MB, free: 4.312 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.1395, allocations: 11.89 kB / 426.7 MB, free: 4.301 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.579e-05/0.1395, allocations: 17.19 kB / 426.7 MB, free: 4.285 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000103/0.1396, allocations: 82.7 kB / 426.8 MB, free: 4.195 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001047/0.1397, allocations: 60.56 kB / 426.9 MB, free: 4.137 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005162/0.1402, allocations: 372.3 kB / 427.2 MB, free: 3.734 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.612e-05/0.1403, allocations: 29.38 kB / 427.3 MB, free: 3.703 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.757e-05/0.1403, allocations: 51.94 kB / 427.3 MB, free: 3.652 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008023/0.1411, allocations: 457.6 kB / 427.8 MB, free: 3.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.99e-05/0.1412, allocations: 3.938 kB / 427.8 MB, free: 3.176 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.913e-05/0.1412, allocations: 20 kB / 427.8 MB, free: 3.156 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.29e-05/0.1412, allocations: 12 kB / 427.8 MB, free: 3.145 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006599/0.1419, allocations: 319.8 kB / 428.1 MB, free: 2.832 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002584/0.1445, allocations: 1.84 MB / 429.9 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009338/0.1454, allocations: 0.5673 MB / 430.5 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00061/0.146, allocations: 253.2 kB / 430.8 MB, free: 8 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.657e-05/0.146, allocations: 8.266 kB / 430.8 MB, free: 0 / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005764/0.1466, allocations: 273.1 kB / 431 MB, free: 15.71 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.452e-06/0.1466, allocations: 0 / 431 MB, free: 15.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=43): time 0.002413/0.149, allocations: 0.8424 MB / 431.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.2e-05/0.1491, allocations: 81.11 kB / 432 MB, free: 14.75 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003908/0.1495, allocations: 320.4 kB / 432.3 MB, free: 14.42 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.663e-05/0.1496, allocations: 41.69 kB / 432.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000182/0.1497, allocations: 212.7 kB / 432.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000128/0.1499, allocations: 146.8 kB / 432.7 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001545/0.15, allocations: 82.25 kB / 432.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001775/0.1502, allocations: 346.8 kB / 433.1 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002391/0.1504, allocations: 121.1 kB / 433.2 MB, free: 13.47 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004038/0.1508, allocations: 253 kB / 433.4 MB, free: 13.16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000707/0.1516, allocations: 382.5 kB / 433.8 MB, free: 12.74 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.1516, allocations: 0 / 433.8 MB, free: 12.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009218/0.1525, allocations: 0.5017 MB / 434.3 MB, free: 12.23 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.648e-05/0.1525, allocations: 11.94 kB / 434.3 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.1525, allocations: 4 kB / 434.3 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005296/0.153, allocations: 151 kB / 434.5 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002485/0.1533, allocations: 63.91 kB / 434.5 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003258/0.1566, allocations: 2.54 MB / 437.1 MB, free: 9.324 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002613/0.1568, allocations: 43.75 kB / 437.1 MB, free: 9.281 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.172e-05/0.1568, allocations: 20 kB / 437.1 MB, free: 9.262 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.0002476/0.1571, allocations: 170.6 kB / 437.3 MB, free: 9.086 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.95e-05/0.1572, allocations: 47.66 kB / 437.4 MB, free: 9.039 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001126/0.1573, allocations: 48.3 kB / 437.4 MB, free: 8.988 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.1573, allocations: 4 kB / 437.4 MB, free: 8.984 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1573, allocations: 0 / 437.4 MB, free: 8.984 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.1573, allocations: 3.984 kB / 437.4 MB, free: 8.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001567/0.1589, allocations: 1.016 MB / 438.4 MB, free: 7.902 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.1589, allocations: 8 kB / 438.4 MB, free: 7.895 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001614/0.159, allocations: 27.98 kB / 438.5 MB, free: 7.867 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004024/0.1594, allocations: 156.8 kB / 438.6 MB, free: 7.711 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.688e-05/0.1595, allocations: 11.94 kB / 438.6 MB, free: 7.699 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002936/0.1624, allocations: 2.537 MB / 441.2 MB, free: 5.027 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.1624, allocations: 3.938 kB / 441.2 MB, free: 5.023 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001161/0.1636, allocations: 0.7095 MB / 441.9 MB, free: 4.289 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001774/0.1637, allocations: 156.7 kB / 442 MB, free: 4.117 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.799e-05/0.1638, allocations: 8 kB / 442 MB, free: 4.109 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002112/0.164, allocations: 15.98 kB / 442.1 MB, free: 4.094 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.416e-05/0.1641, allocations: 39.89 kB / 442.1 MB, free: 4.055 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-05/0.1641, allocations: 16 kB / 442.1 MB, free: 4.039 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002371/0.1644, allocations: 215.1 kB / 442.3 MB, free: 3.828 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1644, allocations: 0 / 442.3 MB, free: 3.828 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005687/0.1649, allocations: 143.8 kB / 442.5 MB, free: 3.688 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.001545/0.1665, allocations: 1.266 MB / 443.7 MB, free: 2.391 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001083/0.1675, allocations: 0.5212 MB / 444.2 MB, free: 1.855 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.1676, allocations: 3.984 kB / 444.3 MB, free: 1.852 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005533/0.1681, allocations: 367 kB / 444.6 MB, free: 1.48 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004779/0.1686, allocations: 83.36 kB / 444.7 MB, free: 1.402 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2312/0.3998, allocations: 3.926 MB / 448.6 MB, free: 28.84 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002569/0.4, allocations: 0.8245 MB / 449.4 MB, free: 28.15 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001535/0.4002, allocations: 37.84 kB / 449.5 MB, free: 28.14 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001547/0.4003, allocations: 138.6 kB / 449.6 MB, free: 28.14 MB / 366.1 MB Notification: Performance of SimCode: time 1.052e-06/0.4003, allocations: 3.344 kB / 449.6 MB, free: 28.14 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04493/0.4453, allocations: 10.87 MB / 460.5 MB, free: 26.52 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.29/12.74, allocations: 11.52 kB / 460.5 MB, free: 26.51 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse.fmu > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.265586582012475] 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.890496139007155 12.907888982 12.76659458 Calling exit ...