Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.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.001728/0.001728, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002185/0.002185, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.462/1.462, allocations: 230.6 MB / 258.3 MB, free: 8.039 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.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench",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.002664/0.002664, allocations: 68.98 kB / 378.6 MB, free: 3.137 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3104/0.3131, allocations: 53.37 MB / 431.9 MB, free: 7.168 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.03315/0.3462, allocations: 28.77 MB / 460.7 MB, free: 10.27 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01817/0.3644, allocations: 7.223 MB / 467.9 MB, free: 3.027 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006718/0.3711, allocations: 314.4 kB / 468.2 MB, free: 2.719 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03048/0.4016, allocations: 13.25 MB / 481.5 MB, free: 5.434 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01124/0.4128, allocations: 2.636 MB / 484.1 MB, free: 2.789 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007526/0.4204, allocations: 2.11 MB / 486.2 MB, free: 0.6914 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02737/0.4477, allocations: 18.54 MB / 0.4929 GB, free: 14.09 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06261/0.5104, allocations: 28.38 MB / 0.5207 GB, free: 1.477 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01944/0.5298, allocations: 10.15 MB / 0.5306 GB, free: 7.312 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.515/1.045, allocations: 11.15 MB / 0.5414 GB, free: 32.12 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.009004/1.054, allocations: 2.921 MB / 0.5443 GB, free: 32.12 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01217/1.066, allocations: 3.2 MB / 0.5474 GB, free: 32.12 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009484/1.075, allocations: 5.481 MB / 0.5528 GB, free: 32.12 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02053/1.096, allocations: 10.82 MB / 0.5633 GB, free: 29.07 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04025/1.136, allocations: 39.1 MB / 0.6015 GB, free: 5.691 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/1.136, allocations: 3.562 kB / 0.6015 GB, free: 5.691 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.204e-06/1.136, allocations: 0 / 0.6015 GB, free: 5.691 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001099/1.137, allocations: 0 / 0.6015 GB, free: 5.691 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4885 * Number of variables: 4885 Notification: Performance of Generate backend data structure: time 0.06889/1.206, allocations: 22.24 MB / 0.6233 GB, free: 2.316 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.609e-05/1.206, allocations: 16.03 kB / 0.6233 GB, free: 2.301 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0126/1.219, allocations: 2.959 MB / 0.6262 GB, free: 15.34 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04731/1.266, allocations: 8.24 MB / 0.6342 GB, free: 7.168 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03022/1.296, allocations: 11.89 MB / 0.6458 GB, free: 11.68 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002054/1.298, allocations: 1.341 MB / 0.6471 GB, free: 10.35 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009049/1.307, allocations: 1.756 MB / 0.6488 GB, free: 8.602 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08279/1.39, allocations: 28.78 MB / 0.677 GB, free: 11.79 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009331/1.391, allocations: 19.91 kB / 0.677 GB, free: 11.77 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007182/1.398, allocations: 0.7313 MB / 0.6777 GB, free: 11.05 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001052/1.399, allocations: 0.8475 MB / 0.6785 GB, free: 10.2 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06073/1.46, allocations: 24.84 MB / 0.7028 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4671/1.927, allocations: 86 MB / 0.7868 GB, free: 109.4 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02057/1.948, allocations: 12.87 MB / 0.7993 GB, free: 109 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008234/1.956, allocations: 5.032 MB / 0.8042 GB, free: 108.9 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006607/1.957, allocations: 178.3 kB / 0.8044 GB, free: 108.9 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.494e-05/1.957, allocations: 97.23 kB / 0.8045 GB, free: 108.8 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=577): time 7.154e-06/1.957, allocations: 3.781 kB / 0.8045 GB, free: 108.8 MB / 0.5763 GB Notification: Performance of matching and sorting (n=577): time 0.03294/1.99, allocations: 14.69 MB / 0.8188 GB, free: 107.2 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.719e-05/1.99, allocations: 140.6 kB / 0.819 GB, free: 107.1 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01169/2.002, allocations: 6.427 MB / 0.8253 GB, free: 105.6 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.001077/2.003, allocations: 119.6 kB / 0.8254 GB, free: 105.5 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.004996/2.008, allocations: 7.899 MB / 0.8331 GB, free: 98.61 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.002716/2.01, allocations: 2.108 MB / 0.8351 GB, free: 96.8 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004851/2.015, allocations: 2.12 MB / 0.8372 GB, free: 95.59 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 4.942e-05/2.015, allocations: 305.1 kB / 0.8375 GB, free: 95.29 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006844/2.022, allocations: 4.742 MB / 0.8421 GB, free: 92.76 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01046/2.032, allocations: 9.477 MB / 0.8514 GB, free: 83.83 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01683/2.049, allocations: 15.32 MB / 0.8664 GB, free: 69 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001878/2.05, allocations: 46 kB / 0.8664 GB, free: 68.96 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.02883/2.078, allocations: 15.41 MB / 0.8815 GB, free: 54.45 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001589/2.079, allocations: 72 kB / 0.8815 GB, free: 54.38 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003424/2.079, allocations: 160 kB / 0.8817 GB, free: 54.23 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005126/2.084, allocations: 1.657 MB / 0.8833 GB, free: 52.57 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008203/2.092, allocations: 2.364 MB / 0.8856 GB, free: 50.38 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0136/2.106, allocations: 11.52 MB / 0.8968 GB, free: 38.85 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008589/2.114, allocations: 1.37 MB / 0.8982 GB, free: 37.47 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002267/2.117, allocations: 0.541 MB / 0.8987 GB, free: 36.93 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 728 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1243): * Single equations (assignments): 1240 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(6,80,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01463/2.131, allocations: 7.141 MB / 0.9057 GB, free: 29.95 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001941/2.133, allocations: 0.6404 MB / 0.9063 GB, free: 29.31 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01466/2.148, allocations: 10.07 MB / 0.9161 GB, free: 19.16 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01092/2.159, allocations: 7.767 MB / 0.9237 GB, free: 11.36 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.584e-05/2.159, allocations: 12 kB / 0.9237 GB, free: 11.34 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.399e-05/2.159, allocations: 38.62 kB / 0.9238 GB, free: 11.31 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05585/2.215, allocations: 25.36 MB / 0.9485 GB, free: 1.988 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.052e-05/2.215, allocations: 11.94 kB / 0.9486 GB, free: 1.977 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004522/2.219, allocations: 1.021 MB / 0.9496 GB, free: 1.008 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005429/2.225, allocations: 1.462 MB / 0.951 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001073/2.226, allocations: 136 kB / 0.9511 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01717/2.243, allocations: 11.06 MB / 0.9619 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.007e-05/2.243, allocations: 15.66 kB / 0.9619 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02659/2.27, allocations: 14.15 MB / 0.9757 GB, free: 5.809 MB / 0.6232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00475/2.274, allocations: 1.443 MB / 0.9772 GB, free: 4.363 MB / 0.6232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001793/2.276, allocations: 119.9 kB / 0.9773 GB, free: 4.246 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003758/2.28, allocations: 311.6 kB / 0.9776 GB, free: 3.941 MB / 0.6232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001091/2.281, allocations: 435.7 kB / 0.978 GB, free: 3.52 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004122/2.281, allocations: 168 kB / 0.9781 GB, free: 3.355 MB / 0.6232 GB Notification: Performance of sorting global known variables: time 0.3131/2.594, allocations: 4.307 MB / 0.9823 GB, free: 217.4 MB / 0.6232 GB Notification: Performance of sort global known variables: time 3.71e-07/2.594, allocations: 0.5312 kB / 0.9823 GB, free: 217.4 MB / 0.6232 GB Notification: Performance of remove unused functions: time 0.0197/2.614, allocations: 4.092 MB / 0.9863 GB, free: 217 MB / 0.6232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * Number of states: 1 (source.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (528): * Single equations (assignments): 525 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(6,80,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02343/2.638, allocations: 14.93 MB / 1.001 GB, free: 212.7 MB / 0.6232 GB Notification: Performance of simCode: created initialization part: time 0.01822/2.656, allocations: 10.95 MB / 1.012 GB, free: 208.6 MB / 0.6232 GB Notification: Performance of simCode: created event and clocks part: time 2.127e-05/2.656, allocations: 0 / 1.012 GB, free: 208.6 MB / 0.6232 GB Notification: Performance of simCode: created simulation system equations: time 0.007744/2.664, allocations: 4.349 MB / 1.016 GB, free: 206.9 MB / 0.6232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01001/2.674, allocations: 1.565 MB / 1.017 GB, free: 206.3 MB / 0.6232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1569/2.831, allocations: 94.76 MB / 1.11 GB, free: 124.1 MB / 0.6232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01941/2.85, allocations: 11.26 MB / 1.121 GB, free: 112.8 MB / 0.6232 GB Notification: Performance of simCode: alias equations: time 0.008607/2.859, allocations: 3.778 MB / 1.125 GB, free: 109 MB / 0.6232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008912/2.867, allocations: 5.947 MB / 1.13 GB, free: 103.1 MB / 0.6232 GB Notification: Performance of SimCode: time 1.522e-06/2.867, allocations: 0 / 1.13 GB, free: 103.1 MB / 0.6232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.538/3.405, allocations: 212.7 MB / 1.338 GB, free: 158.6 MB / 0.6232 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.83/31.23, allocations: 2.406 kB / 1.338 GB, free: 158.6 MB / 0.6232 GB " [Timeout remaining time 629] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 33.9411683967337] Failed to read output from testmodel.py, exit status != 0: ['time', 'source.plug_p.reference.gamma'] 31.42244926514104 31.433863951 30.294215077 Calling exit ...