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.001261/0.001261, allocations: 101.5 kB / 21.21 MB, free: 0.6523 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.001295/0.001295, allocations: 189.3 kB / 24.49 MB, free: 3.957 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.331/1.331, allocations: 225.7 MB / 253.3 MB, free: 12.86 MB / 206.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.001432/0.001432, allocations: 47.92 kB / 371.2 MB, free: 9.707 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2706/0.272, allocations: 52.19 MB / 423.4 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.004767/0.2768, allocations: 3.186 MB / 426.6 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001596/0.2784, allocations: 0.8023 MB / 427.4 MB, free: 10.42 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001751/0.2786, allocations: 11.94 kB / 427.4 MB, free: 10.41 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002162/0.2788, allocations: 71.3 kB / 427.4 MB, free: 10.34 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003288/0.2791, allocations: 126.9 kB / 427.6 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000308/0.2794, allocations: 139.7 kB / 427.7 MB, free: 10.08 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005652/0.28, allocations: 0.5136 MB / 428.2 MB, free: 9.562 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002656/0.2802, allocations: 122.3 kB / 428.3 MB, free: 9.441 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002447/0.2805, allocations: 207.1 kB / 428.5 MB, free: 9.238 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003006/0.2808, allocations: 215 kB / 428.8 MB, free: 9.027 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.368e-05/0.2809, allocations: 48 kB / 428.8 MB, free: 8.98 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.901e-05/0.2809, allocations: 44 kB / 428.8 MB, free: 8.938 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001154/0.2811, allocations: 111.5 kB / 429 MB, free: 8.828 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002044/0.2813, allocations: 187.1 kB / 429.1 MB, free: 8.645 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006012/0.2819, allocations: 0.5329 MB / 429.7 MB, free: 8.109 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2819, allocations: 0 / 429.7 MB, free: 8.109 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2819, allocations: 8 kB / 429.7 MB, free: 8.102 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.386e-06/0.2819, allocations: 0 / 429.7 MB, free: 8.102 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.001367/0.2832, allocations: 0.7623 MB / 430.4 MB, free: 7.297 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.2833, allocations: 8.031 kB / 430.4 MB, free: 7.289 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.945e-05/0.2833, allocations: 17.19 kB / 430.5 MB, free: 7.273 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.832e-05/0.2834, allocations: 66.72 kB / 430.5 MB, free: 7.199 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.414e-05/0.2835, allocations: 60.59 kB / 430.6 MB, free: 7.141 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004422/0.2839, allocations: 279.3 kB / 430.9 MB, free: 6.844 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.596e-05/0.2839, allocations: 29.38 kB / 430.9 MB, free: 6.816 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.244e-05/0.284, allocations: 48.06 kB / 430.9 MB, free: 6.77 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006995/0.2847, allocations: 413.6 kB / 431.3 MB, free: 6.336 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.2847, allocations: 0 / 431.3 MB, free: 6.336 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.24e-05/0.2848, allocations: 20 kB / 431.4 MB, free: 6.316 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.2848, allocations: 8 kB / 431.4 MB, free: 6.309 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005035/0.2853, allocations: 259.8 kB / 431.6 MB, free: 6.059 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002077/0.2874, allocations: 1.344 MB / 433 MB, free: 4.621 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004244/0.2878, allocations: 219.4 kB / 433.2 MB, free: 4.398 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003717/0.2882, allocations: 157.2 kB / 433.3 MB, free: 4.242 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.095e-05/0.2882, allocations: 240 / 433.3 MB, free: 4.242 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004246/0.2886, allocations: 255.7 kB / 433.6 MB, free: 3.965 MB / 334.1 MB Notification: Performance of pre-optimization done (n=31): time 1.523e-06/0.2886, allocations: 0 / 433.6 MB, free: 3.965 MB / 334.1 MB Notification: Performance of matching and sorting (n=31): time 0.001475/0.2901, allocations: 0.5019 MB / 434.1 MB, free: 3.453 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.93e-05/0.2902, allocations: 110.8 kB / 434.2 MB, free: 3.32 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003282/0.2905, allocations: 296.5 kB / 434.5 MB, free: 3.02 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.493e-05/0.2905, allocations: 33.7 kB / 434.5 MB, free: 2.98 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001724/0.2907, allocations: 220.6 kB / 434.7 MB, free: 2.762 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.485e-05/0.2908, allocations: 103.2 kB / 434.8 MB, free: 2.66 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001228/0.2909, allocations: 74.02 kB / 434.9 MB, free: 2.578 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.2911, allocations: 346.8 kB / 435.2 MB, free: 2.23 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001926/0.2913, allocations: 84.72 kB / 435.3 MB, free: 2.148 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003118/0.2916, allocations: 255.1 kB / 435.6 MB, free: 1.836 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005016/0.2921, allocations: 334.5 kB / 435.9 MB, free: 1.457 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.2921, allocations: 3.938 kB / 435.9 MB, free: 1.453 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007469/0.2928, allocations: 402.3 kB / 436.3 MB, free: 1.051 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/0.2929, allocations: 8 kB / 436.3 MB, free: 1.043 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.2929, allocations: 4 kB / 436.3 MB, free: 1.039 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003233/0.2932, allocations: 76.81 kB / 436.4 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002554/0.2935, allocations: 63.84 kB / 436.4 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002141/0.2956, allocations: 1.88 MB / 438.3 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002487/0.2959, allocations: 43.77 kB / 438.4 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.586e-05/0.2959, allocations: 12 kB / 438.4 MB, free: 14.85 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.000231/0.2961, allocations: 174.1 kB / 438.6 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.381e-05/0.2962, allocations: 35.81 kB / 438.6 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.208e-05/0.2962, allocations: 43.19 kB / 438.6 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.2962, allocations: 4 kB / 438.6 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.2963, allocations: 4 kB / 438.6 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.2963, allocations: 3.984 kB / 438.6 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006525/0.2969, allocations: 0.4943 MB / 439.1 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-06/0.2969, allocations: 4 kB / 439.1 MB, free: 14.03 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001727/0.2971, allocations: 31.92 kB / 439.2 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002483/0.2973, allocations: 77 kB / 439.2 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.502e-05/0.2974, allocations: 15.95 kB / 439.3 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00192/0.2993, allocations: 1.879 MB / 441.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2993, allocations: 0 / 441.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009304/0.3002, allocations: 0.4997 MB / 441.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001171/0.3003, allocations: 59.75 kB / 441.7 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.57e-05/0.3004, allocations: 4 kB / 441.7 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001708/0.3005, allocations: 15.98 kB / 441.7 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.792e-05/0.3006, allocations: 23.95 kB / 441.7 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-05/0.3007, allocations: 12 kB / 441.8 MB, free: 11.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002138/0.3009, allocations: 211.1 kB / 442 MB, free: 11.07 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3009, allocations: 3.938 kB / 442 MB, free: 11.06 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005139/0.3014, allocations: 115.7 kB / 442.1 MB, free: 10.95 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.001293/0.3027, allocations: 1.055 MB / 443.1 MB, free: 9.863 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007396/0.3034, allocations: 406.8 kB / 443.5 MB, free: 9.453 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3034, allocations: 0 / 443.5 MB, free: 9.453 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003996/0.3038, allocations: 272.5 kB / 443.8 MB, free: 9.176 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003437/0.3042, allocations: 65.02 kB / 443.9 MB, free: 9.113 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004487/0.3086, allocations: 3.387 MB / 447.2 MB, free: 5.527 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002027/0.3088, allocations: 207.1 kB / 447.4 MB, free: 5.309 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001212/0.309, allocations: 34.97 kB / 447.5 MB, free: 5.277 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001904/0.3092, allocations: 127.4 kB / 447.6 MB, free: 5.156 MB / 350.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3092, allocations: 0 / 447.6 MB, free: 5.156 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0348/0.344, allocations: 8.502 MB / 456.1 MB, free: 12.93 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.49/12.83, allocations: 11.42 kB / 456.1 MB, free: 12.92 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.117709620040841] 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'] 13.006414681090973 13.038090845 12.751206607 Calling exit ...