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.001391/0.001391, allocations: 106.5 kB / 19.74 MB, free: 2.453 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.001631/0.001631, allocations: 218.8 kB / 22.92 MB, free: 5.195 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.262/1.262, allocations: 230.5 MB / 256.4 MB, free: 8.281 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.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.001899/0.001899, allocations: 67.83 kB / 376.1 MB, free: 4.066 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2091/0.211, allocations: 53.32 MB / 429.4 MB, free: 7.441 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02548/0.2364, allocations: 24.94 MB / 454.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01327/0.2497, allocations: 7.496 MB / 461.9 MB, free: 6.871 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003244/0.2529, allocations: 187.4 kB / 462.1 MB, free: 6.688 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01814/0.2711, allocations: 8.862 MB / 470.9 MB, free: 13.8 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008511/0.2796, allocations: 2.968 MB / 473.9 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004631/0.2842, allocations: 1.747 MB / 475.6 MB, free: 9.082 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0137/0.2979, allocations: 10.86 MB / 486.5 MB, free: 14.19 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02285/0.3208, allocations: 13.46 MB / 500 MB, free: 0.5898 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007308/0.3281, allocations: 5.751 MB / 0.4939 GB, free: 10.82 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009197/0.3373, allocations: 6.362 MB / 0.5001 GB, free: 4.441 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003462/0.3407, allocations: 1.668 MB / 0.5017 GB, free: 2.773 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004971/0.3457, allocations: 2.058 MB / 0.5037 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003469/0.3492, allocations: 3.16 MB / 0.5068 GB, free: 13.55 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008055/0.3572, allocations: 6.087 MB / 0.5127 GB, free: 7.438 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02411/0.3813, allocations: 22.4 MB / 0.5346 GB, free: 0.9648 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.3814, allocations: 3.938 kB / 0.5346 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3814, allocations: 0 / 0.5346 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003786/0.3817, allocations: 0 / 0.5346 GB, free: 0.9609 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.2041/0.5859, allocations: 12.96 MB / 0.5473 GB, free: 86.86 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.5859, allocations: 7.938 kB / 0.5473 GB, free: 86.86 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002825/0.5887, allocations: 1.551 MB / 0.5488 GB, free: 85.88 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03035/0.6191, allocations: 6.18 MB / 0.5548 GB, free: 82.42 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01062/0.6297, allocations: 6.936 MB / 0.5616 GB, free: 75.47 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003649/0.6301, allocations: 0.7018 MB / 0.5623 GB, free: 74.78 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002492/0.6326, allocations: 0.9213 MB / 0.5632 GB, free: 73.87 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02168/0.6542, allocations: 15.79 MB / 0.5786 GB, free: 58.04 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001707/0.6544, allocations: 7.953 kB / 0.5786 GB, free: 58.04 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009673/0.6554, allocations: 388.8 kB / 0.579 GB, free: 57.66 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003238/0.6557, allocations: 0.5547 MB / 0.5795 GB, free: 57.11 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01915/0.6748, allocations: 14.81 MB / 0.594 GB, free: 42.27 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05761/0.7325, allocations: 52.2 MB / 0.645 GB, free: 4.789 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02422/0.7567, allocations: 26.11 MB / 0.6705 GB, free: 7.629 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004743/0.7614, allocations: 2.925 MB / 0.6733 GB, free: 4.699 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003907/0.7618, allocations: 277.2 kB / 0.6736 GB, free: 4.391 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.07e-05/0.7619, allocations: 73.69 kB / 0.6737 GB, free: 4.309 MB / 494.1 MB Notification: Performance of pre-optimization done (n=398): time 5.25e-06/0.7619, allocations: 0 / 0.6737 GB, free: 4.309 MB / 494.1 MB Notification: Performance of matching and sorting (n=404): time 0.03689/0.7988, allocations: 17.42 MB / 0.6907 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.541e-05/0.7988, allocations: 90.58 kB / 0.6908 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005771/0.8046, allocations: 3.701 MB / 0.6944 GB, free: 15 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003225/0.8049, allocations: 89.7 kB / 0.6945 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002714/0.8076, allocations: 4.13 MB / 0.6985 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001243/0.8089, allocations: 1.445 MB / 0.6999 GB, free: 9.277 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001678/0.8106, allocations: 1.156 MB / 0.701 GB, free: 8.109 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.8107, allocations: 305.1 kB / 0.7013 GB, free: 7.809 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004093/0.8148, allocations: 2.799 MB / 0.7041 GB, free: 5.004 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005577/0.8203, allocations: 4.961 MB / 0.7089 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01054/0.8309, allocations: 8.33 MB / 0.717 GB, free: 5.719 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-05/0.8309, allocations: 20 kB / 0.717 GB, free: 5.699 MB / 0.5294 GB Notification: Performance of matching and sorting (n=752) (initialization): time 0.01473/0.8457, allocations: 9.102 MB / 0.7259 GB, free: 12.57 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.039e-05/0.8457, allocations: 36.53 kB / 0.726 GB, free: 12.54 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.109e-05/0.8458, allocations: 72 kB / 0.726 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003216/0.849, allocations: 1.227 MB / 0.7272 GB, free: 11.23 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004135/0.8531, allocations: 1.322 MB / 0.7285 GB, free: 9.91 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01488/0.868, allocations: 9.923 MB / 0.7382 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004015/0.872, allocations: 335.5 kB / 0.7385 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006834/0.8727, allocations: 291.9 kB / 0.7388 GB, free: 15.23 MB / 0.5606 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.005844/0.8786, allocations: 3.715 MB / 0.7424 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008682/0.8794, allocations: 425.2 kB / 0.7429 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01137/0.8908, allocations: 6.662 MB / 0.7494 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.3483/1.239, allocations: 5.575 MB / 0.7548 GB, free: 193.9 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.986e-05/1.239, allocations: 10.22 kB / 0.7548 GB, free: 193.9 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.863e-05/1.239, allocations: 20.62 kB / 0.7548 GB, free: 193.9 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01939/1.259, allocations: 15.76 MB / 0.7702 GB, free: 188.7 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.368e-05/1.259, allocations: 3.906 kB / 0.7702 GB, free: 188.7 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002387/1.261, allocations: 0.7245 MB / 0.7709 GB, free: 188.6 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002557/1.264, allocations: 1.112 MB / 0.772 GB, free: 188.4 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000206/1.264, allocations: 101.7 kB / 0.7721 GB, free: 188.4 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009801/1.274, allocations: 8.852 MB / 0.7808 GB, free: 183.6 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/1.274, allocations: 3.812 kB / 0.7808 GB, free: 183.6 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01146/1.285, allocations: 9.855 MB / 0.7904 GB, free: 179.5 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001548/1.287, allocations: 0.9827 MB / 0.7913 GB, free: 179.2 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004504/1.287, allocations: 78.5 kB / 0.7914 GB, free: 179.1 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001757/1.289, allocations: 198.4 kB / 0.7916 GB, free: 179 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004738/1.289, allocations: 293.4 kB / 0.7919 GB, free: 179 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001999/1.289, allocations: 121.7 kB / 0.792 GB, free: 179 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.002612/1.292, allocations: 2.498 MB / 0.7944 GB, free: 176.9 MB / 0.5607 GB Notification: Performance of sort global known variables: time 1e-07/1.292, allocations: 0 / 0.7944 GB, free: 176.9 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.004152/1.296, allocations: 1.609 MB / 0.796 GB, free: 175.3 MB / 0.5607 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.01101/1.307, allocations: 10.59 MB / 0.8064 GB, free: 165.5 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.008336/1.316, allocations: 6.866 MB / 0.8131 GB, free: 158.6 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 5.77e-06/1.316, allocations: 4 kB / 0.8131 GB, free: 158.6 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.00422/1.32, allocations: 3.177 MB / 0.8162 GB, free: 155.4 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003715/1.323, allocations: 0.9762 MB / 0.8171 GB, free: 154.5 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05871/1.382, allocations: 54.4 MB / 0.8703 GB, free: 97.58 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003969/1.386, allocations: 6.194 MB / 0.8763 GB, free: 91.34 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.003462/1.39, allocations: 1.919 MB / 0.8782 GB, free: 89.41 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003004/1.393, allocations: 3.319 MB / 0.8814 GB, free: 86.09 MB / 0.5607 GB Notification: Performance of SimCode: time 7.22e-07/1.393, allocations: 0 / 0.8814 GB, free: 86.09 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3214/1.714, allocations: 129 MB / 1.007 GB, free: 166.5 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.85/18.56, allocations: 4.062 kB / 1.007 GB, free: 166.5 MB / 0.5607 GB " [Timeout remaining time 641] (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 --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: 20.90119825200236]