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.001363/0.001363, 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.001572/0.001572, 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.456/1.456, allocations: 230.6 MB / 258.3 MB, free: 8.035 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.001947/0.001947, allocations: 68.77 kB / 378.6 MB, free: 3.109 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2699/0.2719, allocations: 53.37 MB / 432 MB, free: 6.863 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02986/0.3017, allocations: 24.95 MB / 456.9 MB, free: 13.8 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01804/0.3198, allocations: 7.498 MB / 464.4 MB, free: 6.285 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005407/0.3252, allocations: 222.9 kB / 464.6 MB, free: 6.066 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02134/0.3465, allocations: 8.915 MB / 473.5 MB, free: 13.13 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0119/0.3584, allocations: 3.044 MB / 476.6 MB, free: 10.08 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008226/0.3666, allocations: 1.778 MB / 478.4 MB, free: 8.305 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01995/0.3866, allocations: 10.94 MB / 489.3 MB, free: 13.33 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02463/0.4112, allocations: 14.35 MB / 0.4918 GB, free: 14.83 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009218/0.4204, allocations: 5.872 MB / 0.4976 GB, free: 8.945 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01146/0.4319, allocations: 6.382 MB / 0.5038 GB, free: 2.543 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004333/0.4362, allocations: 1.668 MB / 0.5054 GB, free: 0.875 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006551/0.4428, allocations: 2.062 MB / 0.5075 GB, free: 14.81 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005032/0.4478, allocations: 3.16 MB / 0.5105 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01041/0.4582, allocations: 6.102 MB / 0.5165 GB, free: 5.52 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4814/0.9396, allocations: 22.39 MB / 0.5384 GB, free: 39.79 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.9396, allocations: 0.5 kB / 0.5384 GB, free: 39.79 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.9396, allocations: 0.5312 kB / 0.5384 GB, free: 39.79 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005554/0.9402, allocations: 0.6562 kB / 0.5384 GB, free: 39.79 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.03905/0.9792, allocations: 12.89 MB / 0.551 GB, free: 36.46 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.9793, allocations: 9.781 kB / 0.551 GB, free: 36.46 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005989/0.9852, allocations: 1.551 MB / 0.5525 GB, free: 36.33 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03495/1.02, allocations: 6.181 MB / 0.5585 GB, free: 35.75 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01704/1.037, allocations: 7.01 MB / 0.5654 GB, free: 34.85 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001011/1.038, allocations: 0.7007 MB / 0.566 GB, free: 34.7 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00521/1.043, allocations: 0.9189 MB / 0.5669 GB, free: 34.4 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0422/1.086, allocations: 15.79 MB / 0.5824 GB, free: 22.52 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005375/1.086, allocations: 15.75 kB / 0.5824 GB, free: 22.5 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003923/1.09, allocations: 390.4 kB / 0.5827 GB, free: 22.13 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005339/1.091, allocations: 0.5508 MB / 0.5833 GB, free: 21.58 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03017/1.121, allocations: 14.81 MB / 0.5977 GB, free: 6.75 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1058/1.227, allocations: 49.92 MB / 0.6465 GB, free: 4.699 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02036/1.247, allocations: 9.31 MB / 0.6556 GB, free: 12.52 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006384/1.253, allocations: 2.93 MB / 0.6585 GB, free: 9.59 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000519/1.254, allocations: 121.7 kB / 0.6586 GB, free: 9.492 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.829e-05/1.254, allocations: 77.69 kB / 0.6586 GB, free: 9.406 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=398): time 6.973e-06/1.254, allocations: 0 / 0.6586 GB, free: 9.406 MB / 0.4982 GB Notification: Performance of matching and sorting (n=404): time 0.04382/1.298, allocations: 17.26 MB / 0.6755 GB, free: 8.164 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.118e-05/1.298, allocations: 94.58 kB / 0.6756 GB, free: 8.059 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006637/1.305, allocations: 3.704 MB / 0.6792 GB, free: 4.355 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0006785/1.305, allocations: 89.7 kB / 0.6793 GB, free: 4.262 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.003371/1.309, allocations: 4.122 MB / 0.6833 GB, free: 132 kB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001916/1.311, allocations: 1.453 MB / 0.6847 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001914/1.312, allocations: 1.148 MB / 0.6859 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001454/1.313, allocations: 305.1 kB / 0.6861 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004702/1.317, allocations: 2.799 MB / 0.6889 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00677/1.324, allocations: 4.968 MB / 0.6937 GB, free: 4.504 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01245/1.337, allocations: 8.323 MB / 0.7019 GB, free: 11.48 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.229e-05/1.337, allocations: 20 kB / 0.7019 GB, free: 11.46 MB / 0.545 GB Notification: Performance of matching and sorting (n=752) (initialization): time 0.01754/1.354, allocations: 9.104 MB / 0.7108 GB, free: 2.781 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.122e-05/1.354, allocations: 33.56 kB / 0.7108 GB, free: 2.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001216/1.354, allocations: 72 kB / 0.7109 GB, free: 2.68 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003596/1.358, allocations: 1.232 MB / 0.7121 GB, free: 1.445 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004943/1.363, allocations: 1.323 MB / 0.7134 GB, free: 220 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0166/1.379, allocations: 9.819 MB / 0.723 GB, free: 6.34 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00441/1.384, allocations: 335.5 kB / 0.7233 GB, free: 6.012 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008577/1.385, allocations: 288 kB / 0.7236 GB, free: 5.73 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.00716/1.392, allocations: 3.701 MB / 0.7272 GB, free: 2.109 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001046/1.393, allocations: 421.3 kB / 0.7276 GB, free: 1.695 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01823/1.411, allocations: 6.671 MB / 0.7341 GB, free: 11.03 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01719/1.428, allocations: 5.583 MB / 0.7395 GB, free: 5.453 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.362e-05/1.428, allocations: 14.52 kB / 0.7395 GB, free: 5.441 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.181e-05/1.428, allocations: 19.92 kB / 0.7396 GB, free: 5.422 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04052/1.469, allocations: 15.79 MB / 0.755 GB, free: 5.684 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.83e-05/1.469, allocations: 4 kB / 0.755 GB, free: 5.68 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003161/1.472, allocations: 0.7239 MB / 0.7557 GB, free: 4.992 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003647/1.476, allocations: 1.119 MB / 0.7568 GB, free: 3.875 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003985/1.476, allocations: 91.97 kB / 0.7569 GB, free: 3.785 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2506/1.727, allocations: 8.737 MB / 0.7654 GB, free: 224.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.992e-06/1.727, allocations: 4.859 kB / 0.7654 GB, free: 224.1 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0142/1.741, allocations: 9.87 MB / 0.7751 GB, free: 220.4 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002541/1.744, allocations: 0.9137 MB / 0.7759 GB, free: 220.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005701/1.744, allocations: 83.12 kB / 0.776 GB, free: 220.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001848/1.746, allocations: 195.3 kB / 0.7762 GB, free: 220 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006738/1.747, allocations: 305.1 kB / 0.7765 GB, free: 220 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002235/1.747, allocations: 125.5 kB / 0.7766 GB, free: 219.9 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.003341/1.75, allocations: 2.493 MB / 0.7791 GB, free: 219 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/1.75, allocations: 0 / 0.7791 GB, free: 219 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.005427/1.756, allocations: 1.614 MB / 0.7806 GB, free: 218.9 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.01312/1.769, allocations: 10.59 MB / 0.791 GB, free: 214.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01028/1.779, allocations: 6.867 MB / 0.7977 GB, free: 211.1 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.486e-06/1.779, allocations: 4 kB / 0.7977 GB, free: 211.1 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004846/1.784, allocations: 3.17 MB / 0.8008 GB, free: 208.4 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004482/1.788, allocations: 0.9793 MB / 0.8017 GB, free: 207.6 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07792/1.866, allocations: 54.42 MB / 0.8549 GB, free: 153.1 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006241/1.873, allocations: 6.187 MB / 0.8609 GB, free: 146.9 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004456/1.877, allocations: 1.912 MB / 0.8628 GB, free: 144.9 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003567/1.881, allocations: 3.327 MB / 0.866 GB, free: 141.6 MB / 0.5919 GB Notification: Performance of SimCode: time 1.092e-06/1.881, allocations: 0 / 0.866 GB, free: 141.6 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1842/2.065, allocations: 133.7 MB / 0.9966 GB, free: 8.449 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.77/21.83, allocations: 15.44 kB / 0.9967 GB, free: 8.438 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 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: 24.675454011186957] Failed to read output from testmodel.py, exit status != 0: ['time', 'imcQS.rotorCage.port_p.reference.gamma', 'speed.phi'] 21.985641039907932 22.168476474 21.226165235 Calling exit ...