Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.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.001336/0.001336, allocations: 105.1 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.001483/0.001483, allocations: 213.9 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.469/1.469, allocations: 230.6 MB / 258.3 MB, free: 8.07 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.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics",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.001998/0.001998, allocations: 64.77 kB / 378.6 MB, free: 3.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.2611, allocations: 53.36 MB / 432 MB, free: 6.934 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.03048/0.2916, allocations: 24.95 MB / 456.9 MB, free: 13.87 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.018/0.3096, allocations: 7.496 MB / 464.4 MB, free: 6.355 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005867/0.3154, allocations: 222.9 kB / 464.6 MB, free: 6.137 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02201/0.3374, allocations: 8.913 MB / 473.5 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01077/0.3482, allocations: 3.049 MB / 476.6 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005495/0.3537, allocations: 1.774 MB / 478.4 MB, free: 8.371 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0173/0.371, allocations: 10.95 MB / 489.3 MB, free: 13.39 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02748/0.3985, allocations: 14.36 MB / 0.4919 GB, free: 14.89 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01032/0.4088, allocations: 5.872 MB / 0.4976 GB, free: 9.008 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01219/0.421, allocations: 6.374 MB / 0.5038 GB, free: 2.613 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005234/0.4262, allocations: 1.672 MB / 0.5054 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006966/0.4332, allocations: 2.062 MB / 0.5075 GB, free: 14.88 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005986/0.4392, allocations: 3.164 MB / 0.5106 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01218/0.4514, allocations: 6.094 MB / 0.5165 GB, free: 5.59 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.5309/0.9823, allocations: 22.39 MB / 0.5384 GB, free: 39.7 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.9823, allocations: 0.6562 kB / 0.5384 GB, free: 39.7 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.9823, allocations: 0.7812 kB / 0.5384 GB, free: 39.7 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006303/0.983, allocations: 0.5 kB / 0.5384 GB, free: 39.7 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: 2620 * Number of variables: 2620 Notification: Performance of Generate backend data structure: time 0.04084/1.024, allocations: 12.89 MB / 0.551 GB, free: 36.36 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/1.024, allocations: 9.031 kB / 0.551 GB, free: 36.36 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005536/1.029, allocations: 1.546 MB / 0.5525 GB, free: 36.24 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03432/1.064, allocations: 6.187 MB / 0.5585 GB, free: 35.66 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01496/1.079, allocations: 7.014 MB / 0.5654 GB, free: 34.76 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007072/1.079, allocations: 0.6974 MB / 0.5661 GB, free: 34.54 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004405/1.084, allocations: 0.9232 MB / 0.567 GB, free: 34.24 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04204/1.126, allocations: 15.78 MB / 0.5824 GB, free: 22.36 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000393/1.126, allocations: 23.89 kB / 0.5824 GB, free: 22.33 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004278/1.13, allocations: 386.9 kB / 0.5828 GB, free: 21.96 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004659/1.131, allocations: 0.5508 MB / 0.5833 GB, free: 21.41 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03095/1.162, allocations: 14.81 MB / 0.5978 GB, free: 6.586 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1006/1.263, allocations: 49.92 MB / 0.6465 GB, free: 4.531 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01961/1.282, allocations: 9.298 MB / 0.6556 GB, free: 12.36 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00577/1.288, allocations: 2.932 MB / 0.6584 GB, free: 9.426 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004231/1.288, allocations: 127.7 kB / 0.6586 GB, free: 9.324 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.448e-05/1.288, allocations: 77.16 kB / 0.6586 GB, free: 9.242 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=398): time 6.091e-06/1.288, allocations: 0 / 0.6586 GB, free: 9.242 MB / 0.4982 GB Notification: Performance of matching and sorting (n=404): time 0.04513/1.334, allocations: 17.27 MB / 0.6755 GB, free: 7.992 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.453e-05/1.334, allocations: 90.58 kB / 0.6756 GB, free: 7.891 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006789/1.34, allocations: 3.701 MB / 0.6792 GB, free: 4.191 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0009669/1.341, allocations: 89.7 kB / 0.6793 GB, free: 4.098 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.003778/1.345, allocations: 4.126 MB / 0.6833 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002255/1.347, allocations: 1.445 MB / 0.6847 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002079/1.35, allocations: 1.156 MB / 0.6859 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001641/1.35, allocations: 305.1 kB / 0.6862 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005129/1.355, allocations: 2.798 MB / 0.6889 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007596/1.362, allocations: 4.973 MB / 0.6937 GB, free: 4.332 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01414/1.377, allocations: 8.325 MB / 0.7019 GB, free: 11.3 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.065e-05/1.377, allocations: 20 kB / 0.7019 GB, free: 11.28 MB / 0.545 GB Notification: Performance of matching and sorting (n=752) (initialization): time 0.02389/1.401, allocations: 9.106 MB / 0.7108 GB, free: 2.609 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001391/1.401, allocations: 36 kB / 0.7108 GB, free: 2.574 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000184/1.401, allocations: 68 kB / 0.7109 GB, free: 2.508 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004204/1.405, allocations: 1.231 MB / 0.7121 GB, free: 1.273 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007355/1.412, allocations: 1.324 MB / 0.7134 GB, free: 44 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01858/1.431, allocations: 9.807 MB / 0.723 GB, free: 6.172 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005422/1.436, allocations: 335 kB / 0.7233 GB, free: 5.848 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001493/1.438, allocations: 291.9 kB / 0.7236 GB, free: 5.562 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 319 * 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 (694): * Single equations (assignments): 692 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009727/1.448, allocations: 3.705 MB / 0.7272 GB, free: 1.938 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001754/1.449, allocations: 417.3 kB / 0.7276 GB, free: 1.527 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01616/1.466, allocations: 6.668 MB / 0.7341 GB, free: 10.86 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01059/1.476, allocations: 5.584 MB / 0.7395 GB, free: 5.285 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.31e-05/1.476, allocations: 8 kB / 0.7395 GB, free: 5.277 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.284e-05/1.476, allocations: 22.22 kB / 0.7396 GB, free: 5.258 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03191/1.508, allocations: 15.78 MB / 0.755 GB, free: 5.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.826e-05/1.508, allocations: 4 kB / 0.755 GB, free: 5.516 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003093/1.511, allocations: 0.7238 MB / 0.7557 GB, free: 4.828 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003348/1.515, allocations: 1.116 MB / 0.7568 GB, free: 3.711 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004071/1.515, allocations: 99.97 kB / 0.7569 GB, free: 3.613 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2814/1.796, allocations: 8.736 MB / 0.7654 GB, free: 224.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/1.796, allocations: 8.859 kB / 0.7654 GB, free: 224.2 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01671/1.813, allocations: 9.865 MB / 0.775 GB, free: 220.3 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002788/1.816, allocations: 0.9193 MB / 0.7759 GB, free: 220.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007219/1.817, allocations: 79.17 kB / 0.776 GB, free: 220 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001957/1.819, allocations: 200.6 kB / 0.7762 GB, free: 219.9 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007285/1.819, allocations: 305.1 kB / 0.7765 GB, free: 219.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002389/1.82, allocations: 124.4 kB / 0.7766 GB, free: 219.9 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.003602/1.823, allocations: 2.497 MB / 0.7791 GB, free: 218.9 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/1.823, allocations: 0 / 0.7791 GB, free: 218.9 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.006964/1.83, allocations: 1.616 MB / 0.7806 GB, free: 218.8 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 2 (imcQS.rotorCage.port_p.reference.gamma,speed.phi) * 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 (389): * Single equations (assignments): 387 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(14,44,40.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01487/1.845, allocations: 10.59 MB / 0.791 GB, free: 214.1 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0113/1.856, allocations: 6.866 MB / 0.7977 GB, free: 210.9 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.786e-05/1.856, allocations: 0 / 0.7977 GB, free: 210.9 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.005484/1.862, allocations: 3.181 MB / 0.8008 GB, free: 208.2 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005176/1.867, allocations: 0.9723 MB / 0.8017 GB, free: 207.4 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1115/1.978, allocations: 54.4 MB / 0.8549 GB, free: 152.9 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009866/1.988, allocations: 6.191 MB / 0.8609 GB, free: 146.6 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.007319/1.996, allocations: 1.912 MB / 0.8628 GB, free: 144.7 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007057/2.003, allocations: 3.327 MB / 0.866 GB, free: 141.4 MB / 0.5919 GB Notification: Performance of SimCode: time 1.653e-06/2.003, allocations: 0 / 0.866 GB, free: 141.4 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.25/2.253, allocations: 133.8 MB / 0.9966 GB, free: 8.191 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.04/22.29, allocations: 7.922 kB / 0.9967 GB, free: 8.184 MB / 0.5919 GB " [Timeout remaining time 638] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 25.03663708176464] Failed to read output from testmodel.py, exit status != 0: ['time', 'imcQS.rotorCage.port_p.reference.gamma', 'speed.phi'] 22.442628596909344 22.631838038 21.646448797 Calling exit ...