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.000685/0.000685, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009233/0.001608, allocations: 449.7 kB / 10.37 MB, free: 324 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.001063/0.001063, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00106/0.002123, allocations: 463.6 kB / 11.72 MB, free: 2.453 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.9515/0.9515, allocations: 177.4 MB / 189.9 MB, free: 4.844 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09968/1.051, allocations: 53.87 MB / 243.7 MB, free: 14.92 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.2642/0.2642, allocations: 34.86 MB / 279.3 MB, free: 14.93 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02514/0.2893, allocations: 13.23 MB / 292.6 MB, free: 6.488 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 2.605e-06/2.605e-06, allocations: 0 / 293.9 MB, free: 5.133 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.722e-05/2.983e-05, allocations: 4.844 kB / 293.9 MB, free: 5.129 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.01702/0.01705, allocations: 13.71 MB / 307.6 MB, free: 7.363 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01306/0.03011, allocations: 5.315 MB / 313 MB, free: 2.031 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003547/0.03365, allocations: 111.3 kB / 313.1 MB, free: 1.922 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004128/0.03778, allocations: 1.146 MB / 314.2 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004854/0.04264, allocations: 1.476 MB / 315.7 MB, free: 15.28 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001882/0.04452, allocations: 0.9889 MB / 316.7 MB, free: 14.29 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003389/0.04791, allocations: 4.339 MB / 321 MB, free: 9.941 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00184/0.04975, allocations: 1.794 MB / 322.8 MB, free: 8.051 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00288/0.05263, allocations: 3.26 MB / 326.1 MB, free: 4.773 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002126/0.05475, allocations: 1.999 MB / 328.1 MB, free: 2.77 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004599/0.05521, allocations: 0.5 MB / 328.6 MB, free: 2.27 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009334/0.05615, allocations: 0.7612 MB / 329.3 MB, free: 1.508 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008497/0.05699, allocations: 0.9468 MB / 330.3 MB, free: 0.5586 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009873/0.05798, allocations: 1.213 MB / 331.5 MB, free: 15.34 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003011/0.06099, allocations: 3.372 MB / 334.9 MB, free: 11.96 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.56e-05/0.06101, allocations: 0 / 334.9 MB, free: 11.96 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.06101, allocations: 0 / 334.9 MB, free: 11.96 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.01e-05/0.06106, allocations: 0 / 334.9 MB, free: 11.96 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.006046/0.06711, allocations: 5.187 MB / 340.1 MB, free: 6.699 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.794e-05/0.06713, allocations: 12.86 kB / 340.1 MB, free: 6.688 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002245/0.06938, allocations: 1.109 MB / 341.2 MB, free: 5.578 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001865/0.07125, allocations: 1.523 MB / 342.7 MB, free: 4 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001321/0.07138, allocations: 246.3 kB / 342.9 MB, free: 3.758 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003135/0.07169, allocations: 327.9 kB / 343.3 MB, free: 3.438 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002627/0.07432, allocations: 2.428 MB / 345.7 MB, free: 0.9219 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.969e-05/0.07437, allocations: 7.922 kB / 345.7 MB, free: 0.9141 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000191/0.07456, allocations: 128 kB / 345.8 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001056/0.07466, allocations: 158.4 kB / 346 MB, free: 0.6328 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0015/0.07616, allocations: 0.947 MB / 346.9 MB, free: 15.67 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008919/0.08508, allocations: 8.284 MB / 355.2 MB, free: 7.094 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002055/0.08714, allocations: 1.746 MB / 356.9 MB, free: 5.348 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001018/0.08816, allocations: 0.851 MB / 357.8 MB, free: 4.488 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002895/0.09105, allocations: 2.037 MB / 359.8 MB, free: 2.422 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005341/0.09158, allocations: 0.6433 MB / 360.5 MB, free: 1.707 MB / 346.7 MB Notification: Performance of pre-optimization done (n=132): time 2.304e-06/0.09159, allocations: 0 / 360.5 MB, free: 1.707 MB / 346.7 MB Notification: Performance of matching and sorting (n=140): time 0.004504/0.09609, allocations: 3.157 MB / 363.6 MB, free: 14.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.211e-05/0.09612, allocations: 68.66 kB / 363.7 MB, free: 14.42 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009525/0.09707, allocations: 1.334 MB / 365 MB, free: 13.07 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.87e-05/0.09713, allocations: 49.7 kB / 365.1 MB, free: 13.02 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008183/0.09795, allocations: 1.293 MB / 366.4 MB, free: 11.71 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002466/0.0982, allocations: 0.4957 MB / 366.9 MB, free: 11.21 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002798/0.09848, allocations: 307.3 kB / 367.2 MB, free: 10.9 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.332e-05/0.09854, allocations: 305.1 kB / 367.5 MB, free: 10.6 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002532/0.09879, allocations: 194.7 kB / 367.7 MB, free: 10.41 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005112/0.09931, allocations: 0.8826 MB / 368.5 MB, free: 9.254 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008032/0.1001, allocations: 1.036 MB / 369.6 MB, free: 8.004 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/0.1001, allocations: 8 kB / 369.6 MB, free: 7.996 MB / 362.7 MB Notification: Performance of matching and sorting (n=221) (initialization): time 0.001223/0.1013, allocations: 1.162 MB / 370.8 MB, free: 6.812 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.1014, allocations: 12 kB / 370.8 MB, free: 6.801 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/0.1014, allocations: 16 kB / 370.8 MB, free: 6.785 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000452/0.1018, allocations: 266.3 kB / 371 MB, free: 6.512 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008238/0.1026, allocations: 439.4 kB / 371.5 MB, free: 6.082 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003035/0.1057, allocations: 4.91 MB / 376.4 MB, free: 0.9023 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004704/0.1062, allocations: 87.95 kB / 376.5 MB, free: 0.8164 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.325e-05/0.1062, allocations: 60 kB / 376.5 MB, free: 0.7578 MB / 362.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.0003785/0.1066, allocations: 228.1 kB / 376.7 MB, free: 0.5234 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001546/0.1068, allocations: 155.8 kB / 376.9 MB, free: 380 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001252/0.108, allocations: 1.059 MB / 378 MB, free: 15.29 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/0.108, allocations: 15.98 kB / 378 MB, free: 15.27 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.108, allocations: 8 kB / 378 MB, free: 15.26 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/0.108, allocations: 7.984 kB / 378 MB, free: 15.25 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002845/0.1109, allocations: 2.284 MB / 380.3 MB, free: 12.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.1109, allocations: 0 / 380.3 MB, free: 12.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004258/0.1113, allocations: 195.9 kB / 380.5 MB, free: 12.72 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002863/0.1116, allocations: 202.7 kB / 380.7 MB, free: 12.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006709/0.1123, allocations: 403 kB / 381.1 MB, free: 12.12 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.646e-05/0.1123, allocations: 35.98 kB / 381.1 MB, free: 12.08 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004627/0.117, allocations: 8.419 MB / 389.5 MB, free: 3.199 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.117, allocations: 0 / 389.5 MB, free: 3.199 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001429/0.1184, allocations: 1.371 MB / 390.9 MB, free: 1.777 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001393/0.1185, allocations: 43.92 kB / 390.9 MB, free: 1.734 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003475/0.1189, allocations: 47.98 kB / 391 MB, free: 1.688 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001339/0.119, allocations: 105.1 kB / 391.1 MB, free: 1.586 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-05/0.119, allocations: 27.98 kB / 391.1 MB, free: 1.559 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004524/0.1195, allocations: 0.613 MB / 391.7 MB, free: 0.9492 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1195, allocations: 0 / 391.7 MB, free: 0.9492 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001082/0.1206, allocations: 0.582 MB / 392.3 MB, free: 376 kB / 378.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.001314/0.1219, allocations: 0.6063 MB / 392.9 MB, free: 28 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001171/0.1231, allocations: 1.245 MB / 394.1 MB, free: 14.75 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.134e-05/0.1231, allocations: 38.41 kB / 394.2 MB, free: 14.71 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001182/0.1243, allocations: 1.199 MB / 395.4 MB, free: 13.44 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001007/0.1253, allocations: 0.6077 MB / 396 MB, free: 12.84 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01918/0.1445, allocations: 5.105 MB / 401.1 MB, free: 7.66 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008732/0.1454, allocations: 0.6705 MB / 401.8 MB, free: 6.969 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0006513/0.146, allocations: 255.7 kB / 402 MB, free: 6.715 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000703/0.1467, allocations: 467.1 kB / 402.5 MB, free: 6.254 MB / 394.7 MB Notification: Performance of SimCode: time 1.522e-06/0.1467, allocations: 0 / 402.5 MB, free: 6.254 MB / 394.7 MB Notification: Performance of Templates: time 0.03729/0.184, allocations: 31.81 MB / 434.3 MB, free: 6.801 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.434963244944811]