Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001278/0.001278, allocations: 105.1 kB / 21.21 MB, free: 0.6484 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.001362/0.001362, allocations: 212.5 kB / 24.51 MB, free: 3.938 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.395/1.395, allocations: 230.6 MB / 258.3 MB, free: 7.801 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.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_4_1_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_1_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.001425/0.001425, allocations: 51.94 kB / 378.5 MB, free: 2.949 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2508/0.2522, allocations: 53.37 MB / 431.9 MB, free: 6.641 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.005162/0.2574, allocations: 3.438 MB / 435.3 MB, free: 3.188 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001864/0.2592, allocations: 0.9427 MB / 436.3 MB, free: 2.242 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001987/0.2594, allocations: 19.88 kB / 436.3 MB, free: 2.223 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002399/0.2597, allocations: 83.22 kB / 436.4 MB, free: 2.141 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003485/0.26, allocations: 138.7 kB / 436.5 MB, free: 2.004 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004012/0.2604, allocations: 191.7 kB / 436.7 MB, free: 1.816 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006712/0.2611, allocations: 0.6109 MB / 437.3 MB, free: 1.203 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003039/0.2614, allocations: 156.6 kB / 437.5 MB, free: 1.043 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003296/0.2617, allocations: 239.1 kB / 437.7 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003305/0.2621, allocations: 254.8 kB / 437.9 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.016e-05/0.2621, allocations: 56 kB / 438 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001185/0.2623, allocations: 60 kB / 438 MB, free: 456 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001277/0.2624, allocations: 119.5 kB / 438.2 MB, free: 336 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002318/0.2626, allocations: 230.9 kB / 438.4 MB, free: 104 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007103/0.2633, allocations: 0.6498 MB / 439 MB, free: 15.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.2633, allocations: 7.938 kB / 439 MB, free: 15.44 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.2633, allocations: 0 / 439 MB, free: 15.44 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.199e-05/0.2634, allocations: 0 / 439 MB, free: 15.44 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.001483/0.2648, allocations: 0.8592 MB / 439.9 MB, free: 14.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.2649, allocations: 8.031 kB / 439.9 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.12e-05/0.2649, allocations: 13.19 kB / 439.9 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.648e-05/0.265, allocations: 78.7 kB / 440 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002023/0.2652, allocations: 68.59 kB / 440.1 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004984/0.2657, allocations: 311.2 kB / 440.4 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.996e-05/0.2657, allocations: 33.38 kB / 440.4 MB, free: 14.01 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.678e-05/0.2658, allocations: 51.94 kB / 440.5 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008161/0.2666, allocations: 491.2 kB / 440.9 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/0.2666, allocations: 3.984 kB / 440.9 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.634e-05/0.2667, allocations: 16 kB / 441 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.2667, allocations: 12 kB / 441 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006212/0.2673, allocations: 323.8 kB / 441.3 MB, free: 13.1 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00246/0.2698, allocations: 1.685 MB / 443 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007042/0.2705, allocations: 355.9 kB / 443.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000578/0.2711, allocations: 252 kB / 443.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.972e-05/0.2711, allocations: 4.328 kB / 443.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005065/0.2716, allocations: 302.8 kB / 443.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.943e-06/0.2716, allocations: 0 / 443.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.002319/0.2739, allocations: 0.7604 MB / 444.6 MB, free: 9.625 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.568e-05/0.274, allocations: 85.09 kB / 444.7 MB, free: 9.523 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003796/0.2744, allocations: 336.3 kB / 445 MB, free: 9.188 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.295e-05/0.2744, allocations: 41.62 kB / 445.1 MB, free: 9.141 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000169/0.2746, allocations: 224.7 kB / 445.3 MB, free: 8.918 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001264/0.2747, allocations: 142.8 kB / 445.4 MB, free: 8.777 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001347/0.2748, allocations: 90.14 kB / 445.5 MB, free: 8.684 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.275, allocations: 346.8 kB / 445.9 MB, free: 8.336 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002445/0.2752, allocations: 121 kB / 446 MB, free: 8.215 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003611/0.2756, allocations: 270.1 kB / 446.2 MB, free: 7.891 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000575/0.2762, allocations: 379.4 kB / 446.6 MB, free: 7.469 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.2762, allocations: 0 / 446.6 MB, free: 7.469 MB / 350.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009079/0.2771, allocations: 0.5056 MB / 447.1 MB, free: 6.953 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.2771, allocations: 7.984 kB / 447.1 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.2771, allocations: 8.031 kB / 447.1 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000473/0.2776, allocations: 152.6 kB / 447.3 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002326/0.2778, allocations: 71.84 kB / 447.4 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002984/0.2808, allocations: 2.413 MB / 449.8 MB, free: 4.191 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002549/0.2811, allocations: 39.73 kB / 449.8 MB, free: 4.152 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.206e-05/0.2811, allocations: 16.14 kB / 449.8 MB, free: 4.137 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.000236/0.2813, allocations: 193.8 kB / 450 MB, free: 3.938 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.167e-05/0.2814, allocations: 43.7 kB / 450.1 MB, free: 3.895 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.836e-05/0.2815, allocations: 48.41 kB / 450.1 MB, free: 3.848 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.2815, allocations: 4 kB / 450.1 MB, free: 3.844 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.2815, allocations: 4 kB / 450.1 MB, free: 3.84 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.2815, allocations: 3.984 kB / 450.1 MB, free: 3.836 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0015/0.283, allocations: 0.9299 MB / 451 MB, free: 2.852 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.283, allocations: 0 / 451 MB, free: 2.852 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001737/0.2832, allocations: 35.92 kB / 451.1 MB, free: 2.816 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004006/0.2836, allocations: 147.9 kB / 451.2 MB, free: 2.672 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.824e-05/0.2836, allocations: 7.984 kB / 451.2 MB, free: 2.664 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002863/0.2865, allocations: 2.409 MB / 453.6 MB, free: 148 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.2865, allocations: 0 / 453.6 MB, free: 148 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00118/0.2877, allocations: 0.7099 MB / 454.4 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001663/0.2878, allocations: 83.48 kB / 454.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.584e-05/0.2879, allocations: 8 kB / 454.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002121/0.2881, allocations: 19.92 kB / 454.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.826e-05/0.2882, allocations: 31.94 kB / 454.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.839e-05/0.2882, allocations: 19.98 kB / 454.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002537/0.2885, allocations: 227.1 kB / 454.7 MB, free: 15.03 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2885, allocations: 0 / 454.7 MB, free: 15.03 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005887/0.2891, allocations: 139.8 kB / 454.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 (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.001509/0.2906, allocations: 1.284 MB / 456.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001011/0.2916, allocations: 0.5216 MB / 456.7 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2916, allocations: 0 / 456.7 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005502/0.2921, allocations: 362.1 kB / 457 MB, free: 12.67 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004781/0.2926, allocations: 90.08 kB / 457.1 MB, free: 12.58 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005578/0.2982, allocations: 3.993 MB / 461.1 MB, free: 8.395 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002548/0.2985, allocations: 224.8 kB / 461.3 MB, free: 8.148 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001425/0.2986, allocations: 39.34 kB / 461.4 MB, free: 8.109 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002008/0.2988, allocations: 143.4 kB / 461.5 MB, free: 7.969 MB / 366.1 MB Notification: Performance of SimCode: time 7.51e-07/0.2988, allocations: 4 kB / 461.5 MB, free: 7.965 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03941/0.3382, allocations: 11.15 MB / 472.7 MB, free: 13.16 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.69/13.02, allocations: 4.062 kB / 472.7 MB, free: 13.16 MB / 382.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse.fmu > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.392248333082534] 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.200573001988232 13.227067133 12.958884841 Calling exit ...