Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.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.0008339/0.0008339, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001195/0.002029, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0006834/0.0006834, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008661/0.001549, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.9962/0.9962, allocations: 177.5 MB / 190 MB, free: 4.789 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08779/1.084, allocations: 53.87 MB / 243.9 MB, free: 14.85 MB / 250.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.2705/0.2705, allocations: 34.88 MB / 279.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02926/0.2998, allocations: 13.23 MB / 292.8 MB, free: 6.395 MB / 282.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.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=350,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") translateModel(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=350,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 294.2 MB, free: 5.016 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.353e-05/2.514e-05, allocations: 3.516 kB / 294.2 MB, free: 5.012 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.01559/0.01561, allocations: 13.71 MB / 307.9 MB, free: 7.238 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01248/0.02809, allocations: 5.319 MB / 313.2 MB, free: 1.898 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002458/0.03055, allocations: 107.4 kB / 313.3 MB, free: 1.793 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002368/0.03292, allocations: 1.158 MB / 314.5 MB, free: 0.6289 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004161/0.03708, allocations: 1.473 MB / 315.9 MB, free: 15.15 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002563/0.03965, allocations: 0.9839 MB / 316.9 MB, free: 14.16 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004841/0.04449, allocations: 4.35 MB / 321.3 MB, free: 9.805 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002015/0.0465, allocations: 1.797 MB / 323.1 MB, free: 7.91 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003646/0.05015, allocations: 3.26 MB / 326.3 MB, free: 4.629 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002461/0.05261, allocations: 1.995 MB / 328.3 MB, free: 2.629 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009655/0.05358, allocations: 0.5039 MB / 328.8 MB, free: 2.125 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001301/0.05488, allocations: 0.7573 MB / 329.6 MB, free: 1.367 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006322/0.05551, allocations: 0.9546 MB / 330.5 MB, free: 420 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001332/0.05684, allocations: 1.217 MB / 331.8 MB, free: 15.19 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003757/0.0606, allocations: 3.357 MB / 335.1 MB, free: 11.82 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.051e-05/0.06061, allocations: 0 / 335.1 MB, free: 11.82 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.155e-06/0.06061, allocations: 3.984 kB / 335.1 MB, free: 11.82 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001456/0.06076, allocations: 0 / 335.1 MB, free: 11.82 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.007599/0.06836, allocations: 5.179 MB / 340.3 MB, free: 6.566 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.0684, allocations: 8.922 kB / 340.3 MB, free: 6.559 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002752/0.07115, allocations: 1.117 MB / 341.4 MB, free: 5.441 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002869/0.07402, allocations: 1.519 MB / 342.9 MB, free: 3.867 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001244/0.07414, allocations: 250.3 kB / 343.2 MB, free: 3.621 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003369/0.07448, allocations: 323.9 kB / 343.5 MB, free: 3.305 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002839/0.07732, allocations: 2.424 MB / 345.9 MB, free: 0.793 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.686e-05/0.07737, allocations: 3.938 kB / 345.9 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001844/0.07756, allocations: 132 kB / 346.1 MB, free: 0.6602 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001028/0.07766, allocations: 154.4 kB / 346.2 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001536/0.0792, allocations: 0.9471 MB / 347.2 MB, free: 15.54 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01002/0.08922, allocations: 8.284 MB / 355.4 MB, free: 6.969 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00209/0.09131, allocations: 1.75 MB / 357.2 MB, free: 5.215 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001149/0.09246, allocations: 0.8549 MB / 358.1 MB, free: 4.355 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001415/0.0926, allocations: 69.97 kB / 358.1 MB, free: 4.289 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007764/0.09338, allocations: 0.7688 MB / 358.9 MB, free: 3.441 MB / 346.7 MB Notification: Performance of pre-optimization done (n=182): time 3.376e-06/0.09338, allocations: 0 / 358.9 MB, free: 3.441 MB / 346.7 MB Notification: Performance of matching and sorting (n=191): time 0.008498/0.1019, allocations: 4.418 MB / 363.3 MB, free: 14.99 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.501e-05/0.1019, allocations: 128.8 kB / 363.4 MB, free: 14.84 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001184/0.1031, allocations: 1.295 MB / 364.7 MB, free: 13.53 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.05e-05/0.1032, allocations: 61.7 kB / 364.8 MB, free: 13.46 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007915/0.104, allocations: 1.216 MB / 366 MB, free: 12.23 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003667/0.1044, allocations: 0.6699 MB / 366.7 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003268/0.1047, allocations: 343.5 kB / 367 MB, free: 11.21 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.953e-05/0.1047, allocations: 301.1 kB / 367.3 MB, free: 10.91 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003077/0.105, allocations: 230.9 kB / 367.5 MB, free: 10.68 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006286/0.1057, allocations: 0.9024 MB / 368.4 MB, free: 9.516 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001069/0.1067, allocations: 1.177 MB / 369.6 MB, free: 8.148 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/0.1068, allocations: 4 kB / 369.6 MB, free: 8.145 MB / 362.7 MB Notification: Performance of matching and sorting (n=263) (initialization): time 0.001556/0.1083, allocations: 1.302 MB / 370.9 MB, free: 6.82 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.1083, allocations: 8 kB / 370.9 MB, free: 6.812 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.158e-05/0.1084, allocations: 19.98 kB / 370.9 MB, free: 6.793 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005303/0.1089, allocations: 274.6 kB / 371.2 MB, free: 6.516 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/0.1099, allocations: 0.5188 MB / 371.7 MB, free: 5.996 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003204/0.1131, allocations: 5.037 MB / 376.8 MB, free: 0.6797 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007402/0.1139, allocations: 84.03 kB / 376.8 MB, free: 0.5977 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.46e-05/0.1139, allocations: 63.98 kB / 376.9 MB, free: 0.5352 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * 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 (236): * Single equations (assignments): 232 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * 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): 3 systems {(1,4,100.0%), (1,9,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005962/0.1145, allocations: 256 kB / 377.2 MB, free: 280 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001996/0.1147, allocations: 179.8 kB / 377.3 MB, free: 100 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001528/0.1163, allocations: 1.243 MB / 378.6 MB, free: 14.82 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/0.1163, allocations: 20 kB / 378.6 MB, free: 14.8 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.23e-05/0.1163, allocations: 8 kB / 378.6 MB, free: 14.79 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.296e-05/0.1163, allocations: 7.969 kB / 378.6 MB, free: 14.79 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004054/0.1204, allocations: 3.273 MB / 381.9 MB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/0.1204, allocations: 4 kB / 381.9 MB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005646/0.1209, allocations: 287.7 kB / 382.2 MB, free: 11.15 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004102/0.1213, allocations: 230.6 kB / 382.4 MB, free: 10.92 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007539/0.1221, allocations: 412.7 kB / 382.8 MB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.874e-05/0.1222, allocations: 43.98 kB / 382.8 MB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004992/0.1272, allocations: 8.429 MB / 391.3 MB, free: 1.566 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/0.1272, allocations: 4 kB / 391.3 MB, free: 1.562 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002004/0.1292, allocations: 1.694 MB / 393 MB, free: 15.79 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002237/0.1294, allocations: 43.98 kB / 393 MB, free: 15.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004511/0.1298, allocations: 59.92 kB / 393.1 MB, free: 15.69 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002646/0.1301, allocations: 149.7 kB / 393.2 MB, free: 15.54 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-05/0.1302, allocations: 35.98 kB / 393.3 MB, free: 15.5 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007689/0.1309, allocations: 0.5964 MB / 393.8 MB, free: 14.91 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1309, allocations: 4 kB / 393.9 MB, free: 14.91 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001946/0.1329, allocations: 0.6249 MB / 394.5 MB, free: 14.29 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 7 (aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.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 (151): * Single equations (assignments): 144 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,8,100.0%), (1,13,100.0%), (1,3,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.001761/0.1346, allocations: 0.6354 MB / 395.1 MB, free: 13.93 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001896/0.1365, allocations: 1.419 MB / 396.5 MB, free: 12.46 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.836e-05/0.1366, allocations: 30.47 kB / 396.6 MB, free: 12.43 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001475/0.1381, allocations: 1.424 MB / 398 MB, free: 10.95 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002886/0.141, allocations: 4.548 MB / 402.5 MB, free: 5.516 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0221/0.1631, allocations: 5.294 MB / 407.8 MB, free: 132 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008471/0.1639, allocations: 0.6878 MB / 408.5 MB, free: 15.41 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001067/0.165, allocations: 285.2 kB / 408.8 MB, free: 15.13 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009858/0.166, allocations: 499 kB / 409.3 MB, free: 14.64 MB / 410.7 MB Notification: Performance of SimCode: time 1.293e-06/0.166, allocations: 0 / 409.3 MB, free: 14.64 MB / 410.7 MB Notification: Performance of Templates: time 0.1988/0.3648, allocations: 33.81 MB / 443.1 MB, free: 110.4 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.716249780729413]