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.0008996/0.0008996, allocations: 88.73 kB / 21.5 MB, free: 2.992 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.0009365/0.0009365, allocations: 161 kB / 24.91 MB, free: 9.203 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.9389/0.9389, allocations: 177 MB / 205.2 MB, free: 5.473 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.2604/0.2604, allocations: 34.86 MB / 296.6 MB, free: 0.5195 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.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.413e-06/1.413e-06, allocations: 0 / 326 MB, free: 7.117 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.532e-05/1.673e-05, allocations: 2.312 kB / 326 MB, free: 7.113 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.01073/0.01074, allocations: 13.58 MB / 339.6 MB, free: 9.465 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008056/0.0188, allocations: 5.287 MB / 344.9 MB, free: 4.16 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001359/0.02016, allocations: 103.4 kB / 345 MB, free: 4.059 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001947/0.02211, allocations: 1.138 MB / 346.1 MB, free: 2.914 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002612/0.02472, allocations: 1.484 MB / 347.6 MB, free: 1.422 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001612/0.02633, allocations: 1.004 MB / 348.6 MB, free: 428 kB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003302/0.02963, allocations: 4.331 MB / 352.9 MB, free: 12.07 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001816/0.03145, allocations: 1.797 MB / 354.7 MB, free: 10.18 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003056/0.0345, allocations: 3.002 MB / 357.7 MB, free: 7.172 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001766/0.03627, allocations: 1.999 MB / 359.7 MB, free: 5.168 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005087/0.03678, allocations: 0.5 MB / 360.2 MB, free: 4.668 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009079/0.03769, allocations: 0.7612 MB / 361 MB, free: 3.906 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006445/0.03833, allocations: 1.176 MB / 362.2 MB, free: 2.727 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001265/0.0396, allocations: 1.45 MB / 363.6 MB, free: 1.273 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002789/0.04239, allocations: 3.544 MB / 367.1 MB, free: 13.72 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.04239, allocations: 4 kB / 367.2 MB, free: 13.71 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.04239, allocations: 0 / 367.2 MB, free: 13.71 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.093e-05/0.04243, allocations: 0 / 367.2 MB, free: 13.71 MB / 346.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.00504/0.04747, allocations: 4.378 MB / 371.5 MB, free: 9.281 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.977e-05/0.0475, allocations: 8.031 kB / 371.5 MB, free: 9.273 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002328/0.04983, allocations: 1.113 MB / 372.6 MB, free: 8.16 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001871/0.0517, allocations: 1.527 MB / 374.2 MB, free: 6.578 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001139/0.05182, allocations: 246.4 kB / 374.4 MB, free: 6.336 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003034/0.05212, allocations: 315.9 kB / 374.7 MB, free: 6.027 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002526/0.05464, allocations: 2.436 MB / 377.2 MB, free: 3.504 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.226e-05/0.0547, allocations: 4 kB / 377.2 MB, free: 3.5 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001949/0.05489, allocations: 132 kB / 377.3 MB, free: 3.371 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.784e-05/0.05499, allocations: 150.4 kB / 377.4 MB, free: 3.223 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001453/0.05644, allocations: 0.9548 MB / 378.4 MB, free: 2.254 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008677/0.06512, allocations: 8.23 MB / 386.6 MB, free: 9.73 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002084/0.0672, allocations: 1.744 MB / 388.4 MB, free: 7.984 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001015/0.06822, allocations: 0.851 MB / 389.2 MB, free: 7.133 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002786/0.071, allocations: 2.036 MB / 391.3 MB, free: 5.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005036/0.07151, allocations: 0.6394 MB / 391.9 MB, free: 4.355 MB / 362.7 MB Notification: Performance of pre-optimization done (n=132): time 2.425e-06/0.07151, allocations: 0 / 391.9 MB, free: 4.355 MB / 362.7 MB Notification: Performance of matching and sorting (n=140): time 0.004592/0.0761, allocations: 3.169 MB / 395.1 MB, free: 1.137 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.479e-05/0.07618, allocations: 222.9 kB / 395.3 MB, free: 0.8672 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009683/0.07715, allocations: 1.33 MB / 396.6 MB, free: 15.52 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.053e-05/0.07721, allocations: 49.7 kB / 396.7 MB, free: 15.47 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005726/0.07778, allocations: 1.293 MB / 398 MB, free: 14.16 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003113/0.07809, allocations: 0.4918 MB / 398.4 MB, free: 13.66 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002776/0.07837, allocations: 307.3 kB / 398.7 MB, free: 13.36 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.359e-05/0.07843, allocations: 305.1 kB / 399 MB, free: 13.06 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002535/0.07868, allocations: 190.7 kB / 399.2 MB, free: 12.87 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004999/0.07918, allocations: 0.8905 MB / 400.1 MB, free: 11.71 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008226/0.08001, allocations: 1.032 MB / 401.2 MB, free: 10.47 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.08001, allocations: 4 kB / 401.2 MB, free: 10.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=221) (initialization): time 0.001271/0.08128, allocations: 1.17 MB / 402.3 MB, free: 9.273 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.08131, allocations: 11.98 kB / 402.3 MB, free: 9.262 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.468e-05/0.08132, allocations: 16.28 kB / 402.4 MB, free: 9.246 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004784/0.0818, allocations: 261.1 kB / 402.6 MB, free: 8.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006811/0.08248, allocations: 363.4 kB / 403 MB, free: 8.625 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002783/0.08526, allocations: 4.89 MB / 407.9 MB, free: 3.457 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005086/0.08577, allocations: 75.94 kB / 407.9 MB, free: 3.383 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.439e-05/0.08585, allocations: 60.05 kB / 408 MB, free: 3.324 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * 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 (195): * Single equations (assignments): 191 * 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,8,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003961/0.08624, allocations: 224.1 kB / 408.2 MB, free: 3.094 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001622/0.08641, allocations: 159.8 kB / 408.4 MB, free: 2.938 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001257/0.08766, allocations: 1.067 MB / 409.4 MB, free: 1.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.08767, allocations: 16 kB / 409.4 MB, free: 1.824 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.08768, allocations: 11.94 kB / 409.5 MB, free: 1.812 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/0.08769, allocations: 7.969 kB / 409.5 MB, free: 1.805 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002665/0.09035, allocations: 2.276 MB / 411.7 MB, free: 15.47 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.259e-06/0.09036, allocations: 8 kB / 411.7 MB, free: 15.46 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003774/0.09074, allocations: 159.8 kB / 411.9 MB, free: 15.3 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000785/0.09152, allocations: 398.6 kB / 412.3 MB, free: 14.9 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.315e-05/0.09158, allocations: 35.98 kB / 412.3 MB, free: 14.86 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00467/0.09625, allocations: 8.402 MB / 420.7 MB, free: 6.004 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.09626, allocations: 3.984 kB / 420.7 MB, free: 6 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001502/0.09776, allocations: 1.375 MB / 422.1 MB, free: 4.582 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003242/0.09808, allocations: 202.7 kB / 422.3 MB, free: 4.383 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001349/0.09822, allocations: 36 kB / 422.3 MB, free: 4.348 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000361/0.09858, allocations: 51.97 kB / 422.4 MB, free: 4.297 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001539/0.09873, allocations: 109 kB / 422.5 MB, free: 4.188 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.494e-05/0.09878, allocations: 27.98 kB / 422.5 MB, free: 4.16 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005021/0.09928, allocations: 0.6091 MB / 423.1 MB, free: 3.555 MB / 394.7 MB Notification: Performance of sort global known variables: time 9e-08/0.09928, allocations: 3.938 kB / 423.1 MB, free: 3.551 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001361/0.1006, allocations: 0.582 MB / 423.7 MB, free: 2.969 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (100): * Single equations (assignments): 93 * 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,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.001225/0.1019, allocations: 0.565 MB / 424.3 MB, free: 2.629 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00127/0.1031, allocations: 1.24 MB / 425.5 MB, free: 1.352 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.974e-05/0.1032, allocations: 25.81 kB / 425.6 MB, free: 1.328 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001058/0.1042, allocations: 1.188 MB / 426.7 MB, free: 76 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009796/0.1052, allocations: 465.1 kB / 427.2 MB, free: 15.62 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005538/0.1107, allocations: 4.9 MB / 432.1 MB, free: 10.65 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005564/0.1113, allocations: 0.6639 MB / 432.8 MB, free: 9.961 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000558/0.1119, allocations: 243.7 kB / 433 MB, free: 9.719 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006834/0.1125, allocations: 459.1 kB / 433.4 MB, free: 9.266 MB / 410.7 MB Notification: Performance of SimCode: time 1.092e-06/0.1125, allocations: 0 / 433.4 MB, free: 9.266 MB / 410.7 MB Notification: Performance of Templates: time 0.1734/0.2859, allocations: 30.06 MB / 463.5 MB, free: 89.82 MB / 410.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.5712924916297197]