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.001334/0.001334, allocations: 112.2 kB / 18.49 MB, free: 4.539 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.00144/0.00144, allocations: 219 kB / 21.46 MB, free: 1.586 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.478/1.478, allocations: 230.6 MB / 254.8 MB, free: 15.07 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.001467/0.001467, allocations: 51.91 kB / 373.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1118, allocations: 53.32 MB / 427 MB, free: 4.758 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.005343/0.1172, allocations: 3.51 MB / 430.5 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001885/0.1191, allocations: 0.9386 MB / 431.5 MB, free: 288 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002074/0.1193, allocations: 11.94 kB / 431.5 MB, free: 276 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002283/0.1195, allocations: 67.23 kB / 431.6 MB, free: 208 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000325/0.1198, allocations: 130.8 kB / 431.7 MB, free: 76 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2191/0.3389, allocations: 155.9 kB / 431.8 MB, free: 7.609 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001013/0.3399, allocations: 0.5194 MB / 432.4 MB, free: 7.609 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003044/0.3402, allocations: 126.9 kB / 432.5 MB, free: 7.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003656/0.3406, allocations: 218.5 kB / 432.7 MB, free: 7.562 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002762/0.3409, allocations: 219.4 kB / 432.9 MB, free: 7.512 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.358e-05/0.3409, allocations: 46.5 kB / 433 MB, free: 7.512 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001199/0.3411, allocations: 51.14 kB / 433 MB, free: 7.512 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.034e-05/0.3411, allocations: 101.8 kB / 433.1 MB, free: 7.496 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001923/0.3413, allocations: 236.3 kB / 433.3 MB, free: 7.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006616/0.342, allocations: 0.5377 MB / 433.9 MB, free: 7.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.342, allocations: 0.8438 kB / 433.9 MB, free: 7.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.342, allocations: 1.125 kB / 433.9 MB, free: 7.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.928e-06/0.342, allocations: 0.8125 kB / 433.9 MB, free: 7.34 MB / 350.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.001212/0.3432, allocations: 0.7609 MB / 434.6 MB, free: 6.816 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.3433, allocations: 9 kB / 434.6 MB, free: 6.816 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.707e-05/0.3433, allocations: 9.969 kB / 434.7 MB, free: 6.816 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.399e-05/0.3434, allocations: 76.02 kB / 434.7 MB, free: 6.777 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002675/0.3436, allocations: 72.52 kB / 434.8 MB, free: 6.754 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000414/0.344, allocations: 358.5 kB / 435.2 MB, free: 6.508 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.111e-05/0.3441, allocations: 29.66 kB / 435.2 MB, free: 6.508 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.799e-05/0.3442, allocations: 39.38 kB / 435.2 MB, free: 6.508 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006386/0.3448, allocations: 397.4 kB / 435.6 MB, free: 6.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/0.3448, allocations: 1.062 kB / 435.6 MB, free: 6.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.729e-05/0.3449, allocations: 16.94 kB / 435.6 MB, free: 6.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.27e-05/0.3449, allocations: 8.688 kB / 435.6 MB, free: 6.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004817/0.3454, allocations: 267.9 kB / 435.9 MB, free: 6.422 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002066/0.3474, allocations: 1.488 MB / 437.4 MB, free: 5.676 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004138/0.3478, allocations: 220.5 kB / 437.6 MB, free: 5.648 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003713/0.3482, allocations: 156.3 kB / 437.7 MB, free: 5.637 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.015e-05/0.3482, allocations: 5.172 kB / 437.8 MB, free: 5.637 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005242/0.3488, allocations: 229.9 kB / 438 MB, free: 5.555 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.914e-06/0.3488, allocations: 0 / 438 MB, free: 5.555 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001602/0.3504, allocations: 0.5921 MB / 438.6 MB, free: 5.277 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.19e-05/0.3504, allocations: 111.9 kB / 438.7 MB, free: 5.152 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003603/0.3508, allocations: 309.8 kB / 439 MB, free: 4.984 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.793e-05/0.3508, allocations: 36.75 kB / 439 MB, free: 4.945 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001197/0.3509, allocations: 227.3 kB / 439.2 MB, free: 4.762 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.283e-05/0.351, allocations: 101.3 kB / 439.3 MB, free: 4.684 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001391/0.3511, allocations: 74.55 kB / 439.4 MB, free: 4.633 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.3513, allocations: 345.6 kB / 439.7 MB, free: 4.305 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002056/0.3515, allocations: 89.45 kB / 439.8 MB, free: 4.277 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002547/0.3518, allocations: 221.2 kB / 440.1 MB, free: 4.086 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004221/0.3522, allocations: 325.4 kB / 440.4 MB, free: 3.852 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.3522, allocations: 5.062 kB / 440.4 MB, free: 3.848 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006813/0.3529, allocations: 416.3 kB / 440.8 MB, free: 3.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.3529, allocations: 7.016 kB / 440.8 MB, free: 3.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.906e-06/0.3529, allocations: 4.469 kB / 440.8 MB, free: 3.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003169/0.3532, allocations: 91.7 kB / 440.9 MB, free: 3.645 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003027/0.3535, allocations: 54.06 kB / 440.9 MB, free: 3.645 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001665/0.3552, allocations: 1.995 MB / 442.9 MB, free: 1.883 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002459/0.3554, allocations: 43.62 kB / 443 MB, free: 1.855 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.627e-05/0.3555, allocations: 19 kB / 443 MB, free: 1.852 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.000158/0.3556, allocations: 169.9 kB / 443.2 MB, free: 1.703 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.166e-05/0.3557, allocations: 37.86 kB / 443.2 MB, free: 1.684 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001675/0.3558, allocations: 35.52 kB / 443.2 MB, free: 1.656 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.3558, allocations: 4.344 kB / 443.2 MB, free: 1.656 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3558, allocations: 7.656 kB / 443.2 MB, free: 1.656 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.3558, allocations: 3.891 kB / 443.2 MB, free: 1.656 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006069/0.3565, allocations: 0.5785 MB / 443.8 MB, free: 1.223 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.3565, allocations: 0 / 443.8 MB, free: 1.223 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001762/0.3566, allocations: 36.36 kB / 443.9 MB, free: 1.219 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000233/0.3569, allocations: 76.09 kB / 443.9 MB, free: 1.191 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.358e-05/0.3569, allocations: 7.484 kB / 443.9 MB, free: 1.188 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001915/0.3588, allocations: 1.995 MB / 445.9 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.3588, allocations: 0.5 kB / 445.9 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009824/0.3598, allocations: 496 kB / 446.4 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001692/0.36, allocations: 149.6 kB / 446.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001347/0.3601, allocations: 7.938 kB / 446.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000199/0.3603, allocations: 14.14 kB / 446.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.489e-05/0.3604, allocations: 25.27 kB / 446.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.73e-05/0.3604, allocations: 19.67 kB / 446.6 MB, free: 15.03 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002541/0.3607, allocations: 217.4 kB / 446.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3607, allocations: 1.312 kB / 446.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005427/0.3612, allocations: 106.5 kB / 446.9 MB, free: 14.89 MB / 366.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.001506/0.3627, allocations: 1.059 MB / 448 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008395/0.3635, allocations: 403.5 kB / 448.4 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.3636, allocations: 0.9688 kB / 448.4 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004519/0.364, allocations: 268.8 kB / 448.7 MB, free: 13.72 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003764/0.3644, allocations: 68.47 kB / 448.7 MB, free: 13.69 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00538/0.3698, allocations: 3.478 MB / 452.2 MB, free: 11.41 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005313/0.3703, allocations: 0.8114 MB / 453 MB, free: 10.71 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001459/0.3704, allocations: 35.88 kB / 453.1 MB, free: 10.7 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001937/0.3706, allocations: 130.2 kB / 453.2 MB, free: 10.6 MB / 366.1 MB Notification: Performance of SimCode: time 7.82e-07/0.3706, allocations: 0 / 453.2 MB, free: 10.6 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03637/0.407, allocations: 8.604 MB / 461.8 MB, free: 8.16 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.52/12.93, allocations: 16.02 kB / 461.8 MB, free: 8.152 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.375798411958385] 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.091127372987103 13.104826527 12.759766227 Calling exit ...