Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.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.001285/0.001285, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001505/0.001505, allocations: 211.9 kB / 24.51 MB, free: 3.941 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.398/1.398, allocations: 230.6 MB / 258.3 MB, free: 7.773 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.Analog.Examples.Rectifier,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_Rectifier",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Rectifier,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_Rectifier",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 55.92 kB / 378.5 MB, free: 2.906 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2745/0.2758, allocations: 53.35 MB / 431.9 MB, free: 6.609 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.005216/0.2811, allocations: 3.842 MB / 435.7 MB, free: 2.754 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00177/0.2828, allocations: 0.9852 MB / 436.7 MB, free: 1.762 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001886/0.283, allocations: 15.94 kB / 436.7 MB, free: 1.746 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002076/0.2832, allocations: 99 kB / 436.8 MB, free: 1.648 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004222/0.2837, allocations: 198.2 kB / 437 MB, free: 1.453 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003588/0.284, allocations: 195.7 kB / 437.2 MB, free: 1.262 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007164/0.2847, allocations: 0.736 MB / 437.9 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002757/0.285, allocations: 163.6 kB / 438.1 MB, free: 368 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003514/0.2854, allocations: 294.9 kB / 438.4 MB, free: 72 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004199/0.2858, allocations: 330.7 kB / 438.7 MB, free: 15.74 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.246e-05/0.2859, allocations: 60 kB / 438.8 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001229/0.286, allocations: 67.98 kB / 438.8 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001598/0.2861, allocations: 147.5 kB / 439 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002565/0.2864, allocations: 270.7 kB / 439.2 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007331/0.2871, allocations: 0.7352 MB / 440 MB, free: 14.47 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.2871, allocations: 3.938 kB / 440 MB, free: 14.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2871, allocations: 0 / 440 MB, free: 14.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.162e-05/0.2871, allocations: 0 / 440 MB, free: 14.46 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001439/0.2886, allocations: 0.8593 MB / 440.8 MB, free: 13.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.2886, allocations: 8.031 kB / 440.9 MB, free: 13.56 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.58e-05/0.2887, allocations: 25.47 kB / 440.9 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001441/0.2888, allocations: 115.9 kB / 441 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00036/0.2892, allocations: 108.4 kB / 441.1 MB, free: 13.31 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005785/0.2898, allocations: 348.2 kB / 441.4 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.429e-05/0.2898, allocations: 49.67 kB / 441.5 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.699e-05/0.2899, allocations: 60.12 kB / 441.5 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001011/0.2909, allocations: 0.5889 MB / 442.1 MB, free: 12.22 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.896e-05/0.2909, allocations: 19.89 kB / 442.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.784e-05/0.291, allocations: 20 kB / 442.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.437e-05/0.291, allocations: 16 kB / 442.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009088/0.2919, allocations: 492.9 kB / 442.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002881/0.2948, allocations: 2 MB / 444.7 MB, free: 9.602 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009618/0.2957, allocations: 0.5906 MB / 445.3 MB, free: 8.996 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000663/0.2964, allocations: 415.4 kB / 445.7 MB, free: 8.598 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.625e-05/0.2964, allocations: 8.656 kB / 445.7 MB, free: 8.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.2965, allocations: 43.22 kB / 445.7 MB, free: 8.539 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 1.904e-06/0.2965, allocations: 0 / 445.7 MB, free: 8.539 MB / 350.1 MB Notification: Performance of matching and sorting (n=106): time 0.007373/0.3039, allocations: 3.218 MB / 448.9 MB, free: 5.281 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.691e-05/0.3039, allocations: 68.41 kB / 449 MB, free: 5.199 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004049/0.3043, allocations: 373.6 kB / 449.4 MB, free: 4.828 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.842e-05/0.3044, allocations: 41.7 kB / 449.4 MB, free: 4.781 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001881/0.3046, allocations: 237.7 kB / 449.6 MB, free: 4.543 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002978/0.3049, allocations: 368.8 kB / 450 MB, free: 4.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002266/0.3051, allocations: 146.6 kB / 450.1 MB, free: 4.031 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000183/0.3053, allocations: 370.7 kB / 450.5 MB, free: 3.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005437/0.3058, allocations: 297.8 kB / 450.8 MB, free: 3.371 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005827/0.3064, allocations: 368.5 kB / 451.2 MB, free: 3.008 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001111/0.3075, allocations: 0.6655 MB / 451.8 MB, free: 2.34 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3075, allocations: 3.938 kB / 451.8 MB, free: 2.336 MB / 350.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002035/0.3095, allocations: 1.116 MB / 452.9 MB, free: 1.188 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.3096, allocations: 4 kB / 452.9 MB, free: 1.184 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.3096, allocations: 0 / 452.9 MB, free: 1.184 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001182/0.3108, allocations: 425.6 kB / 453.4 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004386/0.3112, allocations: 95.88 kB / 453.5 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01174/0.3229, allocations: 12.25 MB / 465.7 MB, free: 3.613 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004171/0.3233, allocations: 28.11 kB / 465.7 MB, free: 3.586 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.612e-05/0.3234, allocations: 28 kB / 465.8 MB, free: 3.559 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 (IdealDiode6.off,IdealDiode5.off,IdealDiode4.off,IdealDiode3.off,IdealDiode2.off,IdealDiode1.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,5,100.0%), (2,5,100.0%), (2,5,100.0%), (1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0003326/0.3237, allocations: 210 kB / 466 MB, free: 3.344 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001109/0.3238, allocations: 71.52 kB / 466 MB, free: 3.273 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001846/0.324, allocations: 90.86 kB / 466.1 MB, free: 3.184 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.75e-05/0.3241, allocations: 15.98 kB / 466.1 MB, free: 3.168 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-05/0.3241, allocations: 4 kB / 466.1 MB, free: 3.164 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.3241, allocations: 3.984 kB / 466.1 MB, free: 3.16 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003329/0.3274, allocations: 1.993 MB / 468.1 MB, free: 1.098 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/0.3274, allocations: 3.938 kB / 468.1 MB, free: 1.094 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003935/0.3278, allocations: 87.89 kB / 468.2 MB, free: 1.008 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001274/0.3291, allocations: 488 kB / 468.7 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.132e-05/0.3291, allocations: 27.98 kB / 468.7 MB, free: 500 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01072/0.3399, allocations: 10.28 MB / 479 MB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.3399, allocations: 4.031 kB / 479 MB, free: 5.633 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002865/0.3427, allocations: 1.71 MB / 480.7 MB, free: 3.895 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002644/0.343, allocations: 123.7 kB / 480.8 MB, free: 3.773 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.142e-05/0.3431, allocations: 20 kB / 480.9 MB, free: 3.754 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003099/0.3434, allocations: 28.02 kB / 480.9 MB, free: 3.727 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002181/0.3436, allocations: 100.7 kB / 481 MB, free: 3.625 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.031e-05/0.3437, allocations: 28 kB / 481 MB, free: 3.598 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002764/0.3439, allocations: 259.2 kB / 481.3 MB, free: 3.348 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3439, allocations: 4 kB / 481.3 MB, free: 3.344 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001166/0.3451, allocations: 267.9 kB / 481.5 MB, free: 3.082 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 ($outputAlias_iAC[2],$outputAlias_iAC[3],$outputAlias_uAC[3],$outputAlias_Losses) * Number of discrete variables: 6 (IdealDiode1.off,IdealDiode2.off,IdealDiode3.off,IdealDiode4.off,IdealDiode5.off,IdealDiode6.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,5,100.0%), (2,5,100.0%), (2,5,100.0%), (1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003226/0.3483, allocations: 2.284 MB / 483.8 MB, free: 0.7578 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002691/0.351, allocations: 1.761 MB / 485.6 MB, free: 14.91 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.351, allocations: 0 / 485.6 MB, free: 14.91 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001741/0.3528, allocations: 1.265 MB / 486.8 MB, free: 13.58 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005587/0.3533, allocations: 113.3 kB / 487 MB, free: 13.46 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01001/0.3633, allocations: 6.702 MB / 493.7 MB, free: 6.633 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003996/0.3637, allocations: 355.6 kB / 494 MB, free: 6.262 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002513/0.364, allocations: 93.61 kB / 494.1 MB, free: 6.168 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002913/0.3643, allocations: 219.4 kB / 494.3 MB, free: 5.953 MB / 398.1 MB Notification: Performance of SimCode: time 9.41e-07/0.3643, allocations: 0 / 494.3 MB, free: 5.953 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06242/0.4267, allocations: 19.57 MB / 0.5018 GB, free: 2.699 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.91/14.33, allocations: 14.98 kB / 0.5018 GB, free: 2.688 MB / 414.1 MB " [Timeout remaining time 645] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_Rectifier_fmu --startTime=0 --stopTime=0.1 --stepSize=1e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_Rectifier.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.7974634449929] Failed to read output from testmodel.py, exit status != 0: ['time', 'Capacitor1.v', 'Capacitor2.v', 'Inductor2.i', 'Inductor3.i'] 14.511016374104656 14.525597977 14.2354508 Calling exit ...