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.001466/0.001466, allocations: 105.8 kB / 19.74 MB, free: 2.566 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.001649/0.001649, allocations: 218.4 kB / 22.92 MB, free: 5.535 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.277/1.277, allocations: 230.5 MB / 256.4 MB, free: 8.422 MB / 206.1 MB " [Timeout remaining time 179] 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.00177/0.00177, allocations: 68.06 kB / 376.1 MB, free: 4.051 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1927/0.1945, allocations: 53.32 MB / 429.4 MB, free: 7.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.02759/0.2221, allocations: 27.16 MB / 456.6 MB, free: 12.25 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0145/0.2366, allocations: 8.196 MB / 464.8 MB, free: 4.027 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003207/0.2398, allocations: 195.4 kB / 465 MB, free: 3.836 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01934/0.2591, allocations: 9.472 MB / 474.5 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00984/0.269, allocations: 3.37 MB / 477.8 MB, free: 6.965 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004907/0.2739, allocations: 1.833 MB / 479.7 MB, free: 5.137 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01475/0.2886, allocations: 12.29 MB / 492 MB, free: 8.812 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02314/0.3118, allocations: 15 MB / 0.4951 GB, free: 9.629 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009029/0.3208, allocations: 6.495 MB / 0.5014 GB, free: 3.117 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01156/0.3324, allocations: 7.3 MB / 0.5085 GB, free: 11.79 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004164/0.3365, allocations: 1.84 MB / 0.5103 GB, free: 9.953 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005368/0.3419, allocations: 2.226 MB / 0.5125 GB, free: 7.727 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004178/0.3461, allocations: 3.612 MB / 0.516 GB, free: 4.105 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01036/0.3564, allocations: 6.926 MB / 0.5228 GB, free: 13.15 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2023/0.5587, allocations: 24.82 MB / 0.547 GB, free: 42.98 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.5587, allocations: 3.031 kB / 0.547 GB, free: 42.98 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.5587, allocations: 0 / 0.547 GB, free: 42.98 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004826/0.5592, allocations: 0 / 0.547 GB, free: 42.98 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.03526/0.5945, allocations: 14.77 MB / 0.5615 GB, free: 36.92 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.5945, allocations: 9.781 kB / 0.5615 GB, free: 36.92 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003533/0.598, allocations: 1.785 MB / 0.5632 GB, free: 36.5 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04124/0.6393, allocations: 8.438 MB / 0.5715 GB, free: 33.23 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01255/0.6518, allocations: 7.688 MB / 0.579 GB, free: 28.33 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004138/0.6522, allocations: 0.8021 MB / 0.5797 GB, free: 27.97 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00307/0.6553, allocations: 1.059 MB / 0.5808 GB, free: 27.62 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0284/0.6837, allocations: 18.34 MB / 0.5987 GB, free: 9.535 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002132/0.6839, allocations: 19.91 kB / 0.5987 GB, free: 9.516 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001467/0.6854, allocations: 452.5 kB / 0.5991 GB, free: 9.094 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004225/0.6858, allocations: 0.675 MB / 0.5998 GB, free: 8.418 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02877/0.7146, allocations: 17.58 MB / 0.617 GB, free: 6.824 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09178/0.8064, allocations: 59.38 MB / 0.675 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03221/0.8386, allocations: 36.97 MB / 0.7111 GB, free: 1.922 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006023/0.8446, allocations: 3.756 MB / 0.7147 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000453/0.8451, allocations: 299.6 kB / 0.715 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.93e-05/0.8451, allocations: 92.81 kB / 0.7151 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=518): time 6.963e-06/0.8451, allocations: 4 kB / 0.7151 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of matching and sorting (n=524): time 0.04623/0.8914, allocations: 21.61 MB / 0.7362 GB, free: 7.969 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.405e-05/0.8914, allocations: 103.5 kB / 0.7363 GB, free: 7.852 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005956/0.8974, allocations: 4.187 MB / 0.7404 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0006262/0.898, allocations: 109.7 kB / 0.7405 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.00312/0.9011, allocations: 4.675 MB / 0.7451 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001779/0.9029, allocations: 1.859 MB / 0.7469 GB, free: 13 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001996/0.9049, allocations: 1.375 MB / 0.7482 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.905, allocations: 301.1 kB / 0.7485 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005104/0.9101, allocations: 3.453 MB / 0.7519 GB, free: 7.867 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006943/0.9171, allocations: 5.887 MB / 0.7576 GB, free: 0.9219 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2018/1.119, allocations: 10.04 MB / 0.7674 GB, free: 217.1 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.182e-05/1.119, allocations: 23.25 kB / 0.7675 GB, free: 217.1 MB / 0.5919 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.01427/1.133, allocations: 10.96 MB / 0.7781 GB, free: 213 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.957e-05/1.133, allocations: 39.59 kB / 0.7782 GB, free: 213 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001277/1.133, allocations: 80.36 kB / 0.7783 GB, free: 213 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003407/1.137, allocations: 1.447 MB / 0.7797 GB, free: 212.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004867/1.142, allocations: 1.626 MB / 0.7813 GB, free: 212.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01282/1.155, allocations: 11.48 MB / 0.7925 GB, free: 206.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004439/1.159, allocations: 415.2 kB / 0.7929 GB, free: 206.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006456/1.16, allocations: 340.3 kB / 0.7932 GB, free: 206.4 MB / 0.5919 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.00509/1.165, allocations: 4.161 MB / 0.7973 GB, free: 204.4 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009789/1.166, allocations: 0.4886 MB / 0.7977 GB, free: 204.4 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01155/1.177, allocations: 8.441 MB / 0.806 GB, free: 197.3 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008593/1.186, allocations: 7.076 MB / 0.8129 GB, free: 191.1 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.514e-05/1.186, allocations: 15.94 kB / 0.8129 GB, free: 191.1 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-05/1.186, allocations: 25.08 kB / 0.8129 GB, free: 191.1 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02239/1.208, allocations: 18.77 MB / 0.8313 GB, free: 174.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.424e-05/1.208, allocations: 4 kB / 0.8313 GB, free: 174.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003102/1.211, allocations: 0.9494 MB / 0.8322 GB, free: 173.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002924/1.214, allocations: 1.293 MB / 0.8335 GB, free: 172.1 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002619/1.215, allocations: 116 kB / 0.8336 GB, free: 171.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01069/1.225, allocations: 10.2 MB / 0.8435 GB, free: 161.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/1.225, allocations: 4 kB / 0.8435 GB, free: 161.7 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01346/1.239, allocations: 12.29 MB / 0.8555 GB, free: 149.2 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001955/1.241, allocations: 1.177 MB / 0.8567 GB, free: 148 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006723/1.241, allocations: 95.94 kB / 0.8568 GB, free: 148 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002268/1.244, allocations: 271.8 kB / 0.857 GB, free: 147.7 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000572/1.244, allocations: 352.4 kB / 0.8574 GB, free: 147.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002637/1.244, allocations: 156 kB / 0.8575 GB, free: 147.2 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002907/1.247, allocations: 2.815 MB / 0.8603 GB, free: 144.4 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.31e-07/1.247, allocations: 0 / 0.8603 GB, free: 144.4 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.004755/1.252, allocations: 1.937 MB / 0.8622 GB, free: 142.4 MB / 0.5919 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.01355/1.266, allocations: 13.05 MB / 0.8749 GB, free: 129.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01009/1.276, allocations: 8.4 MB / 0.8831 GB, free: 120.7 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/1.276, allocations: 4 kB / 0.8831 GB, free: 120.7 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004862/1.281, allocations: 3.918 MB / 0.8869 GB, free: 116.8 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00414/1.285, allocations: 1.124 MB / 0.888 GB, free: 115.7 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07257/1.357, allocations: 64.12 MB / 0.9507 GB, free: 48.6 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005301/1.363, allocations: 7.009 MB / 0.9575 GB, free: 41.55 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004692/1.367, allocations: 2.313 MB / 0.9598 GB, free: 39.23 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004159/1.371, allocations: 3.893 MB / 0.9636 GB, free: 35.33 MB / 0.5919 GB Notification: Performance of SimCode: time 9.62e-07/1.371, allocations: 1.422 kB / 0.9636 GB, free: 35.33 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3611/1.733, allocations: 151.4 MB / 1.111 GB, free: 98.38 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.75/20.48, allocations: 7.875 kB / 1.111 GB, free: 98.37 MB / 0.5919 GB " [Timeout remaining time 639] (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 --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: 22.92264966700168]