Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00178/0.00178, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002252/0.002252, allocations: 212.6 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.461/1.461, allocations: 230.6 MB / 258.3 MB, free: 8.047 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00223/0.00223, allocations: 76.77 kB / 378.6 MB, free: 3.148 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2839/0.2862, allocations: 53.36 MB / 431.9 MB, free: 6.91 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.009268/0.2954, allocations: 6.348 MB / 438.3 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005583/0.301, allocations: 2.258 MB / 440.5 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006779/0.3017, allocations: 23.94 kB / 440.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002085/0.3038, allocations: 0.75 MB / 441.3 MB, free: 13.49 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001784/0.3056, allocations: 0.6164 MB / 441.9 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001184/0.3067, allocations: 0.5338 MB / 442.5 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001496/0.3082, allocations: 1.195 MB / 443.6 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001178/0.3094, allocations: 0.7728 MB / 444.4 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006996/0.3101, allocations: 478.3 kB / 444.9 MB, free: 9.871 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007717/0.3109, allocations: 0.5445 MB / 445.4 MB, free: 9.324 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001646/0.3111, allocations: 112 kB / 445.5 MB, free: 9.215 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006616/0.3117, allocations: 283.8 kB / 445.8 MB, free: 8.938 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002425/0.312, allocations: 255.1 kB / 446.1 MB, free: 8.688 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005659/0.3125, allocations: 0.548 MB / 446.6 MB, free: 8.137 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001956/0.3145, allocations: 1.49 MB / 448.1 MB, free: 6.641 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3145, allocations: 0 / 448.1 MB, free: 6.641 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3145, allocations: 0 / 448.1 MB, free: 6.641 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.568e-05/0.3145, allocations: 0 / 448.1 MB, free: 6.641 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.003711/0.3182, allocations: 1.666 MB / 449.8 MB, free: 4.926 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.3183, allocations: 8.031 kB / 449.8 MB, free: 4.918 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002429/0.3185, allocations: 170.2 kB / 449.9 MB, free: 4.742 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002438/0.321, allocations: 399.9 kB / 450.3 MB, free: 4.352 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001097/0.3221, allocations: 0.5172 MB / 450.9 MB, free: 3.809 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.528e-05/0.3221, allocations: 78.38 kB / 450.9 MB, free: 3.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000154/0.3223, allocations: 100.4 kB / 451 MB, free: 3.633 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001922/0.3242, allocations: 1.027 MB / 452.1 MB, free: 2.582 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.939e-05/0.3242, allocations: 3.984 kB / 452.1 MB, free: 2.578 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.309e-05/0.3243, allocations: 40 kB / 452.1 MB, free: 2.539 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.853e-05/0.3244, allocations: 28 kB / 452.1 MB, free: 2.512 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00172/0.3261, allocations: 0.8511 MB / 453 MB, free: 1.656 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005819/0.3319, allocations: 3.373 MB / 456.3 MB, free: 14.15 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001972/0.3339, allocations: 0.8545 MB / 457.2 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008741/0.3347, allocations: 407.4 kB / 457.6 MB, free: 12.89 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001297/0.3349, allocations: 24.62 kB / 457.6 MB, free: 12.86 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009382/0.3358, allocations: 496.9 kB / 458.1 MB, free: 12.35 MB / 366.1 MB Notification: Performance of pre-optimization done (n=84): time 2.746e-06/0.3358, allocations: 0 / 458.1 MB, free: 12.35 MB / 366.1 MB Notification: Performance of matching and sorting (n=84): time 0.004516/0.3403, allocations: 1.485 MB / 459.6 MB, free: 10.85 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001472/0.3405, allocations: 196.9 kB / 459.8 MB, free: 10.62 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006992/0.3412, allocations: 486 kB / 460.3 MB, free: 10.13 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.716e-05/0.3412, allocations: 41.7 kB / 460.3 MB, free: 10.09 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00043/0.3417, allocations: 436.6 kB / 460.7 MB, free: 9.652 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002756/0.3419, allocations: 285.5 kB / 461 MB, free: 9.371 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002648/0.3422, allocations: 158.6 kB / 461.2 MB, free: 9.211 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000218/0.3424, allocations: 370.8 kB / 461.5 MB, free: 8.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005765/0.343, allocations: 277.9 kB / 461.8 MB, free: 8.566 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007706/0.3438, allocations: 479.2 kB / 462.3 MB, free: 8.012 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001317/0.3451, allocations: 0.7511 MB / 463 MB, free: 7.188 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.3451, allocations: 0 / 463 MB, free: 7.188 MB / 366.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002251/0.3473, allocations: 1.018 MB / 464 MB, free: 6.156 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.508e-05/0.3474, allocations: 12.22 kB / 464 MB, free: 6.145 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/0.3474, allocations: 12 kB / 464.1 MB, free: 6.133 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008997/0.3483, allocations: 257.6 kB / 464.3 MB, free: 5.875 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005583/0.3488, allocations: 147.7 kB / 464.5 MB, free: 5.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006212/0.3551, allocations: 4.649 MB / 469.1 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007326/0.3558, allocations: 107.4 kB / 469.2 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.854e-05/0.3558, allocations: 35.98 kB / 469.2 MB, free: 0.7266 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,iDC2.mean.y_last,$PRE.iDC2.mean.y_last,iAC.mean1.y_last,$PRE.iAC.mean1.y_last,iAC.mean2.y_last,$PRE.iAC.mean2.y_last,rectifierAC.idealDiode1.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode4.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,8), (4,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0004594/0.3563, allocations: 242.5 kB / 469.5 MB, free: 492 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/0.3564, allocations: 75.66 kB / 469.6 MB, free: 416 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002152/0.3586, allocations: 0.9594 MB / 470.5 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/0.3586, allocations: 8.188 kB / 470.5 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.3586, allocations: 0 / 470.5 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.818e-06/0.3586, allocations: 15.86 kB / 470.5 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003381/0.362, allocations: 1.877 MB / 472.4 MB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.362, allocations: 0 / 472.4 MB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004409/0.3624, allocations: 99.81 kB / 472.5 MB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007999/0.3632, allocations: 253.6 kB / 472.8 MB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.81e-05/0.3633, allocations: 23.92 kB / 472.8 MB, free: 13.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00569/0.369, allocations: 4.601 MB / 477.4 MB, free: 8.27 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.369, allocations: 4.062 kB / 477.4 MB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00275/0.3717, allocations: 1.369 MB / 478.8 MB, free: 6.867 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003153/0.372, allocations: 139.3 kB / 478.9 MB, free: 6.73 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/0.3721, allocations: 20 kB / 478.9 MB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004474/0.3726, allocations: 39.97 kB / 478.9 MB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001873/0.3728, allocations: 76.8 kB / 479 MB, free: 6.598 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.399e-05/0.3728, allocations: 31.92 kB / 479.1 MB, free: 6.566 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004451/0.3733, allocations: 326.9 kB / 479.4 MB, free: 6.25 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3733, allocations: 0 / 479.4 MB, free: 6.25 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00113/0.3744, allocations: 315.3 kB / 479.7 MB, free: 5.941 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (voltageQS.pin_p.reference.gamma,iDC2.mean.x,iAC.mean2.x,iAC.mean1.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,iDC2.mean.y_last,rectifierAC.idealDiode4.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode1.off,iAC.mean2.y_last,iAC.mean1.y_last) * Number of discrete states: 3 (iAC.mean1.x,iAC.mean2.x,iDC2.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,8), (4,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00325/0.3777, allocations: 1.984 MB / 481.7 MB, free: 3.918 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002179/0.3798, allocations: 1.061 MB / 482.7 MB, free: 2.828 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.726e-06/0.3798, allocations: 0 / 482.7 MB, free: 2.828 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00127/0.3811, allocations: 0.7041 MB / 483.4 MB, free: 2.098 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007313/0.3818, allocations: 122.1 kB / 483.6 MB, free: 1.977 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01118/0.393, allocations: 6.526 MB / 490.1 MB, free: 11.2 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000801/0.3938, allocations: 1.002 MB / 491.1 MB, free: 10.17 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003907/0.3942, allocations: 89.41 kB / 491.2 MB, free: 10.08 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004715/0.3947, allocations: 331.3 kB / 491.5 MB, free: 9.754 MB / 398.1 MB Notification: Performance of SimCode: time 9.31e-07/0.3947, allocations: 0 / 491.5 MB, free: 9.754 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06519/0.4599, allocations: 20.37 MB / 0.4999 GB, free: 5.637 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.65/16.11, allocations: 11.75 kB / 0.4999 GB, free: 5.629 MB / 414.1 MB " [Timeout remaining time 644] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Rectifier.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.698617475107312] Failed to read output from testmodel.py, exit status != 0: ['time', 'voltageQS.pin_p.reference.gamma', 'iAC.mean1.y', 'iAC.mean2.y', 'iDC2.mean.y'] 16.21570430090651 16.245780473 15.925556677 Calling exit ...