Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.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.001715/0.001715, 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.002117/0.002117, allocations: 213.2 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.531/1.531, allocations: 230.6 MB / 258.3 MB, free: 8.062 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.Polyphase.Examples.Rectifier,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Polyphase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.Rectifier,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Polyphase_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.002024/0.002024, allocations: 68.77 kB / 378.5 MB, free: 3.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.3153, allocations: 53.37 MB / 431.9 MB, free: 6.891 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.008405/0.3237, allocations: 6.315 MB / 438.2 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003909/0.3277, allocations: 1.702 MB / 439.9 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006692/0.3283, allocations: 55.69 kB / 440 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006944/0.329, allocations: 305.5 kB / 440.3 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001418/0.3304, allocations: 445.2 kB / 440.7 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007215/0.3312, allocations: 359.5 kB / 441.1 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002499/0.3337, allocations: 2.145 MB / 443.2 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001925/0.3356, allocations: 1.397 MB / 444.6 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001527/0.3371, allocations: 1.063 MB / 445.7 MB, free: 9.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001919/0.339, allocations: 1.23 MB / 446.9 MB, free: 7.785 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004422/0.3395, allocations: 296 kB / 447.2 MB, free: 7.496 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008876/0.3404, allocations: 475.6 kB / 447.7 MB, free: 7.031 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007841/0.3411, allocations: 0.7128 MB / 448.4 MB, free: 6.316 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001633/0.3428, allocations: 1.233 MB / 449.6 MB, free: 5.078 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004198/0.347, allocations: 3.639 MB / 453.2 MB, free: 1.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.347, allocations: 4 kB / 453.2 MB, free: 1.426 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.347, allocations: 0 / 453.2 MB, free: 1.426 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.605e-05/0.3471, allocations: 0 / 453.2 MB, free: 1.426 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: 531 * Number of variables: 531 Notification: Performance of Generate backend data structure: time 0.005074/0.3521, allocations: 2.464 MB / 455.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.3522, allocations: 8.031 kB / 455.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004259/0.3526, allocations: 299.7 kB / 456 MB, free: 14.6 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006935/0.3533, allocations: 267.4 kB / 456.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002387/0.3557, allocations: 1.254 MB / 457.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001373/0.3558, allocations: 160.5 kB / 457.7 MB, free: 12.89 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003271/0.3562, allocations: 211.9 kB / 457.9 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004631/0.3608, allocations: 2.61 MB / 460.5 MB, free: 9.984 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.433e-05/0.3608, allocations: 3.984 kB / 460.5 MB, free: 9.98 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001773/0.361, allocations: 84 kB / 460.6 MB, free: 9.898 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.308e-05/0.3611, allocations: 52 kB / 460.6 MB, free: 9.848 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003784/0.3649, allocations: 2.085 MB / 462.7 MB, free: 7.746 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01312/0.378, allocations: 7.204 MB / 469.9 MB, free: 368 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002048/0.38, allocations: 1.304 MB / 471.2 MB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001523/0.3815, allocations: 0.9011 MB / 472.1 MB, free: 14.17 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.482e-05/0.3816, allocations: 12.94 kB / 472.1 MB, free: 14.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.495e-05/0.3816, allocations: 39.56 kB / 472.2 MB, free: 14.11 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 2.975e-06/0.3816, allocations: 0 / 472.2 MB, free: 14.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=97): time 0.007987/0.3896, allocations: 3.895 MB / 476.1 MB, free: 10.17 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.352e-05/0.3897, allocations: 64.34 kB / 476.1 MB, free: 10.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00126/0.3909, allocations: 0.8681 MB / 477 MB, free: 9.215 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.642e-05/0.391, allocations: 41.7 kB / 477 MB, free: 9.168 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006587/0.3917, allocations: 0.8592 MB / 477.9 MB, free: 8.297 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003145/0.392, allocations: 345.1 kB / 478.2 MB, free: 7.957 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000286/0.3923, allocations: 178.6 kB / 478.4 MB, free: 7.773 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001784/0.3924, allocations: 345.9 kB / 478.8 MB, free: 7.43 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008003/0.3932, allocations: 493.7 kB / 479.2 MB, free: 6.949 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009275/0.3942, allocations: 0.6733 MB / 479.9 MB, free: 6.211 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001777/0.3959, allocations: 1.205 MB / 481.1 MB, free: 4.938 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.396, allocations: 0 / 481.1 MB, free: 4.938 MB / 382.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002715/0.3987, allocations: 1.617 MB / 482.7 MB, free: 3.301 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.3987, allocations: 8 kB / 482.7 MB, free: 3.293 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.74e-05/0.3987, allocations: 7.938 kB / 482.7 MB, free: 3.285 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001099/0.3998, allocations: 474.9 kB / 483.2 MB, free: 2.809 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006817/0.4005, allocations: 175.7 kB / 483.4 MB, free: 2.637 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009615/0.4101, allocations: 8.879 MB / 492.3 MB, free: 9.301 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007039/0.4108, allocations: 55.95 kB / 492.3 MB, free: 9.246 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.352e-05/0.4109, allocations: 28 kB / 492.3 MB, free: 9.219 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 (idealDiode2.idealDiode[3].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[1].off,idealDiode1.idealDiode[3].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 82 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.001151/0.412, allocations: 0.638 MB / 493 MB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002287/0.4123, allocations: 107.3 kB / 493.1 MB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002728/0.4125, allocations: 134.6 kB / 493.2 MB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.017e-05/0.4126, allocations: 12 kB / 493.2 MB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.235e-05/0.4126, allocations: 3.938 kB / 493.2 MB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.226e-05/0.4126, allocations: 19.91 kB / 493.3 MB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005812/0.4184, allocations: 3.453 MB / 496.7 MB, free: 4.758 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/0.4184, allocations: 7.938 kB / 496.7 MB, free: 4.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005676/0.419, allocations: 127.9 kB / 496.8 MB, free: 4.625 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001023/0.42, allocations: 447 kB / 497.3 MB, free: 4.176 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.047e-05/0.4201, allocations: 24 kB / 497.3 MB, free: 4.152 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009756/0.4298, allocations: 8.791 MB / 0.4942 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.4298, allocations: 0 / 0.4942 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003839/0.4337, allocations: 2.301 MB / 0.4965 GB, free: 8.578 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005575/0.4342, allocations: 207.7 kB / 0.4967 GB, free: 8.375 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/0.4343, allocations: 20 kB / 0.4967 GB, free: 8.355 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000431/0.4348, allocations: 43.89 kB / 0.4967 GB, free: 8.312 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000241/0.435, allocations: 92.92 kB / 0.4968 GB, free: 8.219 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.316e-05/0.4351, allocations: 24 kB / 0.4968 GB, free: 8.195 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008877/0.436, allocations: 0.6199 MB / 0.4975 GB, free: 7.582 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.436, allocations: 0 / 0.4975 GB, free: 7.582 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001494/0.4374, allocations: 383.9 kB / 0.4978 GB, free: 7.207 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (supplyL.inductor[2].i,supplyL.inductor[3].i,cDC1.v,cDC2.v) * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 56 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004164/0.4416, allocations: 2.896 MB / 0.5006 GB, free: 4.27 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003054/0.4447, allocations: 1.78 MB / 0.5024 GB, free: 2.434 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.698e-06/0.4447, allocations: 448 / 0.5024 GB, free: 2.434 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001836/0.4465, allocations: 1.211 MB / 0.5036 GB, free: 1.172 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001419/0.4479, allocations: 295.1 kB / 0.5038 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02125/0.4692, allocations: 12.2 MB / 0.5158 GB, free: 4.395 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001616/0.4708, allocations: 1.714 MB / 0.5174 GB, free: 2.648 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005913/0.4714, allocations: 192.9 kB / 0.5176 GB, free: 2.457 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007855/0.4722, allocations: 0.6203 MB / 0.5182 GB, free: 1.836 MB / 430.1 MB Notification: Performance of SimCode: time 1.112e-06/0.4722, allocations: 0 / 0.5182 GB, free: 1.836 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3353/0.8075, allocations: 34.69 MB / 0.5521 GB, free: 97.05 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.24/15.05, allocations: 0.9375 kB / 0.5521 GB, free: 97.05 MB / 446.1 MB " [Timeout remaining time 645] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.Rectifier.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.Rectifier_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1e-05 Modelica_4_1_0-beta_om_Modelica_Electrical_Polyphase_Examples_Rectifier.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.736988123040646] Failed to read output from testmodel.py, exit status != 0: ['time', 'cDC1.v', 'cDC2.v', 'supplyL.inductor[2].i', 'supplyL.inductor[3].i'] 15.166065244935453 15.18245836 14.831946366 Calling exit ...