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.0013/0.0013, allocations: 117.5 kB / 19.17 MB, free: 3.922 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.001727/0.001727, allocations: 203.9 kB / 22.12 MB, free: 0.9805 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.414/1.414, allocations: 207.6 MB / 232.5 MB, free: 3.941 MB / 174.1 MB " [Timeout remaining time 178] 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.001682/0.001682, allocations: 60.53 kB / 343 MB, free: 9.988 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08788/0.08956, allocations: 49.13 MB / 392.1 MB, free: 8.695 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.006029/0.09559, allocations: 3.678 MB / 395.8 MB, free: 4.996 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001923/0.09752, allocations: 0.959 MB / 396.8 MB, free: 4.031 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000371/0.09789, allocations: 19.88 kB / 396.8 MB, free: 4.012 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002986/0.09818, allocations: 79.22 kB / 396.9 MB, free: 3.934 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005124/0.0987, allocations: 138.8 kB / 397 MB, free: 3.797 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004369/0.09913, allocations: 167.7 kB / 397.2 MB, free: 3.633 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008334/0.09997, allocations: 0.6069 MB / 397.8 MB, free: 3.023 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003274/0.1003, allocations: 143.4 kB / 397.9 MB, free: 2.883 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003537/0.1006, allocations: 235.1 kB / 398.1 MB, free: 2.652 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000379/0.101, allocations: 242.9 kB / 398.4 MB, free: 2.414 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001031/0.1011, allocations: 56 kB / 398.4 MB, free: 2.359 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001088/0.1012, allocations: 52 kB / 398.5 MB, free: 2.309 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000124/0.1014, allocations: 123.5 kB / 398.6 MB, free: 2.188 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003075/0.1017, allocations: 266.7 kB / 398.9 MB, free: 1.926 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007323/0.1024, allocations: 0.6342 MB / 399.5 MB, free: 1.289 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1024, allocations: 0 / 399.5 MB, free: 1.289 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1024, allocations: 0 / 399.5 MB, free: 1.289 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.447e-05/0.1024, allocations: 0 / 399.5 MB, free: 1.289 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.001778/0.1042, allocations: 0.7918 MB / 400.3 MB, free: 456 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.1043, allocations: 11.89 kB / 400.3 MB, free: 444 kB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.522e-05/0.1043, allocations: 17.19 kB / 400.3 MB, free: 424 kB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001053/0.1044, allocations: 78.7 kB / 400.4 MB, free: 336 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001331/0.1045, allocations: 60.55 kB / 400.5 MB, free: 276 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005885/0.1051, allocations: 370.3 kB / 400.8 MB, free: 15.87 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.137e-05/0.1052, allocations: 39.44 kB / 400.9 MB, free: 15.83 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.087e-05/0.1052, allocations: 40 kB / 400.9 MB, free: 15.79 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008392/0.1061, allocations: 449.5 kB / 401.3 MB, free: 15.33 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.008e-05/0.1061, allocations: 0 / 401.3 MB, free: 15.33 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.413e-05/0.1061, allocations: 20 kB / 401.4 MB, free: 15.31 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.639e-05/0.1062, allocations: 12 kB / 401.4 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006512/0.1068, allocations: 323.7 kB / 401.7 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002786/0.1096, allocations: 1.821 MB / 403.5 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000858/0.1105, allocations: 0.5662 MB / 404.1 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005939/0.1111, allocations: 249.3 kB / 404.3 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.289e-05/0.1111, allocations: 4.328 kB / 404.3 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004714/0.1116, allocations: 265.2 kB / 404.6 MB, free: 11.9 MB / 334.1 MB Notification: Performance of pre-optimization done (n=43): time 2.084e-06/0.1116, allocations: 3.938 kB / 404.6 MB, free: 11.89 MB / 334.1 MB Notification: Performance of matching and sorting (n=43): time 0.002396/0.114, allocations: 0.8395 MB / 405.4 MB, free: 11.02 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.728e-05/0.114, allocations: 89.06 kB / 405.5 MB, free: 10.92 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003731/0.1144, allocations: 308.5 kB / 405.8 MB, free: 10.61 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.197e-05/0.1144, allocations: 37.7 kB / 405.8 MB, free: 10.57 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001714/0.1146, allocations: 216.7 kB / 406.1 MB, free: 10.35 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001287/0.1147, allocations: 142.8 kB / 406.2 MB, free: 10.21 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001386/0.1149, allocations: 94.2 kB / 406.3 MB, free: 10.11 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001755/0.1151, allocations: 346.8 kB / 406.6 MB, free: 9.766 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002664/0.1153, allocations: 117.1 kB / 406.7 MB, free: 9.648 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003837/0.1157, allocations: 257 kB / 407 MB, free: 9.344 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000595/0.1163, allocations: 382.8 kB / 407.4 MB, free: 8.918 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.583e-06/0.1163, allocations: 4 kB / 407.4 MB, free: 8.914 MB / 334.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009603/0.1173, allocations: 0.5049 MB / 407.9 MB, free: 8.398 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.1173, allocations: 7.906 kB / 407.9 MB, free: 8.391 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/0.1173, allocations: 7.938 kB / 407.9 MB, free: 8.383 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004962/0.1178, allocations: 153.1 kB / 408 MB, free: 8.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002454/0.1181, allocations: 59.91 kB / 408.1 MB, free: 8.172 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003273/0.1213, allocations: 2.545 MB / 410.6 MB, free: 5.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002741/0.1216, allocations: 35.73 kB / 410.7 MB, free: 5.445 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.467e-05/0.1216, allocations: 20 kB / 410.7 MB, free: 5.426 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_n2.off,rectifier.diode_n1.off,rectifier.diode_p2.off,rectifier.diode_p1.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.0002426/0.1219, allocations: 181.9 kB / 410.9 MB, free: 5.238 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.159e-05/0.1219, allocations: 39.77 kB / 410.9 MB, free: 5.199 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001157/0.1221, allocations: 44.3 kB / 411 MB, free: 5.156 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.1221, allocations: 8 kB / 411 MB, free: 5.148 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.1221, allocations: 0 / 411 MB, free: 5.148 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.1221, allocations: 0 / 411 MB, free: 5.148 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001585/0.1237, allocations: 1.016 MB / 412 MB, free: 4.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.1237, allocations: 0 / 412 MB, free: 4.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001808/0.1238, allocations: 39.97 kB / 412 MB, free: 4.031 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004292/0.1243, allocations: 149 kB / 412.2 MB, free: 3.883 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.035e-05/0.1243, allocations: 8 kB / 412.2 MB, free: 3.875 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003004/0.1273, allocations: 2.538 MB / 414.7 MB, free: 1.203 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.199e-05/0.1273, allocations: 4 kB / 414.7 MB, free: 1.199 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001158/0.1285, allocations: 0.7131 MB / 415.4 MB, free: 472 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001741/0.1287, allocations: 152.8 kB / 415.6 MB, free: 300 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.514e-05/0.1287, allocations: 12 kB / 415.6 MB, free: 288 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002326/0.1289, allocations: 15.98 kB / 415.6 MB, free: 272 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.169e-05/0.129, allocations: 35.95 kB / 415.6 MB, free: 236 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.612e-05/0.1291, allocations: 11.98 kB / 415.7 MB, free: 224 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000241/0.1293, allocations: 219 kB / 415.9 MB, free: 4 kB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1293, allocations: 0 / 415.9 MB, free: 4 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005857/0.1299, allocations: 151.8 kB / 416 MB, free: 15.85 MB / 350.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: 10 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * 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.001508/0.1314, allocations: 1.258 MB / 417.3 MB, free: 14.56 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00101/0.1324, allocations: 0.5256 MB / 417.8 MB, free: 14.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.1324, allocations: 4.844 kB / 417.8 MB, free: 14.02 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005847/0.133, allocations: 370.9 kB / 418.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004725/0.1335, allocations: 80.97 kB / 418.2 MB, free: 13.57 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005656/0.1391, allocations: 3.921 MB / 422.2 MB, free: 9.457 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004817/0.1396, allocations: 0.8279 MB / 423 MB, free: 8.602 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001605/0.1398, allocations: 43.28 kB / 423 MB, free: 8.555 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001873/0.1399, allocations: 135.4 kB / 423.2 MB, free: 8.426 MB / 350.1 MB Notification: Performance of SimCode: time 7.01e-07/0.1399, allocations: 0 / 423.2 MB, free: 8.426 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03855/0.1785, allocations: 10.86 MB / 434 MB, free: 13.5 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.32/12.5, allocations: 7.812 kB / 434 MB, free: 13.49 MB / 366.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: 14.813667849986814] 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'] 12.647023017983884 12.664779713 12.558800178 Calling exit ...