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.001501/0.001501, allocations: 116.4 kB / 18.5 MB, free: 4.578 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.001792/0.001792, allocations: 208.9 kB / 21.46 MB, free: 1.621 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.496/1.496, allocations: 230.5 MB / 254.7 MB, free: 15.01 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.001935/0.001935, allocations: 63.83 kB / 373.6 MB, free: 10.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1173, allocations: 53.32 MB / 426.9 MB, free: 4.852 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.2291/0.3464, allocations: 6.304 MB / 433.2 MB, free: 7.129 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004099/0.3505, allocations: 2.255 MB / 435.4 MB, free: 6.953 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008125/0.3513, allocations: 20.5 kB / 435.5 MB, free: 6.949 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00186/0.3532, allocations: 0.7511 MB / 436.2 MB, free: 6.574 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001739/0.3549, allocations: 0.6257 MB / 436.8 MB, free: 6.234 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001148/0.3561, allocations: 0.5167 MB / 437.4 MB, free: 6.121 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001503/0.3576, allocations: 1.191 MB / 438.6 MB, free: 5.836 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001042/0.3586, allocations: 0.6692 MB / 439.2 MB, free: 5.613 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000747/0.3594, allocations: 471.7 kB / 439.7 MB, free: 5.375 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006824/0.36, allocations: 0.5417 MB / 440.2 MB, free: 5.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002088/0.3602, allocations: 111.1 kB / 440.3 MB, free: 5.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007128/0.361, allocations: 285.8 kB / 440.6 MB, free: 5.027 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000191/0.3612, allocations: 257.6 kB / 440.9 MB, free: 4.848 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000487/0.3616, allocations: 0.551 MB / 441.4 MB, free: 4.488 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002105/0.3637, allocations: 1.485 MB / 442.9 MB, free: 3.859 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.3637, allocations: 1.125 kB / 442.9 MB, free: 3.859 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3637, allocations: 3.938 kB / 442.9 MB, free: 3.855 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.614e-05/0.3638, allocations: 0 / 442.9 MB, free: 3.855 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.003755/0.3675, allocations: 1.472 MB / 444.4 MB, free: 2.902 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.334e-05/0.3676, allocations: 13.59 kB / 444.4 MB, free: 2.898 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003054/0.3679, allocations: 168.9 kB / 444.6 MB, free: 2.781 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002903/0.3708, allocations: 397.3 kB / 444.9 MB, free: 2.684 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001274/0.3721, allocations: 0.5836 MB / 445.5 MB, free: 2.258 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.465e-05/0.3722, allocations: 80 kB / 445.6 MB, free: 2.219 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001688/0.3723, allocations: 104.4 kB / 445.7 MB, free: 2.184 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002086/0.3744, allocations: 1.02 MB / 446.7 MB, free: 1.742 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.016e-05/0.3744, allocations: 5.281 kB / 446.7 MB, free: 1.738 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-05/0.3745, allocations: 42.97 kB / 446.8 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.024e-05/0.3746, allocations: 23.75 kB / 446.8 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001725/0.3763, allocations: 0.8604 MB / 447.7 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00631/0.3826, allocations: 3.62 MB / 451.3 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002811/0.3854, allocations: 1.819 MB / 453.1 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001063/0.3865, allocations: 423.7 kB / 453.5 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002255/0.3867, allocations: 182.3 kB / 453.7 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001038/0.3877, allocations: 494.7 kB / 454.2 MB, free: 12.9 MB / 366.1 MB Notification: Performance of pre-optimization done (n=84): time 2.545e-06/0.3877, allocations: 0 / 454.2 MB, free: 12.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=84): time 0.004755/0.3925, allocations: 1.672 MB / 455.8 MB, free: 12.21 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001346/0.3926, allocations: 201.5 kB / 456 MB, free: 11.98 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000702/0.3933, allocations: 477.7 kB / 456.5 MB, free: 11.76 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000105/0.3934, allocations: 45.67 kB / 456.5 MB, free: 11.71 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003825/0.3938, allocations: 426.3 kB / 457 MB, free: 11.38 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003074/0.3941, allocations: 294.2 kB / 457.3 MB, free: 11.14 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002843/0.3944, allocations: 155.7 kB / 457.4 MB, free: 11.06 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002282/0.3946, allocations: 378.8 kB / 457.8 MB, free: 10.72 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006089/0.3953, allocations: 265.1 kB / 458 MB, free: 10.63 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007823/0.396, allocations: 494.1 kB / 458.5 MB, free: 10.25 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001342/0.3974, allocations: 0.7528 MB / 459.3 MB, free: 9.73 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.666e-06/0.3974, allocations: 2.406 kB / 459.3 MB, free: 9.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.00228/0.3997, allocations: 1.023 MB / 460.3 MB, free: 9.191 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.3997, allocations: 7.375 kB / 460.3 MB, free: 9.191 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/0.3997, allocations: 7.406 kB / 460.3 MB, free: 9.191 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009319/0.4006, allocations: 258.5 kB / 460.6 MB, free: 9.066 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006039/0.4012, allocations: 144.5 kB / 460.7 MB, free: 9.031 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006275/0.4075, allocations: 4.871 MB / 465.6 MB, free: 4.793 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009115/0.4084, allocations: 98.72 kB / 465.7 MB, free: 4.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.569e-05/0.4085, allocations: 34.84 kB / 465.7 MB, free: 4.723 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.0005556/0.4091, allocations: 251.8 kB / 465.9 MB, free: 4.516 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001584/0.4092, allocations: 78.33 kB / 466 MB, free: 4.473 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002153/0.4114, allocations: 0.956 MB / 467 MB, free: 3.918 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.281e-05/0.4114, allocations: 8.812 kB / 467 MB, free: 3.918 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.4114, allocations: 1.219 kB / 467 MB, free: 3.918 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/0.4114, allocations: 7.984 kB / 467 MB, free: 3.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003493/0.4149, allocations: 1.901 MB / 468.9 MB, free: 2.617 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.4149, allocations: 1.469 kB / 468.9 MB, free: 2.617 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004379/0.4153, allocations: 96.31 kB / 469 MB, free: 2.594 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007894/0.4161, allocations: 262.8 kB / 469.3 MB, free: 2.457 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.411e-05/0.4162, allocations: 18.44 kB / 469.3 MB, free: 2.445 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005701/0.4219, allocations: 4.817 MB / 474.1 MB, free: 14.24 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.4219, allocations: 5.031 kB / 474.1 MB, free: 14.24 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002605/0.4245, allocations: 1.364 MB / 475.5 MB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004568/0.4249, allocations: 211 kB / 475.7 MB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001142/0.4251, allocations: 21.73 kB / 475.7 MB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004579/0.4255, allocations: 45.66 kB / 475.7 MB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002138/0.4257, allocations: 70.81 kB / 475.8 MB, free: 13.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.787e-05/0.4258, allocations: 28.73 kB / 475.8 MB, free: 13.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004733/0.4263, allocations: 321.9 kB / 476.1 MB, free: 12.96 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4263, allocations: 2.094 kB / 476.1 MB, free: 12.96 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001596/0.4279, allocations: 316.7 kB / 476.5 MB, free: 12.88 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,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.003284/0.4311, allocations: 1.961 MB / 478.4 MB, free: 11.52 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002279/0.4334, allocations: 1.051 MB / 479.5 MB, free: 10.74 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/0.4334, allocations: 0 / 479.5 MB, free: 10.74 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001306/0.4347, allocations: 0.716 MB / 480.2 MB, free: 9.996 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008452/0.4356, allocations: 122.5 kB / 480.3 MB, free: 9.883 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01106/0.4466, allocations: 6.526 MB / 486.8 MB, free: 3.102 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007346/0.4474, allocations: 1.002 MB / 487.8 MB, free: 2.07 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003911/0.4478, allocations: 84.11 kB / 487.9 MB, free: 1.988 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004104/0.4482, allocations: 327.3 kB / 488.2 MB, free: 1.672 MB / 382.1 MB Notification: Performance of SimCode: time 8.11e-07/0.4482, allocations: 0 / 488.2 MB, free: 1.672 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06599/0.5142, allocations: 19.74 MB / 0.4961 GB, free: 14.24 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.04/15.56, allocations: 11.84 kB / 0.4961 GB, free: 14.23 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Rectifier_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 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.018386277370155] 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.663040126673877 15.686676572 15.318360125 Calling exit ...