Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001763/0.001763, allocations: 113.1 kB / 21.22 MB, free: 0.5039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002131/0.002131, allocations: 212.7 kB / 24.51 MB, free: 3.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, allocations: 230.5 MB / 258.2 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001805/0.001805, allocations: 63.89 kB / 378.5 MB, free: 2.824 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2721/0.2739, allocations: 53.39 MB / 431.9 MB, free: 6.496 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.005398/0.2793, allocations: 3.442 MB / 435.4 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001978/0.2813, allocations: 0.97 MB / 436.3 MB, free: 2.066 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002129/0.2815, allocations: 7.938 kB / 436.3 MB, free: 2.059 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002533/0.2817, allocations: 79.17 kB / 436.4 MB, free: 1.98 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000377/0.2821, allocations: 154.7 kB / 436.6 MB, free: 1.828 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000413/0.2825, allocations: 175.8 kB / 436.7 MB, free: 1.656 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007016/0.2832, allocations: 0.6264 MB / 437.4 MB, free: 1.027 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000331/0.2835, allocations: 156.6 kB / 437.5 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003745/0.2839, allocations: 243.1 kB / 437.8 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003575/0.2843, allocations: 258.8 kB / 438 MB, free: 384 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.545e-05/0.2844, allocations: 56 kB / 438.1 MB, free: 328 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001304/0.2845, allocations: 63.98 kB / 438.1 MB, free: 264 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001342/0.2846, allocations: 119.5 kB / 438.2 MB, free: 144 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002652/0.2849, allocations: 219.1 kB / 438.5 MB, free: 15.92 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007649/0.2857, allocations: 0.6574 MB / 439.1 MB, free: 15.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.2857, allocations: 0 / 439.1 MB, free: 15.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.2857, allocations: 0 / 439.1 MB, free: 15.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.999e-06/0.2857, allocations: 0 / 439.1 MB, free: 15.27 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001622/0.2873, allocations: 0.8553 MB / 440 MB, free: 14.37 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.2873, allocations: 8.031 kB / 440 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.995e-05/0.2874, allocations: 13.19 kB / 440 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.388e-05/0.2875, allocations: 86.7 kB / 440.1 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002113/0.2877, allocations: 68.59 kB / 440.1 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005094/0.2882, allocations: 319.1 kB / 440.5 MB, free: 13.85 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.419e-05/0.2882, allocations: 33.38 kB / 440.5 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.868e-05/0.2883, allocations: 47.94 kB / 440.5 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008255/0.2891, allocations: 491.2 kB / 441 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.128e-05/0.2891, allocations: 0 / 441 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.135e-05/0.2892, allocations: 24 kB / 441 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.2892, allocations: 8 kB / 441 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006246/0.2898, allocations: 323.8 kB / 441.4 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002443/0.2923, allocations: 1.688 MB / 443 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006977/0.293, allocations: 344.6 kB / 443.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005934/0.2936, allocations: 248.8 kB / 443.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.492e-05/0.2936, allocations: 4.328 kB / 443.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005075/0.2941, allocations: 298.9 kB / 443.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 2.044e-06/0.2941, allocations: 4 kB / 443.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.002367/0.2965, allocations: 0.767 MB / 444.7 MB, free: 9.441 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.563e-05/0.2966, allocations: 85.09 kB / 444.8 MB, free: 9.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003847/0.2969, allocations: 328.4 kB / 445.1 MB, free: 9.012 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.432e-05/0.297, allocations: 41.69 kB / 445.1 MB, free: 8.965 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001767/0.2972, allocations: 220.7 kB / 445.4 MB, free: 8.746 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001258/0.2973, allocations: 142.8 kB / 445.5 MB, free: 8.605 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001492/0.2974, allocations: 86.14 kB / 445.6 MB, free: 8.516 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.2976, allocations: 350.8 kB / 445.9 MB, free: 8.164 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002344/0.2978, allocations: 121 kB / 446 MB, free: 8.043 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003637/0.2982, allocations: 278 kB / 446.3 MB, free: 7.711 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005572/0.2988, allocations: 374.8 kB / 446.7 MB, free: 7.293 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.2988, allocations: 3.938 kB / 446.7 MB, free: 7.289 MB / 350.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008983/0.2997, allocations: 0.5051 MB / 447.2 MB, free: 6.773 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.2997, allocations: 8 kB / 447.2 MB, free: 6.766 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.2997, allocations: 7.922 kB / 447.2 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004867/0.3002, allocations: 157.2 kB / 447.4 MB, free: 6.602 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002341/0.3004, allocations: 63.91 kB / 447.4 MB, free: 6.539 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00301/0.3034, allocations: 2.412 MB / 449.8 MB, free: 4.016 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002785/0.3037, allocations: 47.67 kB / 449.9 MB, free: 3.969 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.964e-05/0.3037, allocations: 20 kB / 449.9 MB, free: 3.949 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 13 (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_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * 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 {(4,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002423/0.304, allocations: 181.8 kB / 450.1 MB, free: 3.762 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.821e-05/0.3041, allocations: 43.7 kB / 450.1 MB, free: 3.719 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.748e-05/0.3041, allocations: 48.41 kB / 450.2 MB, free: 3.672 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.72e-06/0.3041, allocations: 8 kB / 450.2 MB, free: 3.664 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.3042, allocations: 0 / 450.2 MB, free: 3.664 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.3042, allocations: 3.984 kB / 450.2 MB, free: 3.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001514/0.3057, allocations: 0.9337 MB / 451.1 MB, free: 2.672 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.3057, allocations: 4 kB / 451.1 MB, free: 2.668 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001657/0.3058, allocations: 27.98 kB / 451.1 MB, free: 2.641 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004003/0.3062, allocations: 148.9 kB / 451.3 MB, free: 2.492 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.896e-05/0.3063, allocations: 8.094 kB / 451.3 MB, free: 2.484 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002825/0.3091, allocations: 2.405 MB / 453.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3091, allocations: 0 / 453.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001151/0.3103, allocations: 0.7073 MB / 454.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001632/0.3104, allocations: 79.58 kB / 454.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.983e-05/0.3105, allocations: 16 kB / 454.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002157/0.3107, allocations: 11.98 kB / 454.5 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.3108, allocations: 35.94 kB / 454.5 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.797e-05/0.3108, allocations: 15.98 kB / 454.6 MB, free: 15.08 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002625/0.3111, allocations: 227.1 kB / 454.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3111, allocations: 0 / 454.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005955/0.3117, allocations: 139.8 kB / 454.9 MB, free: 14.72 MB / 366.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: 10 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.y_last,rectifier.diode_n2.off,rectifier.diode_n1.off,rectifier.diode_p2.off,rectifier.diode_p1.off) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 22 * 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 {(4,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001541/0.3132, allocations: 1.281 MB / 456.2 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001039/0.3143, allocations: 0.5182 MB / 456.7 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.3143, allocations: 4.25 kB / 456.7 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005696/0.3148, allocations: 366.1 kB / 457.1 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004854/0.3153, allocations: 95.23 kB / 457.2 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005706/0.321, allocations: 3.989 MB / 461.2 MB, free: 8.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000265/0.3213, allocations: 228.8 kB / 461.4 MB, free: 7.98 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001477/0.3214, allocations: 43.33 kB / 461.4 MB, free: 7.938 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001997/0.3216, allocations: 139.4 kB / 461.6 MB, free: 7.801 MB / 366.1 MB Notification: Performance of SimCode: time 6.72e-07/0.3216, allocations: 0 / 461.6 MB, free: 7.801 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04249/0.3641, allocations: 11.16 MB / 472.7 MB, free: 12.9 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.24/13.6, allocations: 15.8 kB / 472.7 MB, free: 12.89 MB / 382.1 MB " [Timeout remaining time 646] (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.07892895094119] 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.779849621001631 13.808718451 13.517990435 Calling exit ...