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.001507/0.001507, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001723/0.001723, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.367/1.367, allocations: 230.6 MB / 258.3 MB, free: 7.988 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.001422/0.001422, allocations: 52.06 kB / 378.6 MB, free: 3.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2484/0.2498, allocations: 53.37 MB / 431.9 MB, free: 6.949 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.005113/0.2549, allocations: 3.531 MB / 435.5 MB, free: 3.406 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001907/0.2568, allocations: 0.9268 MB / 436.4 MB, free: 2.473 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002149/0.257, allocations: 11.94 kB / 436.4 MB, free: 2.461 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002237/0.2572, allocations: 67.3 kB / 436.5 MB, free: 2.395 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003625/0.2576, allocations: 134.8 kB / 436.6 MB, free: 2.262 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003964/0.258, allocations: 159.7 kB / 436.8 MB, free: 2.105 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006394/0.2586, allocations: 0.5175 MB / 437.3 MB, free: 1.586 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002812/0.2589, allocations: 135.4 kB / 437.4 MB, free: 1.453 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003419/0.2593, allocations: 211.2 kB / 437.6 MB, free: 1.246 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003474/0.2596, allocations: 215 kB / 437.8 MB, free: 1.035 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.899e-05/0.2597, allocations: 48 kB / 437.9 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001368/0.2598, allocations: 48 kB / 437.9 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001457/0.26, allocations: 107.6 kB / 438 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002472/0.2602, allocations: 234.8 kB / 438.3 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007093/0.2609, allocations: 0.5443 MB / 438.8 MB, free: 64 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.2609, allocations: 0 / 438.8 MB, free: 64 kB / 334.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.2609, allocations: 0 / 438.8 MB, free: 64 kB / 334.1 MB Notification: Performance of Transformations before backend: time 9.098e-06/0.2609, allocations: 8 kB / 438.8 MB, free: 56 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.00155/0.2625, allocations: 0.7778 MB / 439.6 MB, free: 15.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.2625, allocations: 12.02 kB / 439.6 MB, free: 15.22 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.608e-05/0.2626, allocations: 17.19 kB / 439.6 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.73e-05/0.2627, allocations: 70.72 kB / 439.7 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002885/0.2629, allocations: 68.59 kB / 439.8 MB, free: 15.06 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004991/0.2634, allocations: 299.2 kB / 440 MB, free: 14.74 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.488e-05/0.2635, allocations: 33.36 kB / 440.1 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.541e-05/0.2636, allocations: 44.12 kB / 440.1 MB, free: 14.67 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007278/0.2643, allocations: 399.8 kB / 440.5 MB, free: 14.26 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/0.2643, allocations: 0 / 440.5 MB, free: 14.26 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.774e-05/0.2643, allocations: 16 kB / 440.5 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.266e-05/0.2644, allocations: 12 kB / 440.5 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000586/0.2649, allocations: 259.8 kB / 440.8 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002142/0.2671, allocations: 1.454 MB / 442.2 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004201/0.2675, allocations: 235.3 kB / 442.5 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003865/0.2679, allocations: 149.2 kB / 442.6 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.727e-05/0.2679, allocations: 4.219 kB / 442.6 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000401/0.2683, allocations: 230 kB / 442.9 MB, free: 11.8 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.493e-06/0.2683, allocations: 0 / 442.9 MB, free: 11.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.00146/0.2698, allocations: 0.4949 MB / 443.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.05e-05/0.2699, allocations: 118.7 kB / 443.5 MB, free: 11.15 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003341/0.2702, allocations: 308.5 kB / 443.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.588e-05/0.2702, allocations: 33.7 kB / 443.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001744/0.2704, allocations: 220.7 kB / 444 MB, free: 10.58 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001624/0.2706, allocations: 111.1 kB / 444.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/0.2707, allocations: 70.06 kB / 444.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.2709, allocations: 342.8 kB / 444.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002006/0.2711, allocations: 92.7 kB / 444.6 MB, free: 9.961 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003754/0.2714, allocations: 220.6 kB / 444.8 MB, free: 9.691 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005148/0.2719, allocations: 328.7 kB / 445.2 MB, free: 9.316 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.2719, allocations: 4 kB / 445.2 MB, free: 9.312 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007242/0.2727, allocations: 417.7 kB / 445.6 MB, free: 8.898 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.2727, allocations: 12.03 kB / 445.6 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.2727, allocations: 4 kB / 445.6 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003115/0.273, allocations: 80.8 kB / 445.7 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002311/0.2732, allocations: 55.91 kB / 445.7 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002249/0.2755, allocations: 1.903 MB / 447.6 MB, free: 6.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002458/0.2757, allocations: 47.83 kB / 447.7 MB, free: 6.684 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.454e-05/0.2758, allocations: 12 kB / 447.7 MB, free: 6.672 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.0002204/0.276, allocations: 170.2 kB / 447.8 MB, free: 6.496 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.616e-05/0.276, allocations: 35.81 kB / 447.9 MB, free: 6.461 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.964e-05/0.2761, allocations: 43.94 kB / 447.9 MB, free: 6.418 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.2761, allocations: 4 kB / 447.9 MB, free: 6.414 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.2761, allocations: 3.938 kB / 447.9 MB, free: 6.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.2761, allocations: 7.984 kB / 447.9 MB, free: 6.402 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000702/0.2768, allocations: 0.545 MB / 448.5 MB, free: 5.805 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.2768, allocations: 0 / 448.5 MB, free: 5.805 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001657/0.277, allocations: 35.92 kB / 448.5 MB, free: 5.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002282/0.2772, allocations: 80.81 kB / 448.6 MB, free: 5.688 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.426e-05/0.2773, allocations: 7.984 kB / 448.6 MB, free: 5.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002054/0.2793, allocations: 1.891 MB / 450.5 MB, free: 3.68 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2793, allocations: 0 / 450.5 MB, free: 3.68 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009445/0.2803, allocations: 0.5075 MB / 451 MB, free: 3.148 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001226/0.2804, allocations: 55.72 kB / 451.1 MB, free: 3.094 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.604e-05/0.2804, allocations: 8 kB / 451.1 MB, free: 3.086 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001648/0.2806, allocations: 15.98 kB / 451.1 MB, free: 3.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.102e-05/0.2807, allocations: 31.94 kB / 451.1 MB, free: 3.039 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.207e-05/0.2807, allocations: 8 kB / 451.1 MB, free: 3.031 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002632/0.281, allocations: 219.1 kB / 451.3 MB, free: 2.816 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.281, allocations: 4 kB / 451.3 MB, free: 2.812 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005323/0.2815, allocations: 111.8 kB / 451.4 MB, free: 2.703 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.001315/0.2828, allocations: 1.057 MB / 452.5 MB, free: 1.609 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007951/0.2836, allocations: 399.6 kB / 452.9 MB, free: 1.207 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.2836, allocations: 0 / 452.9 MB, free: 1.207 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004293/0.284, allocations: 286.3 kB / 453.2 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003462/0.2844, allocations: 65.72 kB / 453.2 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005052/0.2894, allocations: 3.476 MB / 456.7 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005261/0.29, allocations: 0.8113 MB / 457.5 MB, free: 12.33 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001305/0.2901, allocations: 30.97 kB / 457.6 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000184/0.2903, allocations: 131.4 kB / 457.7 MB, free: 12.17 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2903, allocations: 0 / 457.7 MB, free: 12.17 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03773/0.328, allocations: 8.812 MB / 466.5 MB, free: 3.598 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.44/12.77, allocations: 10.67 kB / 466.5 MB, free: 3.59 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.072667871019803] 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.939406496006995 12.966309563 12.70027595 Calling exit ...