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_Steinmetz.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.001429/0.001429, 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.001585/0.001585, 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.281/1.281, allocations: 230.5 MB / 256.4 MB, free: 8.43 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_Steinmetz,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Steinmetz",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Steinmetz",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.001805/0.001805, allocations: 72 kB / 376.1 MB, free: 4.086 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1937/0.1955, allocations: 53.3 MB / 429.4 MB, free: 7.586 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.01545/0.2109, allocations: 14.38 MB / 443.8 MB, free: 9.133 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007979/0.2189, allocations: 4.719 MB / 448.5 MB, free: 4.402 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001612/0.2205, allocations: 83.69 kB / 448.6 MB, free: 4.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002424/0.2229, allocations: 1.06 MB / 449.7 MB, free: 3.254 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003518/0.2264, allocations: 1.338 MB / 451 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00207/0.2285, allocations: 0.9366 MB / 451.9 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004747/0.2333, allocations: 4.151 MB / 456.1 MB, free: 12.81 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00226/0.2355, allocations: 1.797 MB / 457.9 MB, free: 10.94 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002253/0.2378, allocations: 1.924 MB / 459.8 MB, free: 9.012 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002774/0.2405, allocations: 2.242 MB / 462 MB, free: 6.762 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006172/0.2412, allocations: 0.5078 MB / 462.6 MB, free: 6.254 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001225/0.2424, allocations: 0.738 MB / 463.3 MB, free: 5.516 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009456/0.2433, allocations: 1.13 MB / 464.4 MB, free: 4.383 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001994/0.2453, allocations: 2.136 MB / 466.6 MB, free: 2.238 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006363/0.2517, allocations: 6.762 MB / 473.3 MB, free: 11.45 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.2517, allocations: 0 / 473.3 MB, free: 11.45 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2517, allocations: 0 / 473.3 MB, free: 11.45 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.134e-05/0.2518, allocations: 3.938 kB / 473.3 MB, free: 11.45 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: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.009678/0.2615, allocations: 4.526 MB / 477.9 MB, free: 6.844 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.2615, allocations: 8.031 kB / 477.9 MB, free: 6.836 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000559/0.2621, allocations: 459.8 kB / 478.3 MB, free: 6.375 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004056/0.2661, allocations: 0.83 MB / 479.1 MB, free: 5.543 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003888/0.27, allocations: 2.468 MB / 481.6 MB, free: 3.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001829/0.2702, allocations: 242.6 kB / 481.8 MB, free: 2.781 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000475/0.2707, allocations: 324 kB / 482.2 MB, free: 2.465 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006862/0.2775, allocations: 4.278 MB / 486.4 MB, free: 14.13 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.471e-05/0.2776, allocations: 7.938 kB / 486.4 MB, free: 14.12 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002915/0.2779, allocations: 132 kB / 486.6 MB, free: 14 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001398/0.278, allocations: 146.4 kB / 486.7 MB, free: 13.85 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005761/0.2838, allocations: 3.609 MB / 490.3 MB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01907/0.3028, allocations: 13.85 MB / 0.4924 GB, free: 11.99 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006564/0.3094, allocations: 6.524 MB / 0.4987 GB, free: 4.609 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002175/0.3116, allocations: 1.285 MB / 0.5 GB, free: 3.328 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005541/0.3171, allocations: 3.898 MB / 0.5038 GB, free: 15.28 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.634e-05/0.3172, allocations: 47.88 kB / 0.5038 GB, free: 15.23 MB / 430.1 MB Notification: Performance of pre-optimization done (n=134): time 2.314e-06/0.3172, allocations: 0 / 0.5038 GB, free: 15.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=137): time 0.0108/0.328, allocations: 5.93 MB / 0.5096 GB, free: 9.086 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.669e-05/0.328, allocations: 64.72 kB / 0.5097 GB, free: 9.012 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002427/0.3304, allocations: 1.805 MB / 0.5114 GB, free: 7.207 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.018e-05/0.3305, allocations: 49.7 kB / 0.5115 GB, free: 7.152 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001047/0.3316, allocations: 1.49 MB / 0.513 GB, free: 5.648 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003774/0.332, allocations: 0.4919 MB / 0.5134 GB, free: 5.152 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004527/0.3324, allocations: 319.4 kB / 0.5137 GB, free: 4.836 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.3325, allocations: 309.1 kB / 0.514 GB, free: 4.531 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001055/0.3336, allocations: 0.6793 MB / 0.5147 GB, free: 3.852 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001457/0.335, allocations: 1.197 MB / 0.5159 GB, free: 2.43 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002667/0.3377, allocations: 2.006 MB / 0.5178 GB, free: 208 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.237e-06/0.3377, allocations: 4 kB / 0.5178 GB, free: 204 kB / 430.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.003997/0.3417, allocations: 2.548 MB / 0.5203 GB, free: 13.61 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.818e-05/0.3417, allocations: 12 kB / 0.5203 GB, free: 13.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.166e-05/0.3418, allocations: 16 kB / 0.5203 GB, free: 13.58 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009048/0.3427, allocations: 360.3 kB / 0.5207 GB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00128/0.3439, allocations: 379.4 kB / 0.521 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00774/0.3517, allocations: 8.412 MB / 0.5293 GB, free: 3.879 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001142/0.3528, allocations: 80.05 kB / 0.5293 GB, free: 3.801 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001121/0.3529, allocations: 72 kB / 0.5294 GB, free: 3.73 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 187 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,7,100.0%), (2,8,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001538/0.3545, allocations: 1.005 MB / 0.5304 GB, free: 2.715 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002744/0.3548, allocations: 210.6 kB / 0.5306 GB, free: 2.508 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00375/0.3585, allocations: 2.274 MB / 0.5328 GB, free: 168 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.3585, allocations: 12 kB / 0.5328 GB, free: 156 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.134e-05/0.3585, allocations: 8 kB / 0.5328 GB, free: 148 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.635e-05/0.3585, allocations: 7.969 kB / 0.5328 GB, free: 140 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007205/0.3657, allocations: 5.079 MB / 0.5378 GB, free: 10.91 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.3658, allocations: 0 / 0.5378 GB, free: 10.91 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007424/0.3665, allocations: 176 kB / 0.538 GB, free: 10.74 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001336/0.3678, allocations: 0.528 MB / 0.5385 GB, free: 10.2 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.874e-05/0.3679, allocations: 55.86 kB / 0.5385 GB, free: 10.14 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1695/0.5374, allocations: 13.22 MB / 0.5514 GB, free: 110.2 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.5374, allocations: 2.844 kB / 0.5514 GB, free: 110.2 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004354/0.5417, allocations: 3.218 MB / 0.5546 GB, free: 109.3 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006707/0.5424, allocations: 444.6 kB / 0.555 GB, free: 109.1 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002068/0.5426, allocations: 29.62 kB / 0.555 GB, free: 109.1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008114/0.5434, allocations: 64.11 kB / 0.5551 GB, free: 109.1 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000236/0.5437, allocations: 103 kB / 0.5552 GB, free: 109.1 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.882e-05/0.5437, allocations: 43.33 kB / 0.5552 GB, free: 109.1 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001433/0.5452, allocations: 1.233 MB / 0.5564 GB, free: 108.6 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5452, allocations: 2.531 kB / 0.5565 GB, free: 108.6 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001875/0.547, allocations: 0.5833 MB / 0.557 GB, free: 108.5 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 9 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,7,100.0%), (2,8,100.0%), (1,1,100.0%), (1,13,100.0%), (1,8,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003909/0.5509, allocations: 3.842 MB / 0.5608 GB, free: 106.5 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002567/0.5535, allocations: 2.293 MB / 0.563 GB, free: 105.2 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.5535, allocations: 0 / 0.563 GB, free: 105.2 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001744/0.5553, allocations: 1.675 MB / 0.5646 GB, free: 104.2 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001866/0.5571, allocations: 0.563 MB / 0.5652 GB, free: 104 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01998/0.5771, allocations: 20.27 MB / 0.585 GB, free: 87.42 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001288/0.5784, allocations: 2.323 MB / 0.5873 GB, free: 85.07 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0009392/0.5793, allocations: 397.2 kB / 0.5876 GB, free: 84.68 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009764/0.5803, allocations: 1.148 MB / 0.5888 GB, free: 83.53 MB / 462.1 MB Notification: Performance of SimCode: time 4.8e-07/0.5803, allocations: 0 / 0.5888 GB, free: 83.53 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08832/0.6686, allocations: 54.39 MB / 0.6419 GB, free: 29.63 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.97/12.63, allocations: 8 kB / 0.6419 GB, free: 29.62 MB / 462.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Steinmetz_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Steinmetz.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.847957972000586]