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.IMS_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.00192/0.00192, allocations: 109 kB / 21.23 MB, free: 0.6719 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.00155/0.00155, allocations: 209.2 kB / 24.53 MB, free: 4.035 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.463/1.463, allocations: 230.6 MB / 258.3 MB, free: 8.078 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.IMS_Characteristics,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_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.001959/0.001959, allocations: 60.77 kB / 378.6 MB, free: 3.141 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.25/0.252, allocations: 53.38 MB / 432 MB, free: 7.023 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.03092/0.2829, allocations: 27.16 MB / 459.1 MB, free: 11.75 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01855/0.3015, allocations: 8.2 MB / 467.3 MB, free: 3.523 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006667/0.3081, allocations: 238.8 kB / 467.6 MB, free: 3.289 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02348/0.3316, allocations: 9.517 MB / 477.1 MB, free: 9.754 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01118/0.3428, allocations: 3.457 MB / 480.5 MB, free: 6.285 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00556/0.3484, allocations: 1.885 MB / 482.4 MB, free: 4.414 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01758/0.3659, allocations: 12.35 MB / 494.8 MB, free: 8.012 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02917/0.3951, allocations: 16.04 MB / 0.4988 GB, free: 7.781 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01258/0.4077, allocations: 6.636 MB / 0.5053 GB, free: 1.129 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01262/0.4203, allocations: 7.308 MB / 0.5124 GB, free: 9.797 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005651/0.4259, allocations: 1.84 MB / 0.5142 GB, free: 7.957 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008164/0.4341, allocations: 2.234 MB / 0.5164 GB, free: 5.723 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006925/0.441, allocations: 3.62 MB / 0.52 GB, free: 2.094 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0141/0.4551, allocations: 6.923 MB / 0.5267 GB, free: 11.14 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2432/0.6984, allocations: 24.81 MB / 0.551 GB, free: 43.82 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.6984, allocations: 0 / 0.551 GB, free: 43.82 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.6984, allocations: 0 / 0.551 GB, free: 43.82 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0007246/0.6991, allocations: 4.281 kB / 0.551 GB, free: 43.82 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: 3035 * Number of variables: 3035 Notification: Performance of Generate backend data structure: time 0.04588/0.745, allocations: 14.69 MB / 0.5653 GB, free: 37.46 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.745, allocations: 9.719 kB / 0.5653 GB, free: 37.46 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007812/0.7528, allocations: 1.79 MB / 0.5671 GB, free: 37.05 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04551/0.7984, allocations: 8.439 MB / 0.5753 GB, free: 33.39 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0166/0.815, allocations: 7.766 MB / 0.5829 GB, free: 28.62 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006805/0.8156, allocations: 0.7979 MB / 0.5837 GB, free: 28.26 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005309/0.8209, allocations: 1.066 MB / 0.5847 GB, free: 27.54 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04898/0.8699, allocations: 18.33 MB / 0.6026 GB, free: 9.195 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003992/0.8703, allocations: 27.22 kB / 0.6026 GB, free: 9.176 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004466/0.8748, allocations: 453.3 kB / 0.6031 GB, free: 8.75 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000581/0.8754, allocations: 0.6774 MB / 0.6037 GB, free: 8.074 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03986/0.9152, allocations: 17.58 MB / 0.6209 GB, free: 6.477 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1233/1.039, allocations: 56.91 MB / 0.6765 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0245/1.063, allocations: 12.81 MB / 0.689 GB, free: 2.695 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007391/1.07, allocations: 3.745 MB / 0.6926 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005718/1.071, allocations: 154.8 kB / 0.6928 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.957e-05/1.071, allocations: 86 kB / 0.6929 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=518): time 6.893e-06/1.071, allocations: 0 / 0.6929 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of matching and sorting (n=524): time 0.05408/1.125, allocations: 21.46 MB / 0.7138 GB, free: 9.117 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.688e-05/1.125, allocations: 111.5 kB / 0.7139 GB, free: 8.992 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007279/1.133, allocations: 4.184 MB / 0.718 GB, free: 4.781 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0009736/1.134, allocations: 109.7 kB / 0.7181 GB, free: 4.668 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003971/1.138, allocations: 4.673 MB / 0.7227 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.002507/1.14, allocations: 1.858 MB / 0.7245 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002443/1.142, allocations: 1.371 MB / 0.7258 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001331/1.143, allocations: 309.1 kB / 0.7261 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006003/1.149, allocations: 3.449 MB / 0.7295 GB, free: 9.012 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00929/1.158, allocations: 5.887 MB / 0.7353 GB, free: 2.07 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01701/1.175, allocations: 10.04 MB / 0.7451 GB, free: 7.184 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.547e-05/1.175, allocations: 24 kB / 0.7451 GB, free: 7.16 MB / 0.5762 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.2528/1.428, allocations: 10.95 MB / 0.7558 GB, free: 202.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.414e-05/1.428, allocations: 36.22 kB / 0.7558 GB, free: 202.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001175/1.428, allocations: 78.78 kB / 0.7559 GB, free: 202.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003542/1.432, allocations: 1.454 MB / 0.7573 GB, free: 202.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005839/1.437, allocations: 1.616 MB / 0.7589 GB, free: 202.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01445/1.452, allocations: 11.4 MB / 0.77 GB, free: 198.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004984/1.457, allocations: 411.3 kB / 0.7704 GB, free: 198.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001018/1.458, allocations: 341.3 kB / 0.7707 GB, free: 198 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 354 * 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 (840): * Single equations (assignments): 838 * 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,56,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006767/1.465, allocations: 4.159 MB / 0.7748 GB, free: 196.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001091/1.466, allocations: 0.4909 MB / 0.7753 GB, free: 196.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01264/1.478, allocations: 8.449 MB / 0.7835 GB, free: 192.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009845/1.488, allocations: 7.074 MB / 0.7904 GB, free: 190.1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.187e-05/1.488, allocations: 13.81 kB / 0.7905 GB, free: 190.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.237e-05/1.488, allocations: 26.44 kB / 0.7905 GB, free: 190.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02937/1.518, allocations: 18.81 MB / 0.8089 GB, free: 175.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.79e-05/1.518, allocations: 4 kB / 0.8089 GB, free: 175.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003661/1.521, allocations: 0.9481 MB / 0.8098 GB, free: 174.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003155/1.524, allocations: 1.303 MB / 0.8111 GB, free: 173.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006979/1.525, allocations: 116 kB / 0.8112 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01195/1.537, allocations: 10.09 MB / 0.821 GB, free: 163 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/1.537, allocations: 7.984 kB / 0.821 GB, free: 163 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01663/1.554, allocations: 12.29 MB / 0.833 GB, free: 150.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003205/1.557, allocations: 1.137 MB / 0.8341 GB, free: 149.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001169/1.558, allocations: 96 kB / 0.8342 GB, free: 149.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00297/1.561, allocations: 267.8 kB / 0.8345 GB, free: 149.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000788/1.562, allocations: 380.2 kB / 0.8349 GB, free: 148.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000322/1.562, allocations: 152 kB / 0.835 GB, free: 148.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003888/1.566, allocations: 2.819 MB / 0.8377 GB, free: 145.9 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/1.566, allocations: 0 / 0.8377 GB, free: 145.9 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.007497/1.574, allocations: 1.937 MB / 0.8396 GB, free: 144 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (imsQS.rotor.stray.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 (499): * Single equations (assignments): 497 * 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,56,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01721/1.591, allocations: 13.05 MB / 0.8524 GB, free: 130.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01327/1.604, allocations: 8.41 MB / 0.8606 GB, free: 122.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.107e-06/1.604, allocations: 0 / 0.8606 GB, free: 122.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.006422/1.611, allocations: 3.908 MB / 0.8644 GB, free: 118.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005412/1.616, allocations: 1.13 MB / 0.8655 GB, free: 117.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09957/1.715, allocations: 64.12 MB / 0.9281 GB, free: 50.18 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0106/1.726, allocations: 7.007 MB / 0.935 GB, free: 43.12 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.006206/1.732, allocations: 2.321 MB / 0.9372 GB, free: 40.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006401/1.739, allocations: 3.889 MB / 0.941 GB, free: 36.91 MB / 0.5762 GB Notification: Performance of SimCode: time 2.224e-06/1.739, allocations: 0 / 0.941 GB, free: 36.91 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4439/2.183, allocations: 157 MB / 1.094 GB, free: 116.1 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.33/25.52, allocations: 11.92 kB / 1.094 GB, free: 116.1 MB / 0.5762 GB " [Timeout remaining time 634] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_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_IMS_Characteristics.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 28.319798298645765] Failed to read output from testmodel.py, exit status != 0: ['time', 'resistor.plug_p.reference.gamma', 'speed.phi'] 25.687490236014128 25.699345358 24.998000638 Calling exit ...