Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.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.001242/0.001242, allocations: 111.1 kB / 21.22 MB, free: 0.7305 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.001287/0.001287, allocations: 191.5 kB / 24.51 MB, free: 4.086 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.329/1.329, allocations: 225.6 MB / 253.3 MB, free: 13.02 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.Analog.Examples.Rectifier,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_Rectifier",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Rectifier,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_Rectifier",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 43.92 kB / 371.3 MB, free: 9.812 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2775/0.279, allocations: 52.19 MB / 423.4 MB, free: 14.58 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.008174/0.2872, allocations: 4.275 MB / 427.7 MB, free: 10.29 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002512/0.2897, allocations: 0.9382 MB / 428.7 MB, free: 9.344 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002836/0.29, allocations: 11.94 kB / 428.7 MB, free: 9.332 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003508/0.2903, allocations: 99 kB / 428.8 MB, free: 9.234 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006991/0.291, allocations: 202.2 kB / 429 MB, free: 9.035 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003747/0.2914, allocations: 163.8 kB / 429.1 MB, free: 8.875 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008475/0.2922, allocations: 0.7283 MB / 429.9 MB, free: 8.145 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002888/0.2925, allocations: 159.7 kB / 430 MB, free: 7.984 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003317/0.2929, allocations: 290.9 kB / 430.3 MB, free: 7.699 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004162/0.2933, allocations: 334.6 kB / 430.6 MB, free: 7.371 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.881e-05/0.2934, allocations: 60 kB / 430.7 MB, free: 7.312 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.55e-05/0.2935, allocations: 60 kB / 430.7 MB, free: 7.254 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001623/0.2936, allocations: 147.5 kB / 430.9 MB, free: 7.109 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003047/0.2939, allocations: 322.3 kB / 431.2 MB, free: 6.793 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007629/0.2947, allocations: 0.7234 MB / 431.9 MB, free: 6.066 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.2947, allocations: 0 / 431.9 MB, free: 6.066 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2947, allocations: 0 / 431.9 MB, free: 6.066 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.959e-06/0.2947, allocations: 0 / 431.9 MB, free: 6.066 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001588/0.2963, allocations: 0.8632 MB / 432.8 MB, free: 5.168 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.2963, allocations: 8.031 kB / 432.8 MB, free: 5.16 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.046e-05/0.2964, allocations: 21.5 kB / 432.8 MB, free: 5.141 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001438/0.2965, allocations: 115.9 kB / 432.9 MB, free: 5.02 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001067/0.2966, allocations: 76.47 kB / 433 MB, free: 4.945 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005462/0.2972, allocations: 340.3 kB / 433.3 MB, free: 4.586 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.944e-05/0.2972, allocations: 41.69 kB / 433.4 MB, free: 4.543 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.74e-05/0.2973, allocations: 68.08 kB / 433.4 MB, free: 4.477 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009787/0.2983, allocations: 0.6005 MB / 434 MB, free: 3.848 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.168e-05/0.2983, allocations: 4 kB / 434 MB, free: 3.844 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.1e-05/0.2984, allocations: 27.98 kB / 434.1 MB, free: 3.816 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.658e-05/0.2984, allocations: 16 kB / 434.1 MB, free: 3.801 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009135/0.2993, allocations: 484.9 kB / 434.6 MB, free: 3.324 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003058/0.3024, allocations: 2.125 MB / 436.7 MB, free: 1.117 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009836/0.3034, allocations: 0.5871 MB / 437.3 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006994/0.3041, allocations: 423.5 kB / 437.7 MB, free: 104 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.806e-05/0.3041, allocations: 8.656 kB / 437.7 MB, free: 96 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.384e-05/0.3041, allocations: 43.22 kB / 437.7 MB, free: 44 kB / 334.1 MB Notification: Performance of pre-optimization done (n=73): time 1.803e-06/0.3041, allocations: 0 / 437.7 MB, free: 44 kB / 334.1 MB Notification: Performance of matching and sorting (n=106): time 0.007603/0.3117, allocations: 3.198 MB / 440.9 MB, free: 12.81 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.533e-05/0.3118, allocations: 64.41 kB / 441 MB, free: 12.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004312/0.3122, allocations: 365.6 kB / 441.4 MB, free: 12.37 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.825e-05/0.3123, allocations: 45.7 kB / 441.4 MB, free: 12.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001817/0.3125, allocations: 237.6 kB / 441.6 MB, free: 12.08 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003195/0.3128, allocations: 368.8 kB / 442 MB, free: 11.71 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002337/0.313, allocations: 142.6 kB / 442.1 MB, free: 11.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002006/0.3132, allocations: 370.7 kB / 442.5 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005541/0.3138, allocations: 301.9 kB / 442.8 MB, free: 10.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000605/0.3144, allocations: 364.5 kB / 443.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001172/0.3155, allocations: 0.6655 MB / 443.8 MB, free: 9.875 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3155, allocations: 0 / 443.8 MB, free: 9.875 MB / 350.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002085/0.3176, allocations: 1.112 MB / 444.9 MB, free: 8.734 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.3176, allocations: 4 kB / 444.9 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.3177, allocations: 4 kB / 444.9 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001198/0.3189, allocations: 433.6 kB / 445.3 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004566/0.3193, allocations: 99.88 kB / 445.4 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01214/0.3315, allocations: 12.34 MB / 457.8 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004438/0.3319, allocations: 27.98 kB / 457.8 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.716e-05/0.332, allocations: 20 kB / 457.8 MB, free: 11 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.0003386/0.3323, allocations: 209.8 kB / 458 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001183/0.3324, allocations: 67.58 kB / 458.1 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001985/0.3326, allocations: 94.77 kB / 458.2 MB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.3326, allocations: 12 kB / 458.2 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.042e-05/0.3326, allocations: 4 kB / 458.2 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.3326, allocations: 3.984 kB / 458.2 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003542/0.3362, allocations: 2.103 MB / 460.3 MB, free: 8.434 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.3362, allocations: 3.938 kB / 460.3 MB, free: 8.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003974/0.3366, allocations: 84.02 kB / 460.4 MB, free: 8.348 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00127/0.3379, allocations: 492.2 kB / 460.9 MB, free: 7.852 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.364e-05/0.3379, allocations: 20 kB / 460.9 MB, free: 7.832 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01174/0.3497, allocations: 10.37 MB / 471.3 MB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.3497, allocations: 4 kB / 471.3 MB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003166/0.3528, allocations: 1.722 MB / 473 MB, free: 11.13 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003105/0.3531, allocations: 119.5 kB / 473.1 MB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001081/0.3532, allocations: 20 kB / 473.1 MB, free: 11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003656/0.3536, allocations: 28.11 kB / 473.2 MB, free: 10.97 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002678/0.3539, allocations: 96.75 kB / 473.3 MB, free: 10.87 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.093e-05/0.3539, allocations: 24 kB / 473.3 MB, free: 10.85 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003308/0.3543, allocations: 259.2 kB / 473.5 MB, free: 10.6 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3543, allocations: 0 / 473.5 MB, free: 10.6 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001228/0.3555, allocations: 268 kB / 473.8 MB, free: 10.34 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.003476/0.359, allocations: 2.273 MB / 476.1 MB, free: 8.023 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002804/0.3618, allocations: 1.764 MB / 477.8 MB, free: 6.168 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.3618, allocations: 0 / 477.8 MB, free: 6.168 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001903/0.3637, allocations: 1.277 MB / 479.1 MB, free: 4.828 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006471/0.3643, allocations: 100.6 kB / 479.2 MB, free: 4.727 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01117/0.3755, allocations: 6.686 MB / 485.9 MB, free: 13.91 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007379/0.3762, allocations: 0.9436 MB / 486.8 MB, free: 12.94 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002812/0.3765, allocations: 93.52 kB / 486.9 MB, free: 12.84 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003211/0.3768, allocations: 215.4 kB / 487.1 MB, free: 12.63 MB / 398.1 MB Notification: Performance of SimCode: time 1.443e-06/0.3768, allocations: 0 / 487.1 MB, free: 12.63 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06581/0.4426, allocations: 19.83 MB / 0.4951 GB, free: 9.031 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.49/13.93, allocations: 8.047 kB / 0.4951 GB, free: 9.023 MB / 414.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_Rectifier_fmu --startTime=0 --stopTime=0.1 --stepSize=1e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_Rectifier.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.397537180047948] Failed to read output from testmodel.py, exit status != 0: ['time', 'Capacitor1.v', 'Capacitor2.v', 'Inductor2.i', 'Inductor3.i'] 14.105669362994377 14.12022625 13.822395055 Calling exit ...