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.001228/0.001228, allocations: 108.6 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.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.001297/0.001297, allocations: 191.5 kB / 24.51 MB, free: 4.086 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.385/1.385, allocations: 225.6 MB / 253.3 MB, free: 13.01 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.00153/0.00153, allocations: 51.92 kB / 371.3 MB, free: 9.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2929/0.2945, allocations: 52.18 MB / 423.4 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.004924/0.2994, allocations: 3.491 MB / 426.9 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001621/0.301, allocations: 0.853 MB / 427.8 MB, free: 10.23 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000199/0.3012, allocations: 7.938 kB / 427.8 MB, free: 10.23 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002125/0.3014, allocations: 67.3 kB / 427.8 MB, free: 10.16 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000316/0.3017, allocations: 126.9 kB / 428 MB, free: 10.04 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003324/0.3021, allocations: 143.8 kB / 428.1 MB, free: 9.895 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005612/0.3026, allocations: 0.5135 MB / 428.6 MB, free: 9.379 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002818/0.3029, allocations: 127.4 kB / 428.8 MB, free: 9.254 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00025/0.3032, allocations: 203.2 kB / 428.9 MB, free: 9.055 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002959/0.3035, allocations: 211 kB / 429.2 MB, free: 8.848 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.522e-05/0.3035, allocations: 51.94 kB / 429.2 MB, free: 8.797 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.706e-05/0.3036, allocations: 44 kB / 429.2 MB, free: 8.754 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.3037, allocations: 99.67 kB / 429.3 MB, free: 8.656 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002242/0.3039, allocations: 238.8 kB / 429.6 MB, free: 8.422 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005647/0.3045, allocations: 0.5288 MB / 430.1 MB, free: 7.895 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3045, allocations: 0 / 430.1 MB, free: 7.895 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3045, allocations: 0 / 430.1 MB, free: 7.895 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.396e-06/0.3045, allocations: 0 / 430.1 MB, free: 7.895 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.001352/0.3059, allocations: 0.77 MB / 430.9 MB, free: 7.082 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.3059, allocations: 12.03 kB / 430.9 MB, free: 7.07 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.239e-05/0.3059, allocations: 9.188 kB / 430.9 MB, free: 7.062 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.145e-05/0.306, allocations: 70.72 kB / 431 MB, free: 6.984 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.034e-05/0.3061, allocations: 52.61 kB / 431 MB, free: 6.934 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004362/0.3065, allocations: 279.3 kB / 431.3 MB, free: 6.637 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.718e-05/0.3066, allocations: 41.25 kB / 431.3 MB, free: 6.598 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.244e-05/0.3066, allocations: 40.12 kB / 431.4 MB, free: 6.559 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006711/0.3073, allocations: 391.8 kB / 431.8 MB, free: 6.152 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.072e-05/0.3073, allocations: 3.953 kB / 431.8 MB, free: 6.148 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.753e-05/0.3073, allocations: 16 kB / 431.8 MB, free: 6.133 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.3074, allocations: 8 kB / 431.8 MB, free: 6.125 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005175/0.3079, allocations: 267.8 kB / 432 MB, free: 5.867 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002098/0.31, allocations: 1.434 MB / 433.5 MB, free: 4.34 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004191/0.3104, allocations: 227.4 kB / 433.7 MB, free: 4.109 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003838/0.3108, allocations: 150 kB / 433.8 MB, free: 3.961 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.689e-05/0.3108, allocations: 8.219 kB / 433.9 MB, free: 3.953 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004195/0.3112, allocations: 222 kB / 434.1 MB, free: 3.715 MB / 334.1 MB Notification: Performance of pre-optimization done (n=31): time 2.114e-06/0.3112, allocations: 0 / 434.1 MB, free: 3.715 MB / 334.1 MB Notification: Performance of matching and sorting (n=31): time 0.001464/0.3127, allocations: 0.5019 MB / 434.6 MB, free: 3.203 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001265/0.3128, allocations: 106.8 kB / 434.7 MB, free: 3.074 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003327/0.3132, allocations: 292.6 kB / 435 MB, free: 2.777 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.492e-05/0.3132, allocations: 33.7 kB / 435 MB, free: 2.738 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000168/0.3134, allocations: 236.6 kB / 435.2 MB, free: 2.504 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.58e-05/0.3134, allocations: 95.22 kB / 435.3 MB, free: 2.41 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/0.3136, allocations: 70.03 kB / 435.4 MB, free: 2.332 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.3137, allocations: 342.8 kB / 435.7 MB, free: 1.988 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001942/0.3139, allocations: 92.7 kB / 435.8 MB, free: 1.898 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003135/0.3142, allocations: 221.5 kB / 436 MB, free: 1.625 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005359/0.3147, allocations: 326.5 kB / 436.3 MB, free: 1.254 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.92e-06/0.3148, allocations: 8 kB / 436.4 MB, free: 1.246 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007284/0.3155, allocations: 398.3 kB / 436.7 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.3155, allocations: 8 kB / 436.8 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.3155, allocations: 11.92 kB / 436.8 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000306/0.3158, allocations: 84.84 kB / 436.8 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002228/0.316, allocations: 55.91 kB / 436.9 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002187/0.3182, allocations: 1.907 MB / 438.8 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002551/0.3185, allocations: 43.7 kB / 438.9 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.27e-05/0.3185, allocations: 16 kB / 438.9 MB, free: 14.61 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.0002298/0.3187, allocations: 170.2 kB / 439 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.555e-05/0.3188, allocations: 35.81 kB / 439.1 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.593e-05/0.3189, allocations: 35.09 kB / 439.1 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3189, allocations: 4 kB / 439.1 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.3189, allocations: 8.062 kB / 439.1 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.3189, allocations: 3.984 kB / 439.1 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000658/0.3195, allocations: 0.541 MB / 439.7 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.3196, allocations: 0 / 439.7 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001671/0.3197, allocations: 35.97 kB / 439.7 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002267/0.3199, allocations: 80.75 kB / 439.8 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.27e-05/0.32, allocations: 8.031 kB / 439.8 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001866/0.3218, allocations: 1.895 MB / 441.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.3218, allocations: 4.031 kB / 441.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009717/0.3228, allocations: 0.4958 MB / 442.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001365/0.3229, allocations: 55.77 kB / 442.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.874e-05/0.323, allocations: 8 kB / 442.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001745/0.3232, allocations: 19.98 kB / 442.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.726e-05/0.3232, allocations: 23.95 kB / 442.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.423e-05/0.3233, allocations: 11.98 kB / 442.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002254/0.3235, allocations: 211.1 kB / 442.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3235, allocations: 0 / 442.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005428/0.324, allocations: 119.7 kB / 442.6 MB, free: 10.65 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.001337/0.3254, allocations: 1.051 MB / 443.7 MB, free: 9.57 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009861/0.3264, allocations: 407.2 kB / 444.1 MB, free: 9.16 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.3264, allocations: 0 / 444.1 MB, free: 9.16 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005246/0.3269, allocations: 275.4 kB / 444.3 MB, free: 8.879 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003901/0.3273, allocations: 57.27 kB / 444.4 MB, free: 8.824 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004805/0.3321, allocations: 3.412 MB / 447.8 MB, free: 5.219 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004283/0.3325, allocations: 0.8107 MB / 448.6 MB, free: 4.383 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001319/0.3326, allocations: 35.23 kB / 448.6 MB, free: 4.352 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001683/0.3328, allocations: 119.4 kB / 448.8 MB, free: 4.238 MB / 350.1 MB Notification: Performance of SimCode: time 1.312e-06/0.3328, allocations: 0 / 448.8 MB, free: 4.238 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03767/0.3705, allocations: 8.557 MB / 457.3 MB, free: 11.91 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.6/12.97, allocations: 4.531 kB / 457.3 MB, free: 11.91 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.337849604024086] 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.141365562973078 13.15547775 12.847938513 Calling exit ...