Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001217/0.001217, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001311/0.001311, allocations: 211.8 kB / 24.51 MB, free: 3.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.353/1.353, allocations: 230.6 MB / 258.3 MB, free: 7.738 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_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_1_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.001514/0.001514, allocations: 55.91 kB / 378.5 MB, free: 2.918 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2525/0.254, allocations: 53.36 MB / 431.9 MB, free: 6.602 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.004691/0.2587, allocations: 3.231 MB / 435.1 MB, free: 3.363 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001509/0.2602, allocations: 0.8841 MB / 436 MB, free: 2.473 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001587/0.2603, allocations: 11.94 kB / 436 MB, free: 2.461 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001876/0.2605, allocations: 67.3 kB / 436.1 MB, free: 2.395 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003033/0.2608, allocations: 130.8 kB / 436.2 MB, free: 2.266 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003349/0.2612, allocations: 159.7 kB / 436.4 MB, free: 2.109 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005595/0.2617, allocations: 0.5214 MB / 436.9 MB, free: 1.586 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002533/0.262, allocations: 126.3 kB / 437 MB, free: 1.461 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002807/0.2623, allocations: 207.2 kB / 437.2 MB, free: 1.258 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002842/0.2626, allocations: 226.9 kB / 437.4 MB, free: 1.035 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.682e-05/0.2626, allocations: 48 kB / 437.5 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.2627, allocations: 48 kB / 437.5 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.2628, allocations: 107.6 kB / 437.6 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001987/0.263, allocations: 187.1 kB / 437.8 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005756/0.2636, allocations: 0.5485 MB / 438.4 MB, free: 104 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.2636, allocations: 0 / 438.4 MB, free: 104 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2636, allocations: 0 / 438.4 MB, free: 104 kB / 334.1 MB Notification: Performance of Transformations before backend: time 7.243e-06/0.2636, allocations: 4 kB / 438.4 MB, free: 100 kB / 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.001339/0.265, allocations: 0.7919 MB / 439.2 MB, free: 15.26 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.265, allocations: 8.031 kB / 439.2 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.969e-05/0.265, allocations: 13.19 kB / 439.2 MB, free: 15.24 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.493e-05/0.2651, allocations: 74.72 kB / 439.2 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002642/0.2653, allocations: 72.58 kB / 439.3 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000443/0.2658, allocations: 295.2 kB / 439.6 MB, free: 14.78 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.612e-05/0.2658, allocations: 29.31 kB / 439.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.979e-05/0.2659, allocations: 48.12 kB / 439.7 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006963/0.2666, allocations: 413.6 kB / 440.1 MB, free: 14.28 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.2666, allocations: 4 kB / 440.1 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.822e-05/0.2666, allocations: 16 kB / 440.1 MB, free: 14.26 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-06/0.2666, allocations: 8 kB / 440.1 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005226/0.2672, allocations: 259.8 kB / 440.4 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002032/0.2692, allocations: 1.356 MB / 441.7 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004082/0.2696, allocations: 227.4 kB / 441.9 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003639/0.27, allocations: 157.2 kB / 442.1 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.731e-05/0.27, allocations: 4.234 kB / 442.1 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004088/0.2704, allocations: 251.6 kB / 442.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.513e-06/0.2704, allocations: 0 / 442.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001424/0.2718, allocations: 0.5027 MB / 442.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.158e-05/0.2719, allocations: 110.8 kB / 443 MB, free: 11.24 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003466/0.2723, allocations: 312.5 kB / 443.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.046e-05/0.2723, allocations: 33.73 kB / 443.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001657/0.2724, allocations: 228.7 kB / 443.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.447e-05/0.2725, allocations: 103.1 kB / 443.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/0.2726, allocations: 70.08 kB / 443.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.2728, allocations: 342.7 kB / 444 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000197/0.273, allocations: 96.7 kB / 444.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003101/0.2733, allocations: 247.2 kB / 444.4 MB, free: 9.742 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004942/0.2738, allocations: 328.8 kB / 444.7 MB, free: 9.367 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.2738, allocations: 0 / 444.7 MB, free: 9.367 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007358/0.2745, allocations: 421.6 kB / 445.1 MB, free: 8.949 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.2746, allocations: 4 kB / 445.1 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.455e-06/0.2746, allocations: 4 kB / 445.1 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003062/0.2749, allocations: 84.81 kB / 445.2 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002227/0.2751, allocations: 63.89 kB / 445.2 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002039/0.2771, allocations: 1.88 MB / 447.1 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002485/0.2774, allocations: 35.78 kB / 447.2 MB, free: 6.766 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.945e-05/0.2774, allocations: 19.94 kB / 447.2 MB, free: 6.746 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_p.off,rectifier.diode_n.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.0002476/0.2777, allocations: 182.1 kB / 447.4 MB, free: 6.559 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.006e-05/0.2777, allocations: 39.83 kB / 447.4 MB, free: 6.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.004e-05/0.2778, allocations: 39.95 kB / 447.4 MB, free: 6.48 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.842e-06/0.2778, allocations: 4 kB / 447.4 MB, free: 6.477 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.2778, allocations: 0 / 447.4 MB, free: 6.477 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.2778, allocations: 7.984 kB / 447.4 MB, free: 6.469 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007056/0.2785, allocations: 0.4983 MB / 447.9 MB, free: 5.918 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.2785, allocations: 0 / 447.9 MB, free: 5.918 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001809/0.2787, allocations: 35.92 kB / 448 MB, free: 5.883 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002504/0.279, allocations: 76.84 kB / 448.1 MB, free: 5.805 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.826e-05/0.279, allocations: 11.98 kB / 448.1 MB, free: 5.793 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001899/0.2809, allocations: 1.875 MB / 449.9 MB, free: 3.809 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.2809, allocations: 8.031 kB / 450 MB, free: 3.801 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009617/0.2819, allocations: 0.5036 MB / 450.5 MB, free: 3.273 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001337/0.282, allocations: 59.7 kB / 450.5 MB, free: 3.215 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.936e-05/0.282, allocations: 8 kB / 450.5 MB, free: 3.207 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000172/0.2822, allocations: 15.98 kB / 450.5 MB, free: 3.191 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.916e-05/0.2823, allocations: 23.95 kB / 450.6 MB, free: 3.168 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.632e-05/0.2823, allocations: 15.98 kB / 450.6 MB, free: 3.152 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002348/0.2825, allocations: 219 kB / 450.8 MB, free: 2.938 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2826, allocations: 4.188 kB / 450.8 MB, free: 2.934 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004896/0.283, allocations: 115.8 kB / 450.9 MB, free: 2.82 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of discrete variables: 8 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.y_last,rectifier.diode_n.off,rectifier.diode_p.off) * 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.001276/0.2843, allocations: 1.048 MB / 452 MB, free: 1.734 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007682/0.2851, allocations: 410.8 kB / 452.4 MB, free: 1.32 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.2851, allocations: 0 / 452.4 MB, free: 1.32 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004133/0.2855, allocations: 271.5 kB / 452.6 MB, free: 1.043 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003378/0.2858, allocations: 57.06 kB / 452.7 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004668/0.2905, allocations: 3.476 MB / 456.2 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000209/0.2907, allocations: 211.8 kB / 456.4 MB, free: 13.08 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001271/0.2908, allocations: 35.23 kB / 456.4 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001807/0.291, allocations: 127.4 kB / 456.5 MB, free: 12.92 MB / 366.1 MB Notification: Performance of SimCode: time 1.142e-06/0.291, allocations: 0 / 456.5 MB, free: 12.92 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03436/0.3254, allocations: 8.743 MB / 465.3 MB, free: 4.465 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.47/12.8, allocations: 10.84 kB / 465.3 MB, free: 4.457 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse.fmu > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.094658187939785] 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.96450608689338 12.979179665 12.712686831 Calling exit ...