Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.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.004753/0.004753, allocations: 100.7 kB / 21.96 MB, free: 5.211 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.001325/0.001325, allocations: 217.5 kB / 25.26 MB, free: 3.141 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.319/1.319, allocations: 207.7 MB / 236.1 MB, free: 9.816 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001652/0.001652, allocations: 59.92 kB / 348 MB, free: 9.887 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2379/0.2396, allocations: 49.16 MB / 397.2 MB, free: 8.902 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.004335/0.2439, allocations: 3.347 MB / 400.5 MB, free: 6.672 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001708/0.2456, allocations: 0.9217 MB / 401.4 MB, free: 6.02 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002577/0.2459, allocations: 11.06 kB / 401.4 MB, free: 6.016 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002581/0.2462, allocations: 80.73 kB / 401.5 MB, free: 5.965 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003435/0.2465, allocations: 148.7 kB / 401.7 MB, free: 5.855 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003267/0.2468, allocations: 162.8 kB / 401.8 MB, free: 5.758 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005525/0.2474, allocations: 0.6087 MB / 402.4 MB, free: 5.438 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002655/0.2476, allocations: 145.8 kB / 402.6 MB, free: 5.352 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002353/0.2479, allocations: 235.9 kB / 402.8 MB, free: 5.234 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003029/0.2482, allocations: 244.6 kB / 403 MB, free: 5.105 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.107e-05/0.2483, allocations: 59.34 kB / 403.1 MB, free: 5.102 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.277e-05/0.2484, allocations: 55.12 kB / 403.1 MB, free: 5.102 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001012/0.2485, allocations: 123.3 kB / 403.3 MB, free: 5.016 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001979/0.2487, allocations: 214 kB / 403.5 MB, free: 4.898 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000614/0.2493, allocations: 0.6274 MB / 404.1 MB, free: 4.641 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.2493, allocations: 1.094 kB / 404.1 MB, free: 4.641 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.2493, allocations: 3.938 kB / 404.1 MB, free: 4.637 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.362e-05/0.2493, allocations: 0 / 404.1 MB, free: 4.637 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001277/0.2506, allocations: 0.8329 MB / 404.9 MB, free: 4.059 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.2506, allocations: 13.38 kB / 405 MB, free: 4.055 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.897e-05/0.2506, allocations: 11.25 kB / 405 MB, free: 4.055 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.996e-05/0.2507, allocations: 86.48 kB / 405 MB, free: 3.984 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.678e-05/0.2508, allocations: 60.67 kB / 405.1 MB, free: 3.953 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003905/0.2512, allocations: 304.1 kB / 405.4 MB, free: 3.719 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.856e-05/0.2512, allocations: 35.06 kB / 405.4 MB, free: 3.699 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.636e-05/0.2513, allocations: 47.75 kB / 405.5 MB, free: 3.68 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007046/0.252, allocations: 474.5 kB / 406 MB, free: 3.426 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.894e-05/0.252, allocations: 8.953 kB / 406 MB, free: 3.418 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.116e-05/0.252, allocations: 17.69 kB / 406 MB, free: 3.406 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.346e-05/0.2521, allocations: 9.906 kB / 406 MB, free: 3.406 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005529/0.2526, allocations: 323.5 kB / 406.3 MB, free: 3.285 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001973/0.2546, allocations: 1.65 MB / 408 MB, free: 2.051 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006294/0.2552, allocations: 360.3 kB / 408.3 MB, free: 1.867 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005228/0.2557, allocations: 254.8 kB / 408.6 MB, free: 1.781 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.038e-05/0.2558, allocations: 5.109 kB / 408.6 MB, free: 1.781 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004221/0.2562, allocations: 286.8 kB / 408.8 MB, free: 1.621 MB / 318.1 MB Notification: Performance of pre-optimization done (n=43): time 2.054e-06/0.2562, allocations: 3.938 kB / 408.8 MB, free: 1.617 MB / 318.1 MB Notification: Performance of matching and sorting (n=43): time 0.002139/0.2583, allocations: 0.7745 MB / 409.6 MB, free: 1.348 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/0.2584, allocations: 90.8 kB / 409.7 MB, free: 1.246 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003004/0.2587, allocations: 310.8 kB / 410 MB, free: 1.078 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.96e-05/0.2587, allocations: 36.64 kB / 410 MB, free: 1.039 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.2588, allocations: 220.3 kB / 410.3 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.976e-05/0.2589, allocations: 138.9 kB / 410.4 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001193/0.259, allocations: 82.5 kB / 410.5 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.205e-05/0.2591, allocations: 350.5 kB / 410.8 MB, free: 376 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002138/0.2593, allocations: 120.4 kB / 410.9 MB, free: 332 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002603/0.2596, allocations: 278.3 kB / 411.2 MB, free: 88 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005498/0.2601, allocations: 375.1 kB / 411.6 MB, free: 15.81 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.2601, allocations: 1.156 kB / 411.6 MB, free: 15.81 MB / 334.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008615/0.261, allocations: 0.5031 MB / 412.1 MB, free: 15.57 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.261, allocations: 10.72 kB / 412.1 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.261, allocations: 7.516 kB / 412.1 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004587/0.2615, allocations: 155.6 kB / 412.2 MB, free: 15.51 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002214/0.2617, allocations: 63.98 kB / 412.3 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002841/0.2645, allocations: 2.41 MB / 414.7 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000262/0.2648, allocations: 48.53 kB / 414.8 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.171e-05/0.2648, allocations: 19.41 kB / 414.8 MB, free: 13.48 MB / 334.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,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,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.0002104/0.265, allocations: 179.3 kB / 415 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.29e-05/0.2651, allocations: 50.06 kB / 415 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.696e-05/0.2652, allocations: 44.33 kB / 415.1 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.2652, allocations: 4.469 kB / 415.1 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.2652, allocations: 0 / 415.1 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.2652, allocations: 9.438 kB / 415.1 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001389/0.2666, allocations: 0.9285 MB / 416 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.2666, allocations: 0 / 416 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001524/0.2667, allocations: 33.14 kB / 416 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003816/0.2671, allocations: 136.1 kB / 416.2 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.1e-05/0.2672, allocations: 19.45 kB / 416.2 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002686/0.2698, allocations: 2.408 MB / 418.6 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.2699, allocations: 4.938 kB / 418.6 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00109/0.2709, allocations: 0.7015 MB / 419.3 MB, free: 10.01 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001513/0.2711, allocations: 73.41 kB / 419.4 MB, free: 9.957 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.26e-05/0.2712, allocations: 19.3 kB / 419.4 MB, free: 9.941 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002131/0.2714, allocations: 13.73 kB / 419.4 MB, free: 9.934 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.535e-05/0.2715, allocations: 40.47 kB / 419.4 MB, free: 9.906 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.844e-05/0.2715, allocations: 20.14 kB / 419.5 MB, free: 9.895 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002308/0.2717, allocations: 218.6 kB / 419.7 MB, free: 9.75 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2717, allocations: 1.094 kB / 419.7 MB, free: 9.75 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005693/0.2723, allocations: 143.4 kB / 419.8 MB, free: 9.719 MB / 334.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,rootMeanSquareVoltage.mean.y,meanVoltage.y,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.001394/0.2737, allocations: 1.252 MB / 421.1 MB, free: 8.738 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009466/0.2746, allocations: 0.5249 MB / 421.6 MB, free: 8.41 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.2746, allocations: 0 / 421.6 MB, free: 8.41 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005286/0.2752, allocations: 365.9 kB / 421.9 MB, free: 8.156 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000461/0.2756, allocations: 72.62 kB / 422 MB, free: 8.117 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005106/0.2807, allocations: 3.934 MB / 425.9 MB, free: 5.316 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002455/0.281, allocations: 226.3 kB / 426.2 MB, free: 5.105 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001345/0.2811, allocations: 35.31 kB / 426.2 MB, free: 5.07 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001888/0.2813, allocations: 139.4 kB / 426.3 MB, free: 4.934 MB / 334.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2813, allocations: 0 / 426.3 MB, free: 4.934 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03706/0.3184, allocations: 10.94 MB / 437.3 MB, free: 9.93 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.76/13.08, allocations: 11.8 kB / 437.3 MB, free: 9.918 MB / 350.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse.fmu > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.324041226995178] 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.24994490109384 13.264807237 13.012571336 Calling exit ...