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.001343/0.001343, 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.001515/0.001515, 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.467/1.467, 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.001989/0.001989, allocations: 64.77 kB / 378.6 MB, free: 3.133 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.245/0.247, allocations: 53.37 MB / 432 MB, free: 6.891 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.03267/0.2797, allocations: 27.16 MB / 459.1 MB, free: 11.61 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01953/0.2992, allocations: 8.208 MB / 467.3 MB, free: 3.379 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005939/0.3051, allocations: 238.8 kB / 467.6 MB, free: 3.145 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02395/0.3291, allocations: 9.507 MB / 477.1 MB, free: 9.617 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01222/0.3413, allocations: 3.456 MB / 480.5 MB, free: 6.152 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006406/0.3477, allocations: 1.867 MB / 482.4 MB, free: 4.289 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0185/0.3662, allocations: 12.37 MB / 494.8 MB, free: 7.879 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03586/0.4021, allocations: 16.03 MB / 0.4988 GB, free: 7.652 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01218/0.4143, allocations: 6.632 MB / 0.5053 GB, free: 1.004 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01331/0.4276, allocations: 7.308 MB / 0.5124 GB, free: 9.668 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00574/0.4333, allocations: 1.84 MB / 0.5142 GB, free: 7.828 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007561/0.4409, allocations: 2.234 MB / 0.5164 GB, free: 5.598 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006252/0.4471, allocations: 3.62 MB / 0.52 GB, free: 1.969 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01463/0.4617, allocations: 6.927 MB / 0.5267 GB, free: 11.01 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2852/0.7469, allocations: 24.81 MB / 0.5509 GB, free: 43.7 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.7469, allocations: 0 / 0.5509 GB, free: 43.7 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.554e-06/0.7469, allocations: 2.625 kB / 0.551 GB, free: 43.7 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0008562/0.7478, allocations: 2.219 kB / 0.551 GB, free: 43.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: 3035 * Number of variables: 3035 Notification: Performance of Generate backend data structure: time 0.05155/0.7993, allocations: 14.69 MB / 0.5653 GB, free: 37.34 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.7994, allocations: 9.438 kB / 0.5653 GB, free: 37.34 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007304/0.8067, allocations: 1.785 MB / 0.5671 GB, free: 36.93 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04638/0.8531, allocations: 8.441 MB / 0.5753 GB, free: 33.36 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01723/0.8703, allocations: 7.767 MB / 0.5829 GB, free: 28.58 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007329/0.871, allocations: 0.8001 MB / 0.5837 GB, free: 28.23 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005156/0.8762, allocations: 1.059 MB / 0.5847 GB, free: 27.49 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04635/0.9225, allocations: 18.34 MB / 0.6026 GB, free: 9.137 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004791/0.923, allocations: 23.28 kB / 0.6026 GB, free: 9.117 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004551/0.9276, allocations: 447.9 kB / 0.6031 GB, free: 8.695 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006001/0.9282, allocations: 0.6711 MB / 0.6037 GB, free: 8.023 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03989/0.968, allocations: 17.59 MB / 0.6209 GB, free: 6.426 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1166/1.085, allocations: 56.92 MB / 0.6765 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02475/1.109, allocations: 12.81 MB / 0.689 GB, free: 2.648 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008402/1.118, allocations: 3.747 MB / 0.6926 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006614/1.118, allocations: 158.7 kB / 0.6928 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.561e-05/1.119, allocations: 90.62 kB / 0.6929 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=518): time 7.283e-06/1.119, allocations: 0 / 0.6929 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of matching and sorting (n=524): time 0.05673/1.175, allocations: 21.45 MB / 0.7138 GB, free: 9.066 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/1.175, allocations: 111.5 kB / 0.7139 GB, free: 8.941 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008152/1.184, allocations: 4.187 MB / 0.718 GB, free: 4.73 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0009711/1.184, allocations: 109.7 kB / 0.7181 GB, free: 4.617 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003873/1.188, allocations: 4.67 MB / 0.7227 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.002744/1.191, allocations: 1.867 MB / 0.7245 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003445/1.195, allocations: 1.371 MB / 0.7258 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001277/1.195, allocations: 301.1 kB / 0.7261 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006804/1.201, allocations: 3.449 MB / 0.7295 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009374/1.211, allocations: 5.895 MB / 0.7353 GB, free: 2.008 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01646/1.227, allocations: 10.04 MB / 0.7451 GB, free: 7.125 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.98e-05/1.227, allocations: 20 kB / 0.7451 GB, free: 7.105 MB / 0.5762 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.2634/1.491, allocations: 10.96 MB / 0.7558 GB, free: 201.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.806e-05/1.491, allocations: 39.38 kB / 0.7558 GB, free: 201.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001392/1.491, allocations: 74.69 kB / 0.7559 GB, free: 201.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003839/1.495, allocations: 1.45 MB / 0.7573 GB, free: 201.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00611/1.501, allocations: 1.618 MB / 0.7589 GB, free: 201.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01558/1.517, allocations: 11.41 MB / 0.77 GB, free: 197.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005346/1.522, allocations: 409.6 kB / 0.7704 GB, free: 197.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001309/1.523, allocations: 340.9 kB / 0.7707 GB, free: 197.3 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.00736/1.531, allocations: 4.159 MB / 0.7748 GB, free: 195.4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001353/1.532, allocations: 498.4 kB / 0.7753 GB, free: 195.4 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01404/1.546, allocations: 8.439 MB / 0.7835 GB, free: 192.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01136/1.557, allocations: 7.079 MB / 0.7904 GB, free: 189.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.734e-05/1.557, allocations: 13.66 kB / 0.7905 GB, free: 189.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.658e-05/1.557, allocations: 28.08 kB / 0.7905 GB, free: 189.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03373/1.591, allocations: 18.82 MB / 0.8089 GB, free: 175 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.139e-05/1.591, allocations: 4 kB / 0.8089 GB, free: 175 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00416/1.595, allocations: 0.9442 MB / 0.8098 GB, free: 174 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003496/1.599, allocations: 1.303 MB / 0.8111 GB, free: 172.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00101/1.6, allocations: 112 kB / 0.8112 GB, free: 172.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01269/1.613, allocations: 10.1 MB / 0.821 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/1.613, allocations: 11.12 kB / 0.821 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01911/1.632, allocations: 12.29 MB / 0.833 GB, free: 150.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003518/1.635, allocations: 1.133 MB / 0.8341 GB, free: 149.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00142/1.637, allocations: 92.62 kB / 0.8342 GB, free: 149.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003261/1.64, allocations: 271.8 kB / 0.8345 GB, free: 148.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001137/1.641, allocations: 380.2 kB / 0.8349 GB, free: 148.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005026/1.642, allocations: 153.4 kB / 0.835 GB, free: 148.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004662/1.646, allocations: 2.819 MB / 0.8378 GB, free: 145.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2e-07/1.646, allocations: 0 / 0.8378 GB, free: 145.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.008447/1.655, allocations: 1.937 MB / 0.8396 GB, free: 143.5 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.01873/1.673, allocations: 13.05 MB / 0.8524 GB, free: 130.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01393/1.687, allocations: 8.402 MB / 0.8606 GB, free: 121.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/1.687, allocations: 5.938 kB / 0.8606 GB, free: 121.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.007015/1.694, allocations: 3.904 MB / 0.8644 GB, free: 117.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006466/1.701, allocations: 1.134 MB / 0.8655 GB, free: 116.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1051/1.806, allocations: 64.12 MB / 0.9281 GB, free: 49.71 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01058/1.816, allocations: 7.005 MB / 0.935 GB, free: 42.66 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.006486/1.823, allocations: 2.325 MB / 0.9373 GB, free: 40.33 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006543/1.829, allocations: 3.885 MB / 0.941 GB, free: 36.44 MB / 0.5762 GB Notification: Performance of SimCode: time 1.302e-06/1.829, allocations: 4 kB / 0.941 GB, free: 36.44 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4306/2.26, allocations: 157 MB / 1.094 GB, free: 115.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.61/24.87, allocations: 10.94 kB / 1.094 GB, free: 115.7 MB / 0.5762 GB " [Timeout remaining time 635] (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 & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_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_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: 27.490919281728566] Failed to read output from testmodel.py, exit status != 0: ['time', 'resistor.plug_p.reference.gamma', 'speed.phi'] 25.04154018498957 25.050387777 24.300755417 Calling exit ...