Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00151/0.00151, allocations: 114.7 kB / 19.17 MB, free: 3.891 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 203.8 kB / 22.11 MB, free: 0.9531 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.482/1.482, allocations: 207.6 MB / 232.5 MB, free: 3.938 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001715/0.001715, allocations: 55.92 kB / 343 MB, free: 9.992 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1086, allocations: 49.13 MB / 392.1 MB, free: 8.695 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.005299/0.1139, allocations: 3.417 MB / 395.6 MB, free: 5.262 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001488/0.1154, allocations: 0.8886 MB / 396.4 MB, free: 4.363 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001756/0.1155, allocations: 11.94 kB / 396.5 MB, free: 4.352 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002166/0.1158, allocations: 63.36 kB / 396.5 MB, free: 4.289 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000317/0.1161, allocations: 130.8 kB / 396.6 MB, free: 4.16 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003262/0.1164, allocations: 139.8 kB / 396.8 MB, free: 4.023 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005602/0.117, allocations: 0.5056 MB / 397.3 MB, free: 3.516 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002648/0.1172, allocations: 125.9 kB / 397.4 MB, free: 3.395 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002467/0.1175, allocations: 199.2 kB / 397.6 MB, free: 3.199 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003118/0.1178, allocations: 215.1 kB / 397.8 MB, free: 2.988 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.684e-05/0.1179, allocations: 47.94 kB / 397.9 MB, free: 2.941 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.607e-05/0.1179, allocations: 44 kB / 397.9 MB, free: 2.898 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001069/0.118, allocations: 99.62 kB / 398 MB, free: 2.801 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002127/0.1182, allocations: 230.9 kB / 398.2 MB, free: 2.574 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005564/0.1188, allocations: 0.5135 MB / 398.7 MB, free: 2.059 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1188, allocations: 3.938 kB / 398.7 MB, free: 2.055 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1188, allocations: 0 / 398.7 MB, free: 2.055 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.1188, allocations: 8 kB / 398.8 MB, free: 2.047 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001288/0.1201, allocations: 0.7295 MB / 399.5 MB, free: 1.262 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.1201, allocations: 11.89 kB / 399.5 MB, free: 1.25 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.106e-05/0.1202, allocations: 17.19 kB / 399.5 MB, free: 1.234 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.695e-05/0.1202, allocations: 70.72 kB / 399.6 MB, free: 1.156 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.027e-05/0.1203, allocations: 52.64 kB / 399.6 MB, free: 1.105 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004318/0.1208, allocations: 336.5 kB / 400 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.033e-05/0.1208, allocations: 29.38 kB / 400 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.288e-05/0.1209, allocations: 40.12 kB / 400 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006675/0.1215, allocations: 395.1 kB / 400.4 MB, free: 276 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.1215, allocations: 0 / 400.4 MB, free: 276 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.822e-05/0.1216, allocations: 12 kB / 400.4 MB, free: 264 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.778e-06/0.1216, allocations: 8 kB / 400.4 MB, free: 256 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005428/0.1221, allocations: 258.5 kB / 400.7 MB, free: 15.99 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002136/0.1243, allocations: 1.463 MB / 402.1 MB, free: 14.44 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004214/0.1247, allocations: 219.5 kB / 402.4 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003653/0.1251, allocations: 162.2 kB / 402.5 MB, free: 14.05 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.178e-05/0.1251, allocations: 8.172 kB / 402.5 MB, free: 14.05 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004179/0.1255, allocations: 230 kB / 402.8 MB, free: 13.8 MB / 334.1 MB Notification: Performance of pre-optimization done (n=31): time 1.443e-06/0.1255, allocations: 0 / 402.8 MB, free: 13.8 MB / 334.1 MB Notification: Performance of matching and sorting (n=31): time 0.001531/0.127, allocations: 0.5773 MB / 403.3 MB, free: 13.2 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.479e-05/0.1271, allocations: 106.8 kB / 403.4 MB, free: 13.07 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003463/0.1275, allocations: 304.5 kB / 403.7 MB, free: 12.76 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.606e-05/0.1275, allocations: 33.7 kB / 403.8 MB, free: 12.72 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001529/0.1277, allocations: 212.7 kB / 404 MB, free: 12.51 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.344e-05/0.1277, allocations: 103.2 kB / 404.1 MB, free: 12.41 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/0.1279, allocations: 74.06 kB / 404.1 MB, free: 12.33 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.128, allocations: 338.8 kB / 404.5 MB, free: 11.99 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001944/0.1282, allocations: 92.7 kB / 404.6 MB, free: 11.9 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002981/0.1285, allocations: 225.5 kB / 404.8 MB, free: 11.62 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004787/0.129, allocations: 323 kB / 405.1 MB, free: 11.25 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.992e-06/0.129, allocations: 4 kB / 405.1 MB, free: 11.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007293/0.1297, allocations: 413.6 kB / 405.5 MB, free: 10.83 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.1297, allocations: 8 kB / 405.5 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.1297, allocations: 4.5 kB / 405.5 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003191/0.1301, allocations: 88.69 kB / 405.6 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002295/0.1303, allocations: 63.91 kB / 405.7 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002033/0.1323, allocations: 1.991 MB / 407.7 MB, free: 8.535 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002283/0.1326, allocations: 35.77 kB / 407.7 MB, free: 8.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.593e-05/0.1326, allocations: 24.06 kB / 407.7 MB, free: 8.477 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 11 (meanVoltage.y,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,rectifier.diode_n.off,rectifier.diode_p.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * 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 {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001856/0.1328, allocations: 169.6 kB / 407.9 MB, free: 8.301 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.23e-05/0.1328, allocations: 35.77 kB / 407.9 MB, free: 8.266 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.016e-05/0.1329, allocations: 39.09 kB / 408 MB, free: 8.227 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.1329, allocations: 4 kB / 408 MB, free: 8.223 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.1329, allocations: 0 / 408 MB, free: 8.223 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.1329, allocations: 0 / 408 MB, free: 8.223 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00065/0.1336, allocations: 0.5732 MB / 408.5 MB, free: 7.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.1336, allocations: 8.031 kB / 408.5 MB, free: 7.582 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001712/0.1337, allocations: 27.97 kB / 408.6 MB, free: 7.555 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002339/0.134, allocations: 80.75 kB / 408.6 MB, free: 7.473 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.791e-05/0.134, allocations: 7.984 kB / 408.7 MB, free: 7.465 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001932/0.1359, allocations: 1.995 MB / 410.7 MB, free: 5.332 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.1359, allocations: 4 kB / 410.7 MB, free: 5.328 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009033/0.1368, allocations: 490.9 kB / 411.1 MB, free: 4.824 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001407/0.137, allocations: 148.9 kB / 411.3 MB, free: 4.66 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.988e-05/0.137, allocations: 4 kB / 411.3 MB, free: 4.656 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000174/0.1372, allocations: 15.98 kB / 411.3 MB, free: 4.641 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.684e-05/0.1373, allocations: 23.97 kB / 411.3 MB, free: 4.617 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.332e-05/0.1373, allocations: 11.98 kB / 411.3 MB, free: 4.605 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002102/0.1375, allocations: 211 kB / 411.5 MB, free: 4.398 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1375, allocations: 0 / 411.5 MB, free: 4.398 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004534/0.138, allocations: 111.8 kB / 411.7 MB, free: 4.289 MB / 334.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: 8 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.off,rectifier.diode_n.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * Number of discrete states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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 {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001267/0.1392, allocations: 1.057 MB / 412.7 MB, free: 3.199 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007713/0.14, allocations: 407 kB / 413.1 MB, free: 2.789 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.14, allocations: 0 / 413.1 MB, free: 2.789 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004211/0.1404, allocations: 278.6 kB / 413.4 MB, free: 2.504 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003325/0.1408, allocations: 60.59 kB / 413.4 MB, free: 2.445 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004472/0.1452, allocations: 3.402 MB / 416.8 MB, free: 14.84 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000443/0.1457, allocations: 0.8029 MB / 417.6 MB, free: 14.02 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001204/0.1458, allocations: 30.97 kB / 417.7 MB, free: 13.98 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001755/0.146, allocations: 127.3 kB / 417.8 MB, free: 13.86 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.146, allocations: 0 / 417.8 MB, free: 13.86 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03528/0.1812, allocations: 8.36 MB / 426.2 MB, free: 5.434 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.85/12.03, allocations: 15.55 kB / 426.2 MB, free: 5.418 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse.fmu > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.5945915140328] 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.174858660961036 12.188759267 12.067062932 Calling exit ...