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.001021/0.001021, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001126/0.001126, allocations: 162.2 kB / 24.99 MB, free: 8.801 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.9175/0.9175, allocations: 177 MB / 205.2 MB, free: 5.594 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.2782/0.2782, allocations: 34.86 MB / 296.6 MB, free: 0.582 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.423e-06/1.423e-06, allocations: 0 / 378.9 MB, free: 2.309 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.916e-05/3.059e-05, allocations: 11.66 kB / 378.9 MB, free: 2.297 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.02795/0.02798, allocations: 34.13 MB / 413 MB, free: 12 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01766/0.04565, allocations: 9.916 MB / 422.9 MB, free: 6.062 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006541/0.05219, allocations: 306.3 kB / 423.2 MB, free: 5.762 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01266/0.06485, allocations: 8.706 MB / 431.9 MB, free: 13.02 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0106/0.07545, allocations: 3.988 MB / 435.9 MB, free: 9.004 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005618/0.08107, allocations: 2.317 MB / 438.2 MB, free: 6.684 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1726/0.2537, allocations: 13.93 MB / 452.2 MB, free: 48.5 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01971/0.2734, allocations: 14.99 MB / 467.2 MB, free: 45.82 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01284/0.2863, allocations: 10.07 MB / 477.2 MB, free: 41.16 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00938/0.2956, allocations: 6.975 MB / 484.2 MB, free: 38.96 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004914/0.3005, allocations: 1.895 MB / 486.1 MB, free: 38.96 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006938/0.3075, allocations: 2.324 MB / 488.4 MB, free: 38.87 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004805/0.3123, allocations: 3.944 MB / 492.4 MB, free: 36.38 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00998/0.3223, allocations: 4.901 MB / 497.3 MB, free: 33.98 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01519/0.3375, allocations: 12.04 MB / 0.4974 GB, free: 28.51 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.3375, allocations: 0 / 0.4974 GB, free: 28.51 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3375, allocations: 0.75 kB / 0.4974 GB, free: 28.51 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0006519/0.3381, allocations: 0 / 0.4974 GB, free: 28.51 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.03094/0.3691, allocations: 15.81 MB / 0.5128 GB, free: 20.86 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.3691, allocations: 9.25 kB / 0.5128 GB, free: 20.86 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0257/0.3948, allocations: 8.578 MB / 0.5212 GB, free: 15.12 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01242/0.4072, allocations: 7.896 MB / 0.5289 GB, free: 8.539 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005348/0.4078, allocations: 0.8117 MB / 0.5297 GB, free: 7.738 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003212/0.411, allocations: 1.079 MB / 0.5308 GB, free: 6.672 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02197/0.4329, allocations: 9.473 MB / 0.54 GB, free: 13.32 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002548/0.4332, allocations: 15.94 kB / 0.54 GB, free: 13.3 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001327/0.4345, allocations: 455.2 kB / 0.5405 GB, free: 12.87 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004795/0.435, allocations: 0.6397 MB / 0.5411 GB, free: 12.23 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01625/0.4513, allocations: 5.314 MB / 0.5463 GB, free: 6.918 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06419/0.5154, allocations: 43.78 MB / 0.589 GB, free: 11.11 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01157/0.527, allocations: 10.06 MB / 0.5989 GB, free: 2.902 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003361/0.5304, allocations: 2.03 MB / 0.6008 GB, free: 0.8516 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0114/0.5418, allocations: 7.475 MB / 0.6081 GB, free: 9.527 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002378/0.5442, allocations: 2.072 MB / 0.6102 GB, free: 7.301 MB / 490.7 MB Notification: Performance of pre-optimization done (n=434): time 7.224e-06/0.5442, allocations: 0 / 0.6102 GB, free: 7.301 MB / 490.7 MB Notification: Performance of matching and sorting (n=452): time 0.1828/0.727, allocations: 14.46 MB / 0.6243 GB, free: 148.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/0.7271, allocations: 408.4 kB / 0.6247 GB, free: 147.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005732/0.7328, allocations: 3.766 MB / 0.6283 GB, free: 147.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004674/0.7333, allocations: 103.6 kB / 0.6284 GB, free: 147.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003426/0.7367, allocations: 5.077 MB / 0.6334 GB, free: 144.5 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001389/0.7381, allocations: 1.644 MB / 0.635 GB, free: 143.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001606/0.7397, allocations: 1.238 MB / 0.6362 GB, free: 143.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 4.671e-05/0.7397, allocations: 480.7 kB / 0.6367 GB, free: 142.9 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002152/0.7419, allocations: 0.9509 MB / 0.6376 GB, free: 142.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003243/0.7451, allocations: 4.423 MB / 0.6419 GB, free: 138.7 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006118/0.7512, allocations: 5.506 MB / 0.6473 GB, free: 134.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-05/0.7513, allocations: 19 kB / 0.6473 GB, free: 134.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=772) (initialization): time 0.01068/0.762, allocations: 5.747 MB / 0.6529 GB, free: 133.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.406e-05/0.762, allocations: 35.91 kB / 0.653 GB, free: 133.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.955e-05/0.7621, allocations: 67.22 kB / 0.653 GB, free: 133.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003717/0.7658, allocations: 1.376 MB / 0.6544 GB, free: 133.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003955/0.7698, allocations: 1.329 MB / 0.6557 GB, free: 133.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01139/0.7812, allocations: 14.47 MB / 0.6698 GB, free: 121.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003447/0.7846, allocations: 358.9 kB / 0.6701 GB, free: 121.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006048/0.7852, allocations: 288.8 kB / 0.6704 GB, free: 121.5 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 297 * 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 (688): * Single equations (assignments): 682 * 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.002623/0.7879, allocations: 0.5419 MB / 0.6709 GB, free: 121 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000999/0.7889, allocations: 0.6262 MB / 0.6716 GB, free: 120.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006883/0.7957, allocations: 4.594 MB / 0.676 GB, free: 119.2 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.221e-05/0.7958, allocations: 47.19 kB / 0.6761 GB, free: 119.2 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.83e-05/0.7958, allocations: 18 kB / 0.6761 GB, free: 119.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.753e-05/0.7958, allocations: 27.67 kB / 0.6761 GB, free: 119.2 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01824/0.8141, allocations: 12.26 MB / 0.6881 GB, free: 114 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.227e-05/0.8141, allocations: 7.672 kB / 0.6881 GB, free: 114 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001836/0.8159, allocations: 0.7579 MB / 0.6889 GB, free: 114 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002979/0.8189, allocations: 1.462 MB / 0.6903 GB, free: 113.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002743/0.8192, allocations: 116.9 kB / 0.6904 GB, free: 113.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01052/0.8297, allocations: 18.82 MB / 0.7088 GB, free: 97.68 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.8297, allocations: 11.42 kB / 0.7088 GB, free: 97.68 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008559/0.8382, allocations: 5.712 MB / 0.7144 GB, free: 94.55 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001919/0.8402, allocations: 1.003 MB / 0.7153 GB, free: 93.67 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005287/0.8407, allocations: 103.8 kB / 0.7154 GB, free: 93.57 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001237/0.8419, allocations: 226.3 kB / 0.7157 GB, free: 93.41 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005657/0.8425, allocations: 367.2 kB / 0.716 GB, free: 93.22 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001822/0.8427, allocations: 139.4 kB / 0.7161 GB, free: 93.1 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002071/0.8447, allocations: 1.876 MB / 0.718 GB, free: 91.55 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.8447, allocations: 4 kB / 0.718 GB, free: 91.55 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004478/0.8492, allocations: 1.879 MB / 0.7198 GB, free: 89.67 MB / 490.7 MB 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.001167/0.8504, allocations: 0.5614 MB / 0.7204 GB, free: 89.27 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006917/0.8573, allocations: 5.114 MB / 0.7253 GB, free: 84.64 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.8573, allocations: 3.938 kB / 0.7254 GB, free: 84.63 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00372/0.861, allocations: 3.595 MB / 0.7289 GB, free: 81.29 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003414/0.8645, allocations: 1.178 MB / 0.73 GB, free: 80.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02013/0.8846, allocations: 16.65 MB / 0.7463 GB, free: 64.86 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00221/0.8868, allocations: 2.878 MB / 0.7491 GB, free: 62.17 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003174/0.89, allocations: 1.55 MB / 0.7506 GB, free: 60.61 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007864/0.8907, allocations: 396.4 kB / 0.751 GB, free: 60.23 MB / 490.7 MB Notification: Performance of SimCode: time 2.315e-06/0.8908, allocations: 0 / 0.751 GB, free: 60.23 MB / 490.7 MB Notification: Performance of Templates: time 0.2233/1.114, allocations: 74.64 MB / 0.8239 GB, free: 146.3 MB / 490.7 MB " [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: 6.0788854961283505]