Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.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.001431/0.001431, allocations: 105.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.00162/0.00162, allocations: 222.4 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.286/1.286, allocations: 230.5 MB / 256.4 MB, free: 8.262 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.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_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.001795/0.001795, allocations: 71.83 kB / 376.1 MB, free: 4.043 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2067/0.2085, allocations: 53.31 MB / 429.4 MB, free: 7.438 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01565/0.2242, allocations: 14.4 MB / 443.8 MB, free: 8.973 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008983/0.2331, allocations: 5.401 MB / 449.2 MB, free: 3.555 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001368/0.2345, allocations: 83.69 kB / 449.3 MB, free: 3.473 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002422/0.2369, allocations: 1.099 MB / 450.4 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003714/0.2406, allocations: 1.468 MB / 451.9 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002277/0.2429, allocations: 1.033 MB / 452.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005013/0.2479, allocations: 4.358 MB / 457.3 MB, free: 11.49 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002386/0.2503, allocations: 1.865 MB / 459.1 MB, free: 9.551 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002776/0.2531, allocations: 2.029 MB / 461.2 MB, free: 7.516 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003953/0.257, allocations: 2.441 MB / 463.6 MB, free: 5.066 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001232/0.2583, allocations: 0.5352 MB / 464.1 MB, free: 4.531 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002115/0.2604, allocations: 0.9291 MB / 465.1 MB, free: 3.602 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001311/0.2617, allocations: 1.391 MB / 466.5 MB, free: 2.207 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0029/0.2646, allocations: 2.361 MB / 468.8 MB, free: 15.83 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007846/0.2725, allocations: 7.413 MB / 476.2 MB, free: 8.398 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2725, allocations: 4 kB / 476.2 MB, free: 8.395 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.2725, allocations: 4 kB / 476.2 MB, free: 8.391 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.584e-05/0.2726, allocations: 0 / 476.2 MB, free: 8.391 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 877 * Number of variables: 877 Notification: Performance of Generate backend data structure: time 0.01048/0.283, allocations: 5.132 MB / 481.4 MB, free: 3.176 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.2831, allocations: 12.02 kB / 481.4 MB, free: 3.164 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007776/0.2839, allocations: 0.5461 MB / 481.9 MB, free: 2.605 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004283/0.2881, allocations: 0.9116 MB / 482.8 MB, free: 1.691 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004487/0.2926, allocations: 2.84 MB / 485.7 MB, free: 14.78 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001882/0.2928, allocations: 258.8 kB / 485.9 MB, free: 14.52 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005012/0.2933, allocations: 343.8 kB / 486.3 MB, free: 14.19 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007073/0.3004, allocations: 4.584 MB / 490.9 MB, free: 9.559 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.31e-05/0.3005, allocations: 7.953 kB / 490.9 MB, free: 9.551 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003227/0.3008, allocations: 140 kB / 491 MB, free: 9.414 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001674/0.3009, allocations: 162.7 kB / 491.2 MB, free: 9.254 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006552/0.3075, allocations: 3.938 MB / 495.1 MB, free: 5.309 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02039/0.3279, allocations: 14.11 MB / 0.4973 GB, free: 6.898 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00798/0.3359, allocations: 6.83 MB / 0.504 GB, free: 15.27 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003137/0.339, allocations: 1.583 MB / 0.5055 GB, free: 13.68 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007269/0.3463, allocations: 4.503 MB / 0.5099 GB, free: 9.035 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.173e-05/0.3463, allocations: 51.81 kB / 0.5099 GB, free: 8.977 MB / 430.1 MB Notification: Performance of pre-optimization done (n=165): time 3.437e-06/0.3463, allocations: 4 kB / 0.5099 GB, free: 8.973 MB / 430.1 MB Notification: Performance of matching and sorting (n=185): time 0.01582/0.3621, allocations: 7.818 MB / 0.5176 GB, free: 1.023 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.956e-05/0.3622, allocations: 73.41 kB / 0.5177 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003399/0.3656, allocations: 2.661 MB / 0.5203 GB, free: 14.25 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001113/0.3657, allocations: 57.7 kB / 0.5203 GB, free: 14.19 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001217/0.3669, allocations: 1.682 MB / 0.5219 GB, free: 12.49 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005084/0.3674, allocations: 0.6584 MB / 0.5226 GB, free: 11.83 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005206/0.3679, allocations: 343.5 kB / 0.5229 GB, free: 11.49 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.3681, allocations: 305.1 kB / 0.5232 GB, free: 11.19 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001516/0.3696, allocations: 0.9096 MB / 0.5241 GB, free: 10.28 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001817/0.3714, allocations: 1.302 MB / 0.5254 GB, free: 8.824 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003483/0.3749, allocations: 2.355 MB / 0.5277 GB, free: 6.324 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/0.3749, allocations: 4 kB / 0.5277 GB, free: 6.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.005363/0.3802, allocations: 3.074 MB / 0.5307 GB, free: 3.23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.3803, allocations: 8 kB / 0.5307 GB, free: 3.223 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.176e-05/0.3803, allocations: 15.98 kB / 0.5307 GB, free: 3.207 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001505/0.3818, allocations: 0.5441 MB / 0.5312 GB, free: 2.656 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001687/0.3835, allocations: 439.3 kB / 0.5316 GB, free: 2.227 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.164/0.5475, allocations: 7.611 MB / 0.5391 GB, free: 95.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00153/0.5491, allocations: 88.55 kB / 0.5392 GB, free: 95.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001284/0.5492, allocations: 74.28 kB / 0.5392 GB, free: 95.2 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (198): * Single equations (assignments): 194 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * 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%), (7,34,75.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001509/0.5507, allocations: 1.171 MB / 0.5404 GB, free: 94.61 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003197/0.551, allocations: 267.1 kB / 0.5406 GB, free: 94.61 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004327/0.5553, allocations: 2.87 MB / 0.5434 GB, free: 93.41 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-05/0.5554, allocations: 23.05 kB / 0.5435 GB, free: 93.41 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/0.5554, allocations: 8.25 kB / 0.5435 GB, free: 93.41 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.522e-05/0.5554, allocations: 13.05 kB / 0.5435 GB, free: 93.41 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007131/0.5625, allocations: 6.349 MB / 0.5497 GB, free: 90.65 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.5625, allocations: 0 / 0.5497 GB, free: 90.65 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001122/0.5636, allocations: 280.4 kB / 0.5499 GB, free: 90.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001262/0.5649, allocations: 0.6196 MB / 0.5506 GB, free: 90.44 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001003/0.565, allocations: 53.11 kB / 0.5506 GB, free: 90.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008014/0.573, allocations: 11.44 MB / 0.5618 GB, free: 81.61 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.573, allocations: 3.906 kB / 0.5618 GB, free: 81.61 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005072/0.5781, allocations: 4.155 MB / 0.5658 GB, free: 78.06 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000655/0.5787, allocations: 0.5639 MB / 0.5664 GB, free: 77.54 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000241/0.579, allocations: 40 kB / 0.5664 GB, free: 77.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009986/0.58, allocations: 75.61 kB / 0.5665 GB, free: 77.43 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000219/0.5802, allocations: 149.7 kB / 0.5666 GB, free: 77.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.26e-05/0.5803, allocations: 55.98 kB / 0.5667 GB, free: 77.23 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001701/0.582, allocations: 1.867 MB / 0.5685 GB, free: 75.35 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.582, allocations: 0 / 0.5685 GB, free: 75.35 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001699/0.5837, allocations: 0.7019 MB / 0.5692 GB, free: 74.66 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.stray.Phi.re,aimc.stator.stray.Phi.im,loadInertia.phi,PI.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 (126): * Single equations (assignments): 120 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (1,6,100.0%), (1,12,100.0%), (2,25,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006249/0.5899, allocations: 5.07 MB / 0.5742 GB, free: 69.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003704/0.5937, allocations: 2.731 MB / 0.5768 GB, free: 66.95 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.5937, allocations: 0 / 0.5768 GB, free: 66.95 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002147/0.5958, allocations: 1.845 MB / 0.5786 GB, free: 65.06 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002009/0.5978, allocations: 0.6024 MB / 0.5792 GB, free: 64.47 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02778/0.6256, allocations: 26.22 MB / 0.6048 GB, free: 37.75 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001515/0.6271, allocations: 2.645 MB / 0.6074 GB, free: 35.07 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001178/0.6283, allocations: 0.5085 MB / 0.6079 GB, free: 34.56 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001256/0.6295, allocations: 1.448 MB / 0.6093 GB, free: 33.11 MB / 446.1 MB Notification: Performance of SimCode: time 7.01e-07/0.6295, allocations: 0 / 0.6093 GB, free: 33.11 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1076/0.7372, allocations: 65.79 MB / 0.6736 GB, free: 15.77 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.18/13.91, allocations: 11.94 kB / 0.6736 GB, free: 15.76 MB / 494.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.51120723400527]