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.001219/0.001219, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001329/0.001329, allocations: 206.1 kB / 24.52 MB, free: 4.156 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.396/1.396, allocations: 230.6 MB / 258.3 MB, free: 8.012 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.001423/0.001423, allocations: 47.92 kB / 378.6 MB, free: 3.117 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2474/0.2488, allocations: 53.35 MB / 431.9 MB, free: 6.852 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.006284/0.2551, allocations: 4.306 MB / 436.3 MB, free: 2.531 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002409/0.2575, allocations: 1.035 MB / 437.3 MB, free: 1.492 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002876/0.2578, allocations: 11.94 kB / 437.3 MB, free: 1.48 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002436/0.258, allocations: 95.06 kB / 437.4 MB, free: 1.387 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005167/0.2586, allocations: 202.2 kB / 437.6 MB, free: 1.188 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003879/0.2589, allocations: 191.7 kB / 437.8 MB, free: 1 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007721/0.2597, allocations: 0.7361 MB / 438.5 MB, free: 268 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002928/0.26, allocations: 159.7 kB / 438.7 MB, free: 104 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003922/0.2604, allocations: 291 kB / 439 MB, free: 15.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004131/0.2608, allocations: 334.5 kB / 439.3 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.729e-05/0.2609, allocations: 60 kB / 439.3 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001191/0.261, allocations: 67.98 kB / 439.4 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001588/0.2612, allocations: 155.4 kB / 439.6 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002874/0.2615, allocations: 326.3 kB / 439.9 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007837/0.2622, allocations: 0.7235 MB / 440.6 MB, free: 14.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.2623, allocations: 0 / 440.6 MB, free: 14.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.2623, allocations: 0 / 440.6 MB, free: 14.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.347e-06/0.2623, allocations: 0 / 440.6 MB, free: 14.16 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.001506/0.2638, allocations: 0.8632 MB / 441.5 MB, free: 13.26 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.2638, allocations: 12.03 kB / 441.5 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.023e-05/0.2639, allocations: 21.48 kB / 441.5 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001528/0.264, allocations: 115.9 kB / 441.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003483/0.2644, allocations: 100.4 kB / 441.7 MB, free: 13.01 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005919/0.265, allocations: 352.2 kB / 442.1 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.83e-05/0.265, allocations: 49.62 kB / 442.1 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.509e-05/0.2651, allocations: 68.11 kB / 442.2 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009968/0.2661, allocations: 0.5927 MB / 442.8 MB, free: 11.9 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.608e-05/0.2661, allocations: 11.95 kB / 442.8 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.688e-05/0.2662, allocations: 20 kB / 442.8 MB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.519e-05/0.2662, allocations: 12 kB / 442.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009082/0.2671, allocations: 496.9 kB / 443.3 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00303/0.2701, allocations: 2.125 MB / 445.4 MB, free: 9.168 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009775/0.2711, allocations: 0.594 MB / 446 MB, free: 8.559 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006544/0.2717, allocations: 411.4 kB / 446.4 MB, free: 8.164 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.439e-05/0.2718, allocations: 12.66 kB / 446.4 MB, free: 8.152 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.084e-05/0.2718, allocations: 43.22 kB / 446.5 MB, free: 8.102 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 2.134e-06/0.2718, allocations: 0.875 kB / 446.5 MB, free: 8.102 MB / 350.1 MB Notification: Performance of matching and sorting (n=106): time 0.00757/0.2794, allocations: 3.221 MB / 449.7 MB, free: 4.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.051e-05/0.2794, allocations: 60.41 kB / 449.7 MB, free: 4.766 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004375/0.2799, allocations: 369.6 kB / 450.1 MB, free: 4.398 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.827e-05/0.2799, allocations: 45.7 kB / 450.1 MB, free: 4.348 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001766/0.2801, allocations: 237.7 kB / 450.4 MB, free: 4.109 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002915/0.2804, allocations: 364.8 kB / 450.7 MB, free: 3.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002169/0.2806, allocations: 142.7 kB / 450.9 MB, free: 3.605 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.2808, allocations: 370.7 kB / 451.2 MB, free: 3.234 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005273/0.2813, allocations: 301.9 kB / 451.5 MB, free: 2.941 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005728/0.2819, allocations: 372.4 kB / 451.9 MB, free: 2.574 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001219/0.2831, allocations: 0.6578 MB / 452.6 MB, free: 1.914 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2831, allocations: 4 kB / 452.6 MB, free: 1.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002131/0.2853, allocations: 1.119 MB / 453.7 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.2853, allocations: 10.34 kB / 453.7 MB, free: 0.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.2853, allocations: 0 / 453.7 MB, free: 0.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001107/0.2864, allocations: 421.6 kB / 454.1 MB, free: 324 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004197/0.2868, allocations: 103.9 kB / 454.2 MB, free: 220 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0119/0.2987, allocations: 12.33 MB / 466.5 MB, free: 3.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004234/0.2991, allocations: 27.95 kB / 466.6 MB, free: 3.062 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-05/0.2992, allocations: 28 kB / 466.6 MB, free: 3.035 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.0003067/0.2995, allocations: 213.4 kB / 466.8 MB, free: 2.82 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/0.2996, allocations: 67.58 kB / 466.9 MB, free: 2.754 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001938/0.2998, allocations: 94.86 kB / 467 MB, free: 2.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.754e-06/0.2998, allocations: 11.94 kB / 467 MB, free: 2.648 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.141e-05/0.2998, allocations: 4 kB / 467 MB, free: 2.645 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.2998, allocations: 3.984 kB / 467 MB, free: 2.641 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003461/0.3033, allocations: 2.098 MB / 469.1 MB, free: 484 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.3033, allocations: 3.938 kB / 469.1 MB, free: 480 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003853/0.3037, allocations: 87.88 kB / 469.2 MB, free: 392 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001276/0.305, allocations: 495.6 kB / 469.6 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.144e-05/0.305, allocations: 20.12 kB / 469.7 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01245/0.3175, allocations: 10.37 MB / 480 MB, free: 4.914 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3175, allocations: 192 / 480 MB, free: 4.914 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002962/0.3204, allocations: 1.718 MB / 481.8 MB, free: 3.168 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000266/0.3207, allocations: 123.5 kB / 481.9 MB, free: 3.047 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.716e-05/0.3208, allocations: 20 kB / 481.9 MB, free: 3.027 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003196/0.3211, allocations: 23.92 kB / 481.9 MB, free: 3.004 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002236/0.3213, allocations: 100.8 kB / 482 MB, free: 2.902 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.987e-05/0.3214, allocations: 28.12 kB / 482 MB, free: 2.875 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002852/0.3217, allocations: 263.2 kB / 482.3 MB, free: 2.621 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3217, allocations: 4 kB / 482.3 MB, free: 2.617 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00116/0.3228, allocations: 260 kB / 482.6 MB, free: 2.363 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.003221/0.326, allocations: 2.288 MB / 484.9 MB, free: 32 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002651/0.3287, allocations: 1.753 MB / 486.6 MB, free: 14.19 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.3287, allocations: 0 / 486.6 MB, free: 14.19 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001795/0.3305, allocations: 1.273 MB / 487.9 MB, free: 12.85 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005399/0.331, allocations: 109.7 kB / 488 MB, free: 12.74 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01011/0.3411, allocations: 6.715 MB / 494.7 MB, free: 5.895 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006443/0.3418, allocations: 0.9475 MB / 495.6 MB, free: 4.922 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002408/0.342, allocations: 89.62 kB / 495.7 MB, free: 4.832 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002926/0.3423, allocations: 219.4 kB / 495.9 MB, free: 4.617 MB / 398.1 MB Notification: Performance of SimCode: time 9.22e-07/0.3423, allocations: 0 / 495.9 MB, free: 4.617 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06118/0.4035, allocations: 19.9 MB / 0.5038 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.41/13.81, allocations: 14.36 kB / 0.5038 GB, free: 0.9414 MB / 414.1 MB " [Timeout remaining time 646] (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.29276442801347] Failed to read output from testmodel.py, exit status != 0: ['time', 'Capacitor1.v', 'Capacitor2.v', 'Inductor2.i', 'Inductor3.i'] 13.989323463989422 14.005152522 13.73976462 Calling exit ...