Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.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.001301/0.001301, allocations: 108.6 kB / 21.22 MB, free: 0.75 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.001417/0.001417, allocations: 191.7 kB / 24.51 MB, free: 4.016 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.415/1.415, allocations: 225.7 MB / 253.3 MB, free: 13.03 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.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001532, allocations: 47.92 kB / 371.3 MB, free: 9.855 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.28/0.2815, allocations: 52.19 MB / 423.4 MB, free: 14.63 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.005633/0.2871, allocations: 3.745 MB / 427.2 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002191/0.2893, allocations: 0.9204 MB / 428.1 MB, free: 9.938 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003465/0.2897, allocations: 11.94 kB / 428.1 MB, free: 9.926 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002957/0.29, allocations: 79.22 kB / 428.2 MB, free: 9.848 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004232/0.2904, allocations: 154.7 kB / 428.3 MB, free: 9.695 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004008/0.2908, allocations: 159.8 kB / 428.5 MB, free: 9.539 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000693/0.2915, allocations: 0.6148 MB / 429.1 MB, free: 8.922 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002926/0.2918, allocations: 144.3 kB / 429.3 MB, free: 8.777 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000295/0.2921, allocations: 231.2 kB / 429.5 MB, free: 8.551 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003478/0.2924, allocations: 250.9 kB / 429.7 MB, free: 8.305 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.923e-05/0.2925, allocations: 56 kB / 429.8 MB, free: 8.25 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.96e-05/0.2926, allocations: 60 kB / 429.8 MB, free: 8.191 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000126/0.2927, allocations: 123.5 kB / 430 MB, free: 8.07 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002553/0.293, allocations: 266.7 kB / 430.2 MB, free: 7.809 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007378/0.2937, allocations: 0.638 MB / 430.9 MB, free: 7.168 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.2937, allocations: 4 kB / 430.9 MB, free: 7.164 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2937, allocations: 3.938 kB / 430.9 MB, free: 7.16 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.658e-06/0.2937, allocations: 0 / 430.9 MB, free: 7.16 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001535/0.2952, allocations: 0.8323 MB / 431.7 MB, free: 6.285 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.2953, allocations: 8.031 kB / 431.7 MB, free: 6.277 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.618e-05/0.2953, allocations: 13.19 kB / 431.7 MB, free: 6.262 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001433/0.2955, allocations: 78.7 kB / 431.8 MB, free: 6.176 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001076/0.2956, allocations: 68.55 kB / 431.9 MB, free: 6.109 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000494/0.2961, allocations: 315.1 kB / 432.2 MB, free: 5.781 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.444e-05/0.2961, allocations: 33.38 kB / 432.2 MB, free: 5.75 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.106e-05/0.2962, allocations: 43.94 kB / 432.2 MB, free: 5.707 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007917/0.297, allocations: 461.5 kB / 432.7 MB, free: 5.23 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.128e-05/0.297, allocations: 7.938 kB / 432.7 MB, free: 5.223 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.491e-05/0.297, allocations: 16 kB / 432.7 MB, free: 5.207 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.302e-05/0.297, allocations: 8 kB / 432.7 MB, free: 5.199 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006633/0.2977, allocations: 327.8 kB / 433.1 MB, free: 4.879 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002554/0.3002, allocations: 1.79 MB / 434.8 MB, free: 2.992 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007091/0.301, allocations: 351.9 kB / 435.2 MB, free: 2.641 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006282/0.3016, allocations: 249.4 kB / 435.4 MB, free: 2.395 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.707e-05/0.3016, allocations: 8.312 kB / 435.4 MB, free: 2.387 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005152/0.3021, allocations: 269.2 kB / 435.7 MB, free: 2.105 MB / 334.1 MB Notification: Performance of pre-optimization done (n=43): time 3.056e-06/0.3021, allocations: 0 / 435.7 MB, free: 2.105 MB / 334.1 MB Notification: Performance of matching and sorting (n=43): time 0.002448/0.3046, allocations: 0.7798 MB / 436.5 MB, free: 1.316 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.057e-05/0.3047, allocations: 85.11 kB / 436.6 MB, free: 1.215 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003689/0.305, allocations: 316.5 kB / 436.9 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.081e-05/0.3051, allocations: 33.7 kB / 436.9 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001743/0.3053, allocations: 220.7 kB / 437.1 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/0.3054, allocations: 138.8 kB / 437.3 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001589/0.3055, allocations: 86.14 kB / 437.3 MB, free: 424 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.3057, allocations: 346.8 kB / 437.7 MB, free: 68 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002482/0.3059, allocations: 125 kB / 437.8 MB, free: 15.94 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003358/0.3063, allocations: 252.3 kB / 438 MB, free: 15.64 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000557/0.3068, allocations: 383.1 kB / 438.4 MB, free: 15.21 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.3068, allocations: 0 / 438.4 MB, free: 15.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008632/0.3077, allocations: 0.5019 MB / 438.9 MB, free: 14.7 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.3077, allocations: 7.281 kB / 438.9 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.3077, allocations: 4 kB / 438.9 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004589/0.3082, allocations: 148.7 kB / 439.1 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002268/0.3084, allocations: 71.88 kB / 439.1 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003119/0.3115, allocations: 2.442 MB / 441.6 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003037/0.3118, allocations: 43.77 kB / 441.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.669e-05/0.3119, allocations: 24 kB / 441.7 MB, free: 11.86 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.0002667/0.3121, allocations: 173.7 kB / 441.8 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.992e-05/0.3122, allocations: 43.7 kB / 441.9 MB, free: 11.63 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001014/0.3123, allocations: 44.3 kB / 441.9 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.309e-06/0.3123, allocations: 4 kB / 441.9 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.3123, allocations: 0 / 441.9 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.388e-06/0.3123, allocations: 7.984 kB / 441.9 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001646/0.314, allocations: 0.9844 MB / 442.9 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.314, allocations: 0 / 442.9 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001708/0.3141, allocations: 35.92 kB / 442.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004045/0.3146, allocations: 140.8 kB / 443.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.622e-05/0.3146, allocations: 19.98 kB / 443.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00298/0.3176, allocations: 2.426 MB / 445.5 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.3176, allocations: 4 kB / 445.5 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001185/0.3188, allocations: 0.7211 MB / 446.3 MB, free: 7.055 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001632/0.3189, allocations: 75.64 kB / 446.3 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.433e-05/0.319, allocations: 12 kB / 446.3 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002172/0.3192, allocations: 19.98 kB / 446.4 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.2e-05/0.3193, allocations: 35.94 kB / 446.4 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-05/0.3193, allocations: 11.98 kB / 446.4 MB, free: 6.902 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002362/0.3195, allocations: 223.1 kB / 446.6 MB, free: 6.688 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3195, allocations: 0 / 446.6 MB, free: 6.688 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000588/0.3201, allocations: 143.8 kB / 446.8 MB, free: 6.547 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: 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.001459/0.3216, allocations: 1.261 MB / 448 MB, free: 5.254 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001015/0.3226, allocations: 0.5217 MB / 448.5 MB, free: 4.719 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.3226, allocations: 0 / 448.5 MB, free: 4.719 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005602/0.3232, allocations: 375 kB / 448.9 MB, free: 4.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004664/0.3236, allocations: 86.44 kB / 449 MB, free: 4.258 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005667/0.3293, allocations: 3.933 MB / 452.9 MB, free: 132 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000499/0.3298, allocations: 0.8356 MB / 453.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001445/0.3299, allocations: 35.31 kB / 453.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001931/0.3301, allocations: 139.4 kB / 453.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of SimCode: time 7.51e-07/0.3301, allocations: 0 / 453.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04014/0.3703, allocations: 11.19 MB / 465.1 MB, free: 4.184 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.88/13.25, allocations: 12.03 kB / 465.1 MB, free: 4.172 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse.fmu > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.713595019013155] 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.440624142996967 13.456129003 13.159155897 Calling exit ...