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.001267/0.001267, allocations: 112.9 kB / 17.74 MB, free: 5.305 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.001228/0.001228, allocations: 186.9 kB / 20.68 MB, free: 2.371 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.399/1.399, allocations: 222.9 MB / 246.4 MB, free: 4.207 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="me",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="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 51.91 kB / 357.5 MB, free: 8.855 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1104, allocations: 49.43 MB / 406.9 MB, free: 7.379 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.005408/0.1159, allocations: 3.45 MB / 410.4 MB, free: 3.918 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001742/0.1176, allocations: 0.8374 MB / 411.2 MB, free: 3.074 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002064/0.1179, allocations: 7.938 kB / 411.2 MB, free: 3.066 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002372/0.1181, allocations: 75.3 kB / 411.3 MB, free: 2.992 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003288/0.1185, allocations: 118.9 kB / 411.4 MB, free: 2.875 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003461/0.1188, allocations: 135.8 kB / 411.6 MB, free: 2.742 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006413/0.1195, allocations: 0.5214 MB / 412.1 MB, free: 2.219 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003397/0.1198, allocations: 173.8 kB / 412.3 MB, free: 2.043 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002713/0.1201, allocations: 199.2 kB / 412.4 MB, free: 1.848 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003163/0.1204, allocations: 219 kB / 412.7 MB, free: 1.633 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.828e-05/0.1205, allocations: 44 kB / 412.7 MB, free: 1.59 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.898e-05/0.1206, allocations: 44 kB / 412.7 MB, free: 1.547 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001316/0.1208, allocations: 107.7 kB / 412.9 MB, free: 1.441 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002362/0.121, allocations: 226.8 kB / 413.1 MB, free: 1.219 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006254/0.1216, allocations: 0.5252 MB / 413.6 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.1216, allocations: 4 kB / 413.6 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.634e-06/0.1217, allocations: 0 / 413.6 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.23e-05/0.1217, allocations: 0 / 413.6 MB, free: 0.6875 MB / 334.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.001391/0.1231, allocations: 0.7374 MB / 414.3 MB, free: 15.9 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.1231, allocations: 15.89 kB / 414.4 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.561e-05/0.1232, allocations: 74.72 kB / 414.4 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.253e-05/0.1233, allocations: 52.61 kB / 414.5 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004635/0.1238, allocations: 344.5 kB / 414.8 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.611e-05/0.1238, allocations: 29.38 kB / 414.8 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.824e-05/0.1239, allocations: 40.38 kB / 414.9 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006894/0.1246, allocations: 391.8 kB / 415.3 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.88e-05/0.1246, allocations: 0 / 415.3 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.961e-05/0.1247, allocations: 23.98 kB / 415.3 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.699e-05/0.1247, allocations: 12 kB / 415.3 MB, free: 14.87 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005269/0.1252, allocations: 263.8 kB / 415.6 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002277/0.1275, allocations: 1.477 MB / 417 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004502/0.128, allocations: 243.4 kB / 417.3 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000391/0.1284, allocations: 169.9 kB / 417.4 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.277e-05/0.1284, allocations: 8.234 kB / 417.4 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004329/0.1289, allocations: 226.6 kB / 417.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.803e-06/0.1289, allocations: 3.938 kB / 417.7 MB, free: 12.37 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001583/0.1305, allocations: 0.589 MB / 418.3 MB, free: 11.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.111e-05/0.1306, allocations: 110.8 kB / 418.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003368/0.1309, allocations: 300.5 kB / 418.7 MB, free: 11.31 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.652e-05/0.131, allocations: 33.7 kB / 418.7 MB, free: 11.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001863/0.1312, allocations: 224.6 kB / 418.9 MB, free: 11.05 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.64e-05/0.1313, allocations: 103.1 kB / 419 MB, free: 10.95 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001169/0.1314, allocations: 70.06 kB / 419.1 MB, free: 10.87 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.1316, allocations: 346.8 kB / 419.4 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001983/0.1318, allocations: 84.72 kB / 419.5 MB, free: 10.44 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003041/0.1321, allocations: 225.5 kB / 419.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005181/0.1326, allocations: 329.5 kB / 420 MB, free: 9.789 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.1326, allocations: 3.938 kB / 420.1 MB, free: 9.785 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007518/0.1334, allocations: 414 kB / 420.5 MB, free: 9.371 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.1334, allocations: 11.94 kB / 420.5 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.1334, allocations: 4 kB / 420.5 MB, free: 9.355 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000316/0.1338, allocations: 76.81 kB / 420.5 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000225/0.134, allocations: 56.19 kB / 420.6 MB, free: 9.223 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00223/0.1362, allocations: 2.002 MB / 422.6 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000247/0.1365, allocations: 39.78 kB / 422.6 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.698e-05/0.1365, allocations: 15.98 kB / 422.7 MB, free: 7.027 MB / 350.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.0002154/0.1368, allocations: 165.7 kB / 422.8 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.406e-05/0.1368, allocations: 39.88 kB / 422.9 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.671e-05/0.1369, allocations: 35.09 kB / 422.9 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.1369, allocations: 4 kB / 422.9 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.1369, allocations: 0 / 422.9 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.1369, allocations: 8.172 kB / 422.9 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007024/0.1377, allocations: 0.5693 MB / 423.5 MB, free: 6.141 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.1377, allocations: 3.938 kB / 423.5 MB, free: 6.137 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001839/0.1379, allocations: 35.91 kB / 423.5 MB, free: 6.102 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002418/0.1381, allocations: 88.88 kB / 423.6 MB, free: 6.012 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.617e-05/0.1381, allocations: 4 kB / 423.6 MB, free: 6.008 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002138/0.1403, allocations: 1.987 MB / 425.6 MB, free: 3.879 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.1403, allocations: 4.188 kB / 425.6 MB, free: 3.875 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009724/0.1413, allocations: 0.4912 MB / 426.1 MB, free: 3.355 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000162/0.1415, allocations: 136.8 kB / 426.2 MB, free: 3.203 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.84e-05/0.1415, allocations: 11.98 kB / 426.2 MB, free: 3.191 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001602/0.1417, allocations: 8 kB / 426.2 MB, free: 3.184 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.161e-05/0.1418, allocations: 31.95 kB / 426.3 MB, free: 3.152 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-05/0.1418, allocations: 8 kB / 426.3 MB, free: 3.145 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002419/0.1421, allocations: 215.1 kB / 426.5 MB, free: 2.934 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1421, allocations: 0 / 426.5 MB, free: 2.934 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004982/0.1426, allocations: 111.8 kB / 426.6 MB, free: 2.824 MB / 350.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.001323/0.1439, allocations: 1.058 MB / 427.7 MB, free: 1.734 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008173/0.1447, allocations: 427.8 kB / 428.1 MB, free: 1.305 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.1447, allocations: 0 / 428.1 MB, free: 1.305 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000433/0.1452, allocations: 283.5 kB / 428.4 MB, free: 1.016 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004384/0.1456, allocations: 62.72 kB / 428.4 MB, free: 0.957 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2011/0.3468, allocations: 3.41 MB / 431.8 MB, free: 20.91 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002485/0.3471, allocations: 0.8107 MB / 432.6 MB, free: 20.21 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001393/0.3472, allocations: 33.27 kB / 432.7 MB, free: 20.21 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001388/0.3474, allocations: 120.1 kB / 432.8 MB, free: 20.2 MB / 350.1 MB Notification: Performance of SimCode: time 7.02e-07/0.3474, allocations: 0 / 432.8 MB, free: 20.2 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05376/0.4011, allocations: 8.274 MB / 441.1 MB, free: 19.45 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.39, allocations: 8.594 kB / 441.1 MB, free: 19.44 MB / 350.1 MB " [Timeout remaining time 648] (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: 14.70967654301785] 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.480299106100574 12.493936285 12.368760756 Calling exit ...