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.001835/0.001835, allocations: 117.3 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.002249/0.002249, 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.417/1.417, allocations: 230.4 MB / 254.7 MB, free: 15 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.001941/0.001941, allocations: 71.88 kB / 373.6 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1133, allocations: 53.31 MB / 426.9 MB, free: 4.816 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.2398/0.3531, allocations: 27.11 MB / 454 MB, free: 10.49 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02332/0.3764, allocations: 8.175 MB / 462.2 MB, free: 4.691 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008568/0.385, allocations: 201.2 kB / 462.4 MB, free: 4.652 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02405/0.409, allocations: 9.486 MB / 471.9 MB, free: 14.61 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01255/0.4216, allocations: 3.368 MB / 475.3 MB, free: 11.94 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006714/0.4283, allocations: 1.842 MB / 477.1 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01923/0.4475, allocations: 12.24 MB / 489.3 MB, free: 2.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0378/0.4853, allocations: 18.65 MB / 0.4961 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01331/0.4986, allocations: 6.48 MB / 0.5024 GB, free: 9.328 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01409/0.5127, allocations: 7.289 MB / 0.5095 GB, free: 2.016 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005863/0.5186, allocations: 1.84 MB / 0.5113 GB, free: 180 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008299/0.5269, allocations: 2.222 MB / 0.5135 GB, free: 13.95 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007006/0.5339, allocations: 3.62 MB / 0.517 GB, free: 10.32 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01457/0.5485, allocations: 6.926 MB / 0.5238 GB, free: 3.371 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03264/0.5811, allocations: 24.81 MB / 0.548 GB, free: 10.48 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.5811, allocations: 0 / 0.548 GB, free: 10.48 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.988e-06/0.5811, allocations: 8 kB / 0.548 GB, free: 10.47 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0006224/0.5817, allocations: 0 / 0.548 GB, free: 10.47 MB / 462.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.04753/0.6293, allocations: 14.77 MB / 0.5625 GB, free: 11.59 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/0.6293, allocations: 8.031 kB / 0.5625 GB, free: 11.58 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006332/0.6357, allocations: 1.792 MB / 0.5642 GB, free: 9.773 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04805/0.6837, allocations: 8.429 MB / 0.5724 GB, free: 1.328 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02007/0.7038, allocations: 7.697 MB / 0.58 GB, free: 9.547 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009962/0.7048, allocations: 0.8029 MB / 0.5807 GB, free: 8.742 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004514/0.7093, allocations: 1.062 MB / 0.5818 GB, free: 7.68 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04577/0.7551, allocations: 18.34 MB / 0.5997 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005201/0.7556, allocations: 15.88 kB / 0.5997 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003518/0.7591, allocations: 455.9 kB / 0.6001 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000887/0.76, allocations: 0.6711 MB / 0.6008 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03969/0.7997, allocations: 17.58 MB / 0.618 GB, free: 2.555 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4966/1.296, allocations: 59.37 MB / 0.6759 GB, free: 108.8 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02267/1.319, allocations: 36.98 MB / 0.7121 GB, free: 73.33 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005377/1.324, allocations: 3.748 MB / 0.7157 GB, free: 71.35 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004592/1.325, allocations: 317.7 kB / 0.716 GB, free: 71.11 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.091e-05/1.325, allocations: 82.09 kB / 0.7161 GB, free: 71.03 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=518): time 8.155e-06/1.325, allocations: 0 / 0.7161 GB, free: 71.03 MB / 0.5138 GB Notification: Performance of matching and sorting (n=524): time 0.03971/1.365, allocations: 21.6 MB / 0.7372 GB, free: 52.34 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/1.365, allocations: 111.5 kB / 0.7373 GB, free: 52.21 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004815/1.369, allocations: 4.179 MB / 0.7414 GB, free: 48.06 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0006542/1.37, allocations: 113.7 kB / 0.7415 GB, free: 47.94 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.001838/1.372, allocations: 4.673 MB / 0.7461 GB, free: 43.86 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001347/1.373, allocations: 1.868 MB / 0.7479 GB, free: 42.02 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001661/1.375, allocations: 1.371 MB / 0.7492 GB, free: 40.64 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 3.912e-05/1.375, allocations: 305.1 kB / 0.7495 GB, free: 40.34 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003999/1.379, allocations: 3.449 MB / 0.7529 GB, free: 36.89 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005112/1.384, allocations: 5.891 MB / 0.7586 GB, free: 29.9 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01017/1.394, allocations: 10.04 MB / 0.7684 GB, free: 18.7 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-05/1.394, allocations: 24 kB / 0.7685 GB, free: 18.67 MB / 0.5138 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.01509/1.409, allocations: 10.96 MB / 0.7792 GB, free: 7.625 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 6.718e-05/1.409, allocations: 40 kB / 0.7792 GB, free: 7.586 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001067/1.41, allocations: 76 kB / 0.7793 GB, free: 7.512 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003344/1.413, allocations: 1.449 MB / 0.7807 GB, free: 6.062 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005414/1.418, allocations: 1.622 MB / 0.7823 GB, free: 4.438 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01634/1.435, allocations: 11.49 MB / 0.7935 GB, free: 8.816 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005101/1.44, allocations: 407.4 kB / 0.7939 GB, free: 8.418 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001274/1.441, allocations: 339.9 kB / 0.7942 GB, free: 8.086 MB / 0.5294 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.008135/1.449, allocations: 4.169 MB / 0.7983 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001307/1.45, allocations: 0.493 MB / 0.7987 GB, free: 3.406 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01559/1.466, allocations: 8.44 MB / 0.807 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01206/1.478, allocations: 7.068 MB / 0.8139 GB, free: 3.695 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.377e-05/1.478, allocations: 12 kB / 0.8139 GB, free: 3.684 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.763e-05/1.478, allocations: 31.89 kB / 0.8139 GB, free: 3.652 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03609/1.514, allocations: 18.77 MB / 0.8323 GB, free: 0.8086 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-05/1.514, allocations: 4 kB / 0.8323 GB, free: 0.8047 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.2533/1.768, allocations: 0.9344 MB / 0.8332 GB, free: 181.8 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003861/1.772, allocations: 1.305 MB / 0.8345 GB, free: 181.7 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009401/1.772, allocations: 115.2 kB / 0.8346 GB, free: 181.7 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01413/1.787, allocations: 10.18 MB / 0.8445 GB, free: 178.8 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/1.787, allocations: 4.594 kB / 0.8445 GB, free: 178.8 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02023/1.807, allocations: 12.29 MB / 0.8565 GB, free: 173.9 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003628/1.81, allocations: 1.187 MB / 0.8577 GB, free: 173.4 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008575/1.811, allocations: 94.38 kB / 0.8578 GB, free: 173.4 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002521/1.814, allocations: 270.6 kB / 0.858 GB, free: 173.3 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007652/1.815, allocations: 354.6 kB / 0.8584 GB, free: 173.2 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003049/1.815, allocations: 157.6 kB / 0.8585 GB, free: 173.2 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.004083/1.819, allocations: 2.819 MB / 0.8613 GB, free: 172.2 MB / 0.5607 GB Notification: Performance of sort global known variables: time 3.81e-07/1.819, allocations: 0 / 0.8613 GB, free: 172.2 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.006963/1.826, allocations: 1.93 MB / 0.8631 GB, free: 172 MB / 0.5607 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.0166/1.843, allocations: 13.06 MB / 0.8759 GB, free: 166.2 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01168/1.854, allocations: 8.397 MB / 0.8841 GB, free: 162.6 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/1.854, allocations: 0 / 0.8841 GB, free: 162.6 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.006331/1.861, allocations: 3.908 MB / 0.8879 GB, free: 159.2 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005517/1.866, allocations: 1.129 MB / 0.889 GB, free: 158.3 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09251/1.959, allocations: 63.97 MB / 0.9515 GB, free: 94.19 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006108/1.965, allocations: 7.013 MB / 0.9583 GB, free: 87.13 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.005443/1.97, allocations: 2.313 MB / 0.9606 GB, free: 84.81 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005392/1.976, allocations: 3.893 MB / 0.9644 GB, free: 80.92 MB / 0.5607 GB Notification: Performance of SimCode: time 1.473e-06/1.976, allocations: 0 / 0.9644 GB, free: 80.92 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4181/2.394, allocations: 150.7 MB / 1.112 GB, free: 140.2 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.69/24.08, allocations: 8.484 kB / 1.112 GB, free: 140.2 MB / 0.5607 GB " [Timeout remaining time 636] (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: 26.777132746763527] Failed to read output from testmodel.py, exit status != 0: ['time', 'resistor.plug_p.reference.gamma', 'speed.phi'] 24.24432865343988 24.25658527 23.672602821 Calling exit ...