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.001639/0.001639, allocations: 118.6 kB / 18.5 MB, free: 4.434 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.001953/0.001953, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.5 MB / 254.7 MB, free: 15.02 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.001956/0.001956, allocations: 71.83 kB / 373.6 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1096, allocations: 53.31 MB / 426.9 MB, free: 4.832 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.2536/0.3632, allocations: 24.89 MB / 451.8 MB, free: 12.12 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01855/0.3818, allocations: 7.476 MB / 459.3 MB, free: 6.82 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007411/0.3892, allocations: 186.5 kB / 459.5 MB, free: 6.785 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02227/0.4115, allocations: 8.893 MB / 468.4 MB, free: 1.422 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01264/0.4241, allocations: 2.954 MB / 471.3 MB, free: 15.08 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00653/0.4306, allocations: 1.737 MB / 473.1 MB, free: 13.7 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01942/0.45, allocations: 10.83 MB / 483.9 MB, free: 7.059 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03136/0.4814, allocations: 16.59 MB / 0.4887 GB, free: 7.398 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01076/0.4922, allocations: 5.724 MB / 0.4943 GB, free: 1.66 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01214/0.5043, allocations: 6.351 MB / 0.5005 GB, free: 11.29 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004951/0.5093, allocations: 1.672 MB / 0.5022 GB, free: 9.613 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007449/0.5167, allocations: 2.058 MB / 0.5042 GB, free: 7.559 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005844/0.5226, allocations: 3.16 MB / 0.5073 GB, free: 4.391 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01268/0.5352, allocations: 6.094 MB / 0.5132 GB, free: 14.27 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03369/0.5689, allocations: 22.4 MB / 0.5351 GB, free: 7.805 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.5689, allocations: 0 / 0.5351 GB, free: 7.805 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.5689, allocations: 0 / 0.5351 GB, free: 7.805 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006931/0.5696, allocations: 0 / 0.5351 GB, free: 7.805 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.04373/0.6134, allocations: 12.97 MB / 0.5478 GB, free: 10.72 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.34e-05/0.6134, allocations: 8.031 kB / 0.5478 GB, free: 10.71 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006838/0.6202, allocations: 1.552 MB / 0.5493 GB, free: 9.148 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03652/0.6568, allocations: 6.179 MB / 0.5553 GB, free: 2.957 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01979/0.6766, allocations: 6.938 MB / 0.5621 GB, free: 11.96 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009546/0.6775, allocations: 0.6985 MB / 0.5628 GB, free: 11.26 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004665/0.6822, allocations: 0.9218 MB / 0.5637 GB, free: 10.34 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0473/0.7295, allocations: 15.78 MB / 0.5791 GB, free: 10.48 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005444/0.73, allocations: 15.89 kB / 0.5791 GB, free: 10.47 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003826/0.7338, allocations: 384 kB / 0.5795 GB, free: 10.09 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007602/0.7346, allocations: 0.5508 MB / 0.58 GB, free: 9.539 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03574/0.7704, allocations: 14.82 MB / 0.5945 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5512/1.322, allocations: 52.19 MB / 0.6454 GB, free: 124.2 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02029/1.342, allocations: 26.09 MB / 0.6709 GB, free: 102.5 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004774/1.347, allocations: 2.939 MB / 0.6738 GB, free: 101.3 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003617/1.347, allocations: 272 kB / 0.6741 GB, free: 101.1 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.853e-05/1.347, allocations: 79.41 kB / 0.6741 GB, free: 101.1 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=398): time 5.641e-06/1.347, allocations: 0 / 0.6741 GB, free: 101.1 MB / 0.5138 GB Notification: Performance of matching and sorting (n=404): time 0.03416/1.381, allocations: 17.42 MB / 0.6911 GB, free: 93.2 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.269e-05/1.381, allocations: 92.39 kB / 0.6912 GB, free: 93.13 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004656/1.386, allocations: 3.701 MB / 0.6948 GB, free: 91.2 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0005754/1.386, allocations: 92.61 kB / 0.6949 GB, free: 91.11 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.001811/1.388, allocations: 4.129 MB / 0.699 GB, free: 88.04 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001201/1.389, allocations: 1.451 MB / 0.7004 GB, free: 86.78 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001474/1.391, allocations: 1.149 MB / 0.7015 GB, free: 86.12 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 4.395e-05/1.391, allocations: 302.9 kB / 0.7018 GB, free: 85.82 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003451/1.394, allocations: 2.812 MB / 0.7045 GB, free: 84.3 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004529/1.399, allocations: 4.957 MB / 0.7094 GB, free: 79.92 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008378/1.407, allocations: 8.33 MB / 0.7175 GB, free: 73.17 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.419e-05/1.407, allocations: 20 kB / 0.7175 GB, free: 73.15 MB / 0.5138 GB Notification: Performance of matching and sorting (n=752) (initialization): time 0.01438/1.422, allocations: 9.105 MB / 0.7264 GB, free: 64.02 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 5.769e-05/1.422, allocations: 32 kB / 0.7264 GB, free: 63.99 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001006/1.422, allocations: 72 kB / 0.7265 GB, free: 63.92 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002916/1.425, allocations: 1.227 MB / 0.7277 GB, free: 62.69 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004518/1.429, allocations: 1.326 MB / 0.729 GB, free: 61.36 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01199/1.441, allocations: 9.918 MB / 0.7387 GB, free: 51.31 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004037/1.445, allocations: 327.6 kB / 0.739 GB, free: 50.99 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007451/1.446, allocations: 288 kB / 0.7393 GB, free: 50.71 MB / 0.5138 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.005277/1.451, allocations: 3.708 MB / 0.7429 GB, free: 46.99 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008194/1.452, allocations: 417.3 kB / 0.7433 GB, free: 46.58 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009407/1.462, allocations: 6.666 MB / 0.7498 GB, free: 39.88 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007327/1.469, allocations: 5.585 MB / 0.7553 GB, free: 34.27 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-05/1.469, allocations: 8 kB / 0.7553 GB, free: 34.26 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.27e-05/1.469, allocations: 19.92 kB / 0.7553 GB, free: 34.24 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02315/1.492, allocations: 15.76 MB / 0.7707 GB, free: 18.4 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.499e-05/1.492, allocations: 7.938 kB / 0.7707 GB, free: 18.39 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00247/1.495, allocations: 0.7294 MB / 0.7714 GB, free: 17.66 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002619/1.497, allocations: 1.118 MB / 0.7725 GB, free: 16.54 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002592/1.498, allocations: 95.97 kB / 0.7726 GB, free: 16.45 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01005/1.508, allocations: 8.856 MB / 0.7812 GB, free: 7.453 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/1.508, allocations: 5.781 kB / 0.7812 GB, free: 7.449 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01364/1.521, allocations: 9.859 MB / 0.7909 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002869/1.524, allocations: 0.9745 MB / 0.7918 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009322/1.525, allocations: 87.86 kB / 0.7919 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002343/1.527, allocations: 195.8 kB / 0.7921 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006888/1.528, allocations: 291.3 kB / 0.7924 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002669/1.528, allocations: 124 kB / 0.7925 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004355/1.533, allocations: 2.495 MB / 0.7949 GB, free: 9.309 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/1.533, allocations: 4 kB / 0.7949 GB, free: 9.305 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006724/1.539, allocations: 1.605 MB / 0.7965 GB, free: 7.699 MB / 0.5294 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.01886/1.558, allocations: 10.59 MB / 0.8068 GB, free: 13 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01499/1.573, allocations: 6.858 MB / 0.8135 GB, free: 6.125 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.19e-05/1.573, allocations: 4 kB / 0.8135 GB, free: 6.121 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.007364/1.581, allocations: 3.176 MB / 0.8166 GB, free: 2.938 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007302/1.588, allocations: 0.9823 MB / 0.8176 GB, free: 1.988 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3522/1.94, allocations: 54.26 MB / 0.8706 GB, free: 172.4 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006889/1.947, allocations: 6.193 MB / 0.8766 GB, free: 170 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.004608/1.952, allocations: 1.911 MB / 0.8785 GB, free: 169.5 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004/1.956, allocations: 3.317 MB / 0.8818 GB, free: 166.4 MB / 0.5607 GB Notification: Performance of SimCode: time 1.303e-06/1.956, allocations: 0 / 0.8818 GB, free: 166.4 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1746/2.13, allocations: 128.5 MB / 1.007 GB, free: 42.14 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.28/21.41, allocations: 7.969 kB / 1.007 GB, free: 42.14 MB / 0.5607 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.070291851181537] Failed to read output from testmodel.py, exit status != 0: ['time', 'imcQS.rotorCage.port_p.reference.gamma', 'speed.phi'] 21.555633997078985 21.564412126 20.993101817 Calling exit ...