Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.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.001368/0.001368, allocations: 108.6 kB / 18.49 MB, free: 4.543 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.001353/0.001353, allocations: 197 kB / 21.43 MB, free: 1.609 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.502/1.502, allocations: 225.6 MB / 249.8 MB, free: 3.578 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.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001635/0.001635, allocations: 47.92 kB / 366.4 MB, free: 0.793 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.106, allocations: 52.14 MB / 418.5 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.005785/0.1118, allocations: 3.474 MB / 422 MB, free: 9.066 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002142/0.1139, allocations: 0.8413 MB / 422.8 MB, free: 8.219 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004445/0.1144, allocations: 7.938 kB / 422.8 MB, free: 8.211 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003429/0.1147, allocations: 71.3 kB / 422.9 MB, free: 8.141 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006097/0.1153, allocations: 134.9 kB / 423 MB, free: 8.008 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000463/0.1158, allocations: 135.7 kB / 423.2 MB, free: 7.875 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008035/0.1166, allocations: 0.5097 MB / 423.7 MB, free: 7.363 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003421/0.1169, allocations: 129.8 kB / 423.8 MB, free: 7.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000453/0.1174, allocations: 203.2 kB / 424 MB, free: 7.031 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003824/0.1178, allocations: 219 kB / 424.2 MB, free: 6.816 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001126/0.1179, allocations: 48 kB / 424.3 MB, free: 6.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001137/0.118, allocations: 44 kB / 424.3 MB, free: 6.727 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001175/0.1181, allocations: 99.62 kB / 424.4 MB, free: 6.629 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002979/0.1184, allocations: 234.8 kB / 424.6 MB, free: 6.398 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007121/0.1191, allocations: 0.5252 MB / 425.1 MB, free: 5.871 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1191, allocations: 0 / 425.1 MB, free: 5.871 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1191, allocations: 0 / 425.1 MB, free: 5.871 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.981e-05/0.1191, allocations: 0 / 425.1 MB, free: 5.871 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.001555/0.1207, allocations: 0.7414 MB / 425.9 MB, free: 5.082 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.1207, allocations: 11.89 kB / 425.9 MB, free: 5.07 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.963e-05/0.1208, allocations: 17.12 kB / 425.9 MB, free: 5.055 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.103e-05/0.1209, allocations: 70.72 kB / 426 MB, free: 4.977 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001217/0.121, allocations: 60.61 kB / 426 MB, free: 4.918 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004905/0.1215, allocations: 340.5 kB / 426.4 MB, free: 4.543 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.259e-05/0.1215, allocations: 29.38 kB / 426.4 MB, free: 4.516 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.789e-05/0.1216, allocations: 40.12 kB / 426.4 MB, free: 4.477 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007342/0.1223, allocations: 391.9 kB / 426.8 MB, free: 4.074 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.1223, allocations: 0 / 426.8 MB, free: 4.074 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.058e-05/0.1224, allocations: 16 kB / 426.8 MB, free: 4.059 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.329e-05/0.1224, allocations: 8 kB / 426.9 MB, free: 4.051 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005702/0.123, allocations: 263.8 kB / 427.1 MB, free: 3.793 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002311/0.1253, allocations: 1.488 MB / 428.6 MB, free: 2.207 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005122/0.1258, allocations: 225.5 kB / 428.8 MB, free: 1.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00038/0.1262, allocations: 157.2 kB / 429 MB, free: 1.828 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.918e-05/0.1262, allocations: 4.219 kB / 429 MB, free: 1.824 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004278/0.1266, allocations: 234.4 kB / 429.2 MB, free: 1.574 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.422e-06/0.1266, allocations: 4 kB / 429.2 MB, free: 1.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.00162/0.1282, allocations: 0.5812 MB / 429.8 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.302e-05/0.1283, allocations: 110.8 kB / 429.9 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003306/0.1286, allocations: 292.5 kB / 430.2 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.469e-05/0.1287, allocations: 37.7 kB / 430.2 MB, free: 496 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001549/0.1288, allocations: 216.7 kB / 430.4 MB, free: 276 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.625e-05/0.1289, allocations: 103.1 kB / 430.5 MB, free: 172 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.129, allocations: 70.08 kB / 430.6 MB, free: 92 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.1292, allocations: 342.8 kB / 430.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002009/0.1294, allocations: 100.7 kB / 431 MB, free: 15.65 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002925/0.1297, allocations: 221.5 kB / 431.2 MB, free: 15.38 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004839/0.1302, allocations: 331 kB / 431.6 MB, free: 15 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.1302, allocations: 0 / 431.6 MB, free: 15 MB / 366.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007418/0.1309, allocations: 406.1 kB / 432 MB, free: 14.59 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.1309, allocations: 6.031 kB / 432 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.131, allocations: 4 kB / 432 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003345/0.1313, allocations: 93.3 kB / 432.1 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002406/0.1315, allocations: 59.84 kB / 432.1 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002168/0.1337, allocations: 2.002 MB / 434.1 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002441/0.1339, allocations: 39.81 kB / 434.2 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.614e-05/0.134, allocations: 15.98 kB / 434.2 MB, free: 12.24 MB / 366.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_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_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.0002114/0.1342, allocations: 169.8 kB / 434.4 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.145e-05/0.1342, allocations: 35.8 kB / 434.4 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.509e-05/0.1343, allocations: 35.11 kB / 434.4 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.1343, allocations: 7.984 kB / 434.4 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.1343, allocations: 0 / 434.4 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.1343, allocations: 0 / 434.4 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006974/0.135, allocations: 0.5693 MB / 435 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.135, allocations: 3.984 kB / 435 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001723/0.1352, allocations: 31.95 kB / 435 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002311/0.1354, allocations: 76.81 kB / 435.1 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.944e-05/0.1355, allocations: 11.98 kB / 435.1 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002017/0.1375, allocations: 1.995 MB / 437.1 MB, free: 9.094 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1375, allocations: 0 / 437.1 MB, free: 9.094 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009412/0.1384, allocations: 0.495 MB / 437.6 MB, free: 8.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001403/0.1386, allocations: 136.9 kB / 437.7 MB, free: 8.418 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.116e-05/0.1386, allocations: 4 kB / 437.7 MB, free: 8.414 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001722/0.1388, allocations: 19.98 kB / 437.8 MB, free: 8.395 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.902e-05/0.1389, allocations: 23.97 kB / 437.8 MB, free: 8.371 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.966e-05/0.1389, allocations: 15.98 kB / 437.8 MB, free: 8.355 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000213/0.1391, allocations: 203.1 kB / 438 MB, free: 8.156 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1391, allocations: 0 / 438 MB, free: 8.156 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004831/0.1396, allocations: 115.8 kB / 438.1 MB, free: 8.043 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: 8 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.off,rectifier.diode_n.off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * 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.001368/0.141, allocations: 1.056 MB / 439.2 MB, free: 6.953 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007968/0.1418, allocations: 418.1 kB / 439.6 MB, free: 6.531 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1418, allocations: 0 / 439.6 MB, free: 6.531 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004129/0.1422, allocations: 275.5 kB / 439.8 MB, free: 6.25 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003395/0.1425, allocations: 56.59 kB / 439.9 MB, free: 6.195 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004683/0.1472, allocations: 3.4 MB / 443.3 MB, free: 2.598 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005101/0.1477, allocations: 0.8106 MB / 444.1 MB, free: 1.762 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001265/0.1478, allocations: 35 kB / 444.1 MB, free: 1.727 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001754/0.148, allocations: 123.4 kB / 444.3 MB, free: 1.609 MB / 366.1 MB Notification: Performance of SimCode: time 9.32e-07/0.148, allocations: 4 kB / 444.3 MB, free: 1.605 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2481/0.3961, allocations: 8.353 MB / 452.6 MB, free: 29.93 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.08/12.48, allocations: 9.141 kB / 452.6 MB, free: 29.93 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse.fmu > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.0270499039907] 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.641903228999581 12.654163848 12.532371463 Calling exit ...