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.001382/0.001382, allocations: 117.4 kB / 18.45 MB, free: 4.613 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.001506/0.001506, allocations: 210.5 kB / 21.41 MB, free: 1.66 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.471/1.471, allocations: 227.7 MB / 251.9 MB, free: 15.87 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.002009/0.002009, allocations: 75.81 kB / 365.2 MB, free: 188 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1174, allocations: 50.54 MB / 415.8 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.008991/0.1265, allocations: 6.282 MB / 422.1 MB, free: 7.293 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005553/0.1321, allocations: 2.238 MB / 424.3 MB, free: 5.043 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007878/0.133, allocations: 23.94 kB / 424.3 MB, free: 5.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002145/0.1351, allocations: 0.7422 MB / 425.1 MB, free: 4.273 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002075/0.1372, allocations: 0.6133 MB / 425.7 MB, free: 3.656 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001275/0.1385, allocations: 0.526 MB / 426.2 MB, free: 3.129 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001678/0.1402, allocations: 1.191 MB / 427.4 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001362/0.1416, allocations: 0.8393 MB / 428.2 MB, free: 1.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000662/0.1422, allocations: 470.2 kB / 428.7 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006915/0.1429, allocations: 0.5406 MB / 429.2 MB, free: 68 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001888/0.1431, allocations: 108 kB / 429.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006727/0.1438, allocations: 283.7 kB / 429.6 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002457/0.1441, allocations: 255.1 kB / 429.9 MB, free: 15.43 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005545/0.1446, allocations: 0.5442 MB / 430.4 MB, free: 14.89 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001897/0.1466, allocations: 1.49 MB / 431.9 MB, free: 13.39 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1466, allocations: 0 / 431.9 MB, free: 13.39 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1466, allocations: 0 / 431.9 MB, free: 13.39 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.693e-05/0.1466, allocations: 4 kB / 431.9 MB, free: 13.39 MB / 366.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.003421/0.15, allocations: 1.473 MB / 433.4 MB, free: 11.86 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.1501, allocations: 12.03 kB / 433.4 MB, free: 11.84 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002759/0.1504, allocations: 166.3 kB / 433.5 MB, free: 11.67 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002612/0.153, allocations: 387.9 kB / 433.9 MB, free: 11.29 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001378/0.1544, allocations: 0.5932 MB / 434.5 MB, free: 10.66 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.92e-05/0.1545, allocations: 78.38 kB / 434.6 MB, free: 10.58 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001709/0.1547, allocations: 100.4 kB / 434.7 MB, free: 10.48 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002122/0.1568, allocations: 1.02 MB / 435.7 MB, free: 9.441 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.8e-05/0.1569, allocations: 4 kB / 435.7 MB, free: 9.438 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001063/0.157, allocations: 51.92 kB / 435.8 MB, free: 9.387 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.826e-05/0.157, allocations: 24 kB / 435.8 MB, free: 9.363 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001838/0.1589, allocations: 0.8588 MB / 436.7 MB, free: 8.5 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006733/0.1656, allocations: 3.614 MB / 440.3 MB, free: 4.703 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002885/0.1685, allocations: 1.892 MB / 442.2 MB, free: 2.57 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001079/0.1696, allocations: 471.3 kB / 442.6 MB, free: 2.105 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002506/0.1699, allocations: 178.8 kB / 442.8 MB, free: 1.895 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001069/0.171, allocations: 496.8 kB / 443.3 MB, free: 1.375 MB / 366.1 MB Notification: Performance of pre-optimization done (n=84): time 3.326e-06/0.171, allocations: 0 / 443.3 MB, free: 1.375 MB / 366.1 MB Notification: Performance of matching and sorting (n=84): time 0.2129/0.3839, allocations: 1.688 MB / 445 MB, free: 29.6 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.782e-05/0.384, allocations: 198.4 kB / 445.2 MB, free: 29.38 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006253/0.3847, allocations: 480.7 kB / 445.6 MB, free: 29.25 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001002/0.3848, allocations: 46.23 kB / 445.7 MB, free: 29.22 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002645/0.385, allocations: 429.5 kB / 446.1 MB, free: 29.12 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000176/0.3852, allocations: 290.2 kB / 446.4 MB, free: 28.98 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002149/0.3854, allocations: 159.1 kB / 446.5 MB, free: 28.96 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.817e-05/0.3855, allocations: 374.2 kB / 446.9 MB, free: 28.64 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005126/0.3861, allocations: 270.5 kB / 447.2 MB, free: 28.64 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006096/0.3867, allocations: 489.2 kB / 447.6 MB, free: 28.41 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001076/0.3878, allocations: 0.7424 MB / 448.4 MB, free: 28.21 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.3878, allocations: 0.9688 kB / 448.4 MB, free: 28.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.00196/0.3898, allocations: 1.039 MB / 449.4 MB, free: 28.11 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/0.3898, allocations: 6.844 kB / 449.4 MB, free: 28.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/0.3898, allocations: 5.469 kB / 449.4 MB, free: 28.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009677/0.3908, allocations: 265.2 kB / 449.7 MB, free: 28.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000566/0.3914, allocations: 145.6 kB / 449.8 MB, free: 28.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004874/0.3963, allocations: 4.861 MB / 454.7 MB, free: 25.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007413/0.397, allocations: 98 kB / 454.8 MB, free: 25.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.477e-05/0.3971, allocations: 31.94 kB / 454.8 MB, free: 25.01 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.mean2.y_last,$PRE.iAC.mean2.y_last,iAC.mean1.y_last,$PRE.iAC.mean1.y_last,rectifierAC.idealDiode4.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode1.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.0004367/0.3975, allocations: 247.3 kB / 455.1 MB, free: 24.89 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/0.3977, allocations: 78.67 kB / 455.1 MB, free: 24.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002204/0.3999, allocations: 0.9611 MB / 456.1 MB, free: 24.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.128e-05/0.3999, allocations: 13.47 kB / 456.1 MB, free: 24.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.3999, allocations: 5.812 kB / 456.1 MB, free: 24.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.291e-05/0.3999, allocations: 6.141 kB / 456.1 MB, free: 24.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003147/0.4031, allocations: 1.92 MB / 458 MB, free: 24.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.73e-06/0.4031, allocations: 1.734 kB / 458 MB, free: 24.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004306/0.4035, allocations: 101.7 kB / 458.1 MB, free: 24.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008031/0.4043, allocations: 258.5 kB / 458.4 MB, free: 24.24 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.992e-05/0.4044, allocations: 15.7 kB / 458.4 MB, free: 24.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00531/0.4097, allocations: 4.822 MB / 463.2 MB, free: 20.28 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/0.4098, allocations: 6.406 kB / 463.2 MB, free: 20.28 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003042/0.4128, allocations: 1.376 MB / 464.6 MB, free: 19.6 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003183/0.4132, allocations: 212.5 kB / 464.8 MB, free: 19.44 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.441e-05/0.4133, allocations: 26.06 kB / 464.9 MB, free: 19.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004342/0.4137, allocations: 45.03 kB / 464.9 MB, free: 19.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002161/0.4139, allocations: 71.81 kB / 465 MB, free: 19.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.958e-05/0.414, allocations: 28.36 kB / 465 MB, free: 19.38 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004023/0.4144, allocations: 324.1 kB / 465.3 MB, free: 19.23 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.4144, allocations: 0 / 465.3 MB, free: 19.23 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001266/0.4157, allocations: 320.6 kB / 465.6 MB, free: 19.14 MB / 366.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,iAC.mean1.x,iAC.mean2.x,iDC2.mean.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,iAC.mean1.y_last,iAC.mean2.y_last,rectifierAC.idealDiode1.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode4.off,iDC2.mean.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.002973/0.4187, allocations: 1.982 MB / 467.6 MB, free: 17.91 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002127/0.4208, allocations: 1.092 MB / 468.7 MB, free: 17.36 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/0.4208, allocations: 5.5 kB / 468.7 MB, free: 17.36 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001167/0.422, allocations: 0.7348 MB / 469.4 MB, free: 16.93 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007435/0.4228, allocations: 123.9 kB / 469.6 MB, free: 16.88 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01006/0.4328, allocations: 6.55 MB / 476.1 MB, free: 13.19 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005695/0.4334, allocations: 0.9969 MB / 477.1 MB, free: 12.48 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003975/0.4339, allocations: 87.17 kB / 477.2 MB, free: 12.46 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003713/0.4342, allocations: 332.3 kB / 477.5 MB, free: 12.2 MB / 366.1 MB Notification: Performance of SimCode: time 1.112e-06/0.4342, allocations: 0 / 477.5 MB, free: 12.2 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05322/0.4875, allocations: 19.44 MB / 497 MB, free: 14.59 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.73/15.22, allocations: 15.5 kB / 497 MB, free: 14.57 MB / 382.1 MB " [Timeout remaining time 645] (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: 17.7348702729214] 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'] 15.326143766054884 15.347474947 15.196298295 Calling exit ...