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_withLosses.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.001405/0.001405, allocations: 109.7 kB / 19.74 MB, free: 2.586 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.001512/0.001512, allocations: 222.1 kB / 22.92 MB, free: 5.555 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.272/1.272, allocations: 230.4 MB / 256.4 MB, free: 8.277 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_withLosses,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses",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.001766/0.001766, allocations: 75.77 kB / 376.1 MB, free: 4.117 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2043/0.2061, allocations: 53.32 MB / 429.5 MB, free: 7.426 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.02635/0.2325, allocations: 25.04 MB / 454.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0144/0.2469, allocations: 8.114 MB / 462.6 MB, free: 6.125 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003101/0.25, allocations: 179.5 kB / 462.8 MB, free: 5.949 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01736/0.2673, allocations: 8.453 MB / 471.2 MB, free: 13.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008891/0.2762, allocations: 3.078 MB / 474.3 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004865/0.2811, allocations: 1.842 MB / 476.2 MB, free: 8.555 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0136/0.2947, allocations: 11.24 MB / 487.4 MB, free: 13.28 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02291/0.3176, allocations: 13.89 MB / 0.4896 GB, free: 15.22 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008368/0.326, allocations: 5.95 MB / 0.4954 GB, free: 9.258 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01034/0.3363, allocations: 6.557 MB / 0.5018 GB, free: 2.68 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003887/0.3402, allocations: 1.715 MB / 0.5034 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005581/0.3458, allocations: 2.14 MB / 0.5055 GB, free: 14.82 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004286/0.3501, allocations: 3.414 MB / 0.5089 GB, free: 11.4 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008506/0.3586, allocations: 6.362 MB / 0.5151 GB, free: 5.016 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3644/0.723, allocations: 23.19 MB / 0.5377 GB, free: 39.95 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.723, allocations: 0.5938 kB / 0.5377 GB, free: 39.95 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.723, allocations: 0 / 0.5377 GB, free: 39.95 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004478/0.7234, allocations: 0.5 kB / 0.5377 GB, free: 39.95 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: 2685 * Number of variables: 2685 Notification: Performance of Generate backend data structure: time 0.03392/0.7573, allocations: 13.65 MB / 0.5511 GB, free: 36.22 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.7574, allocations: 9.375 kB / 0.5511 GB, free: 36.22 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004789/0.7622, allocations: 1.615 MB / 0.5526 GB, free: 36.08 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03189/0.794, allocations: 6.253 MB / 0.5588 GB, free: 35.46 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01216/0.8062, allocations: 7.302 MB / 0.5659 GB, free: 33.84 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005622/0.8068, allocations: 0.7194 MB / 0.5666 GB, free: 33.52 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00347/0.8102, allocations: 0.9521 MB / 0.5675 GB, free: 33.21 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03055/0.8408, allocations: 16.19 MB / 0.5833 GB, free: 20.09 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002315/0.841, allocations: 23.69 kB / 0.5833 GB, free: 20.07 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002058/0.8431, allocations: 400.8 kB / 0.5837 GB, free: 19.69 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003431/0.8434, allocations: 0.5632 MB / 0.5843 GB, free: 19.12 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02272/0.8661, allocations: 15.15 MB / 0.5991 GB, free: 3.949 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.078/0.9441, allocations: 52.73 MB / 0.6506 GB, free: 14.95 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0193/0.9634, allocations: 19.69 MB / 0.6698 GB, free: 9.309 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005322/0.9688, allocations: 3.327 MB / 0.673 GB, free: 5.977 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004011/0.9692, allocations: 291.6 kB / 0.6733 GB, free: 5.68 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.956e-05/0.9692, allocations: 82.06 kB / 0.6734 GB, free: 5.59 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=447): time 5.691e-06/0.9692, allocations: 0 / 0.6734 GB, free: 5.59 MB / 0.5138 GB Notification: Performance of matching and sorting (n=452): time 0.04941/1.019, allocations: 20.78 MB / 0.6937 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.856e-05/1.019, allocations: 101.1 kB / 0.6938 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006416/1.025, allocations: 4.523 MB / 0.6982 GB, free: 12.16 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.000722/1.026, allocations: 93.7 kB / 0.6983 GB, free: 12.06 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003063/1.029, allocations: 4.357 MB / 0.7026 GB, free: 7.691 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0018/1.031, allocations: 1.612 MB / 0.7041 GB, free: 6.098 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001926/1.033, allocations: 1.208 MB / 0.7053 GB, free: 4.879 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001119/1.033, allocations: 301.1 kB / 0.7056 GB, free: 4.582 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004659/1.037, allocations: 3.069 MB / 0.7086 GB, free: 1.508 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006269/1.044, allocations: 5.216 MB / 0.7137 GB, free: 11.35 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01236/1.056, allocations: 8.89 MB / 0.7224 GB, free: 1.777 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.737e-05/1.056, allocations: 20 kB / 0.7224 GB, free: 1.758 MB / 0.5607 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.01735/1.073, allocations: 9.874 MB / 0.732 GB, free: 8.312 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 5.71e-05/1.074, allocations: 32 kB / 0.7321 GB, free: 8.281 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001127/1.074, allocations: 68 kB / 0.7321 GB, free: 8.215 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003717/1.077, allocations: 1.403 MB / 0.7335 GB, free: 6.812 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005078/1.082, allocations: 1.391 MB / 0.7349 GB, free: 5.516 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01796/1.1, allocations: 12.68 MB / 0.7472 GB, free: 8.637 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004437/1.105, allocations: 355.6 kB / 0.7476 GB, free: 8.289 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00078/1.106, allocations: 296 kB / 0.7479 GB, free: 8 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 313 * 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 (720): * Single equations (assignments): 717 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (14,54,45.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006653/1.112, allocations: 3.895 MB / 0.7517 GB, free: 4.184 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001145/1.113, allocations: 480.9 kB / 0.7521 GB, free: 3.711 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.193/1.306, allocations: 8.474 MB / 0.7604 GB, free: 225.7 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008377/1.315, allocations: 6.23 MB / 0.7665 GB, free: 223.8 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.64e-05/1.315, allocations: 11.81 kB / 0.7665 GB, free: 223.8 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.289e-05/1.315, allocations: 25.5 kB / 0.7665 GB, free: 223.8 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02149/1.336, allocations: 17.41 MB / 0.7835 GB, free: 216.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.548e-05/1.336, allocations: 5.625 kB / 0.7835 GB, free: 216.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002796/1.339, allocations: 0.8144 MB / 0.7843 GB, free: 216.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002915/1.342, allocations: 1.289 MB / 0.7856 GB, free: 216.4 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002409/1.342, allocations: 107.8 kB / 0.7857 GB, free: 216.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01169/1.354, allocations: 11.57 MB / 0.797 GB, free: 208.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/1.354, allocations: 12 kB / 0.797 GB, free: 208.2 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0131/1.367, allocations: 11.21 MB / 0.8079 GB, free: 198.4 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001874/1.369, allocations: 1.122 MB / 0.809 GB, free: 197.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000542/1.369, allocations: 88 kB / 0.8091 GB, free: 197.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002052/1.372, allocations: 235.7 kB / 0.8093 GB, free: 197.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005376/1.372, allocations: 330.5 kB / 0.8097 GB, free: 196.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002323/1.372, allocations: 146.6 kB / 0.8098 GB, free: 196.7 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.003212/1.376, allocations: 3.115 MB / 0.8128 GB, free: 193.6 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4.01e-07/1.376, allocations: 0 / 0.8128 GB, free: 193.6 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.004605/1.38, allocations: 1.731 MB / 0.8145 GB, free: 191.9 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 4 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,PIQS.x) * 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 (417): * Single equations (assignments): 414 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (14,54,43.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01432/1.394, allocations: 12.22 MB / 0.8265 GB, free: 180 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.009979/1.404, allocations: 7.677 MB / 0.834 GB, free: 172.3 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/1.404, allocations: 0 / 0.834 GB, free: 172.3 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004875/1.409, allocations: 3.695 MB / 0.8376 GB, free: 168.6 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004221/1.414, allocations: 1.055 MB / 0.8386 GB, free: 167.5 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06868/1.482, allocations: 60.92 MB / 0.8981 GB, free: 104.1 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004644/1.487, allocations: 6.517 MB / 0.9045 GB, free: 97.54 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004281/1.491, allocations: 2.116 MB / 0.9065 GB, free: 95.41 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00439/1.496, allocations: 3.584 MB / 0.91 GB, free: 91.83 MB / 0.5919 GB Notification: Performance of SimCode: time 2.184e-06/1.496, allocations: 0 / 0.91 GB, free: 91.83 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3541/1.85, allocations: 141.4 MB / 1.048 GB, free: 188.4 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.83/20.68, allocations: 9.281 kB / 1.048 GB, free: 188.4 MB / 0.5919 GB " [Timeout remaining time 639] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 23.355429899995215]