Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.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.0009759/0.0009759, allocations: 84.73 kB / 21.5 MB, free: 2.984 MB / 18.57 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.001106/0.001106, allocations: 168.4 kB / 24.91 MB, free: 8.707 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.95/0.95, allocations: 177 MB / 205.2 MB, free: 5.434 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2755/0.2755, allocations: 34.87 MB / 296.6 MB, free: 0.5156 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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: translateModel(ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") translateModel(ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 326 MB, free: 7.047 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.268e-05/1.396e-05, allocations: 3.078 kB / 326.1 MB, free: 7.043 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.02352/0.02353, allocations: 32.73 MB / 358.8 MB, free: 6.168 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01923/0.04276, allocations: 10.39 MB / 369.2 MB, free: 11.75 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004811/0.04757, allocations: 306.3 kB / 369.5 MB, free: 11.45 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009794/0.05737, allocations: 8.685 MB / 378.2 MB, free: 2.719 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008525/0.06589, allocations: 4.005 MB / 382.2 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004417/0.07031, allocations: 2.329 MB / 384.5 MB, free: 12.37 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.01476/0.08507, allocations: 13.96 MB / 398.4 MB, free: 14.36 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02089/0.106, allocations: 15.38 MB / 413.8 MB, free: 14.79 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01479/0.1207, allocations: 10.12 MB / 423.9 MB, free: 4.652 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01075/0.1315, allocations: 7.208 MB / 431.2 MB, free: 13.43 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004799/0.1363, allocations: 1.891 MB / 433 MB, free: 11.54 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005136/0.1414, allocations: 2.304 MB / 435.3 MB, free: 9.234 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002348/0.1438, allocations: 3.931 MB / 439.3 MB, free: 5.293 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005261/0.149, allocations: 4.897 MB / 444.2 MB, free: 396 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1903/0.3393, allocations: 12.02 MB / 456.2 MB, free: 52.73 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.3394, allocations: 3.469 kB / 456.2 MB, free: 52.73 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.3394, allocations: 0 / 456.2 MB, free: 52.73 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004883/0.3398, allocations: 0 / 456.2 MB, free: 52.73 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3019 * Number of variables: 3019 Notification: Performance of Generate backend data structure: time 0.02465/0.3645, allocations: 14.07 MB / 470.3 MB, free: 48.59 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.3645, allocations: 9.438 kB / 470.3 MB, free: 48.59 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02291/0.3874, allocations: 7.038 MB / 477.3 MB, free: 48.45 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01079/0.3982, allocations: 4.427 MB / 481.7 MB, free: 47.27 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003937/0.3986, allocations: 0.8135 MB / 482.5 MB, free: 47.24 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001632/0.4003, allocations: 1.073 MB / 483.6 MB, free: 47.23 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01308/0.4133, allocations: 8.872 MB / 492.5 MB, free: 44.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001995/0.4135, allocations: 22.7 kB / 492.5 MB, free: 44.23 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008136/0.4143, allocations: 453.3 kB / 493 MB, free: 43.8 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003791/0.4147, allocations: 0.6397 MB / 493.6 MB, free: 43.16 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007117/0.4218, allocations: 4.401 MB / 498 MB, free: 38.76 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03619/0.458, allocations: 33.37 MB / 0.5189 GB, free: 6.539 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00634/0.4644, allocations: 7.109 MB / 0.5259 GB, free: 15.55 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00181/0.4662, allocations: 1.561 MB / 0.5274 GB, free: 14.04 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009648/0.4758, allocations: 5.661 MB / 0.5329 GB, free: 8.613 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001683/0.4775, allocations: 1.842 MB / 0.5347 GB, free: 6.77 MB / 426.7 MB Notification: Performance of pre-optimization done (n=434): time 5.4e-06/0.4775, allocations: 0 / 0.5347 GB, free: 6.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=452): time 0.02313/0.5006, allocations: 11.04 MB / 0.5455 GB, free: 11.9 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001549/0.5008, allocations: 411.4 kB / 0.5459 GB, free: 11.41 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004114/0.5049, allocations: 3.321 MB / 0.5491 GB, free: 8.625 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006145/0.5055, allocations: 97.7 kB / 0.5492 GB, free: 8.523 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002922/0.5084, allocations: 4.32 MB / 0.5534 GB, free: 4.355 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001334/0.5098, allocations: 1.599 MB / 0.555 GB, free: 2.848 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00129/0.5111, allocations: 1.076 MB / 0.556 GB, free: 1.883 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.422e-05/0.5111, allocations: 301.1 kB / 0.5563 GB, free: 1.586 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00116/0.5123, allocations: 0.7816 MB / 0.5571 GB, free: 0.7969 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00204/0.5143, allocations: 3.143 MB / 0.5602 GB, free: 12.78 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003813/0.5182, allocations: 4.187 MB / 0.5643 GB, free: 8.074 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-05/0.5182, allocations: 23.17 kB / 0.5643 GB, free: 8.055 MB / 458.7 MB Notification: Performance of matching and sorting (n=776) (initialization): time 0.006105/0.5243, allocations: 4.241 MB / 0.5684 GB, free: 4.273 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.381e-05/0.5243, allocations: 36 kB / 0.5685 GB, free: 4.238 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.15e-05/0.5244, allocations: 68 kB / 0.5685 GB, free: 4.172 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002558/0.527, allocations: 1.253 MB / 0.5697 GB, free: 2.918 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002968/0.5299, allocations: 1.222 MB / 0.5709 GB, free: 1.785 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008837/0.5388, allocations: 10.49 MB / 0.5812 GB, free: 7.078 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003518/0.5423, allocations: 251.9 kB / 0.5814 GB, free: 6.832 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006331/0.5429, allocations: 234.8 kB / 0.5816 GB, free: 6.605 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 301 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.dutyCycle.nextTimeEvent,$whenCondition1,dutyCycle.nextTimeEventScaled,$PRE.dutyCycle.nextTimeEventScaled,dutyCycle.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (692): * Single equations (assignments): 686 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 5 * 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): 5 systems {(1,4,100.0%), (1,5,100.0%), (1,13,100.0%), (1,4,100.0%), (14,44,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002851/0.5458, allocations: 0.5019 MB / 0.5821 GB, free: 6.184 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001049/0.5468, allocations: 431.8 kB / 0.5825 GB, free: 5.762 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005132/0.5519, allocations: 3.453 MB / 0.5859 GB, free: 2.344 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-05/0.552, allocations: 44 kB / 0.586 GB, free: 2.301 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-05/0.552, allocations: 20 kB / 0.586 GB, free: 2.281 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.028e-05/0.552, allocations: 19.92 kB / 0.586 GB, free: 2.262 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01565/0.5677, allocations: 8.057 MB / 0.5939 GB, free: 11.41 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-05/0.5677, allocations: 4 kB / 0.5939 GB, free: 11.41 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001634/0.5693, allocations: 0.6512 MB / 0.5945 GB, free: 10.79 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002695/0.572, allocations: 1.318 MB / 0.5958 GB, free: 9.473 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003494/0.5724, allocations: 104 kB / 0.5959 GB, free: 9.371 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01128/0.5837, allocations: 13.76 MB / 0.6093 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/0.5837, allocations: 15.78 kB / 0.6093 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007628/0.5913, allocations: 4.164 MB / 0.6134 GB, free: 7.109 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001944/0.5932, allocations: 0.6008 MB / 0.614 GB, free: 6.508 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000614/0.5938, allocations: 96 kB / 0.6141 GB, free: 6.414 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001208/0.5951, allocations: 140 kB / 0.6142 GB, free: 6.277 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006599/0.5957, allocations: 357.2 kB / 0.6146 GB, free: 5.938 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002151/0.5959, allocations: 99.95 kB / 0.6147 GB, free: 5.84 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002085/0.598, allocations: 1.42 MB / 0.616 GB, free: 4.578 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.9e-07/0.598, allocations: 0 / 0.616 GB, free: 4.578 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005683/0.6037, allocations: 1.879 MB / 0.6179 GB, free: 2.699 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 11 (imcQS.rotorCage.port_p.reference.gamma,massQS.s,massQS.v,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,vfController.x,mass.s,mass.v) * Number of discrete variables: 3 ($whenCondition1,dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of discrete states: 2 (dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (397): * Single equations (assignments): 388 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,3,100.0%), (14,44,41.8%), (1,5,100.0%), (1,3,100.0%), (1,8,100.0%), (1,13,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.001633/0.6053, allocations: 0.68 MB / 0.6185 GB, free: 2.305 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.1671/0.7725, allocations: 3.976 MB / 0.6224 GB, free: 151.3 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 0.000209/0.7727, allocations: 69.12 kB / 0.6225 GB, free: 151.3 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003461/0.7761, allocations: 2.779 MB / 0.6252 GB, free: 150.4 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003403/0.7795, allocations: 1.161 MB / 0.6263 GB, free: 150.4 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01958/0.7991, allocations: 16.1 MB / 0.6421 GB, free: 144.3 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001844/0.801, allocations: 2.121 MB / 0.6441 GB, free: 144 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002093/0.8031, allocations: 0.7717 MB / 0.6449 GB, free: 143.9 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00188/0.8049, allocations: 1.108 MB / 0.646 GB, free: 143.8 MB / 0.4948 GB Notification: Performance of SimCode: time 1.523e-06/0.8049, allocations: 3.812 kB / 0.646 GB, free: 143.8 MB / 0.4948 GB Notification: Performance of Templates: time 0.09408/0.899, allocations: 81.52 MB / 0.7256 GB, free: 75.59 MB / 0.4948 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.741474681999534]