Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.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.0009918/0.0009918, allocations: 88.73 kB / 21.5 MB, free: 2.988 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.001188/0.001188, allocations: 165.1 kB / 24.91 MB, free: 8.715 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 1.035/1.035, allocations: 177 MB / 205.2 MB, free: 5.066 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.2856/0.2856, allocations: 34.86 MB / 296.6 MB, free: 500 kB / 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.IMS_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10500,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start") translateModel(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10500,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 326 MB, free: 7.059 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.712e-05/2.902e-05, allocations: 3.625 kB / 326 MB, free: 7.055 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start): time 0.0202/0.02023, allocations: 23.3 MB / 349.4 MB, free: 15.65 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01869/0.03891, allocations: 7.447 MB / 356.8 MB, free: 8.18 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00547/0.04438, allocations: 210.6 kB / 357 MB, free: 7.973 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005706/0.05009, allocations: 1.743 MB / 358.7 MB, free: 6.219 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009518/0.0596, allocations: 2.543 MB / 361.3 MB, free: 3.66 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004937/0.06454, allocations: 1.465 MB / 362.8 MB, free: 2.195 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01381/0.07836, allocations: 9.352 MB / 372.1 MB, free: 8.812 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005922/0.08428, allocations: 3.981 MB / 376.1 MB, free: 4.699 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008845/0.09312, allocations: 6.429 MB / 382.5 MB, free: 14.26 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005926/0.09905, allocations: 4.463 MB / 387 MB, free: 9.785 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001922/0.101, allocations: 1.078 MB / 388.1 MB, free: 8.707 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002681/0.1037, allocations: 1.37 MB / 389.4 MB, free: 7.336 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001697/0.1053, allocations: 2.781 MB / 392.2 MB, free: 4.547 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003788/0.1091, allocations: 3.216 MB / 395.4 MB, free: 1.324 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00711/0.1162, allocations: 7.59 MB / 403 MB, free: 9.711 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1163, allocations: 0 / 403 MB, free: 9.711 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.218e-06/0.1163, allocations: 3.984 kB / 403 MB, free: 9.707 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001231/0.1164, allocations: 0 / 403 MB, free: 9.707 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1778 * Number of variables: 1778 Notification: Performance of Generate backend data structure: time 0.009259/0.1256, allocations: 8.567 MB / 411.6 MB, free: 1.062 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.1257, allocations: 12.03 kB / 411.6 MB, free: 1.051 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003389/0.1291, allocations: 1.803 MB / 413.4 MB, free: 15.25 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003792/0.1329, allocations: 3.17 MB / 416.6 MB, free: 11.99 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002677/0.1331, allocations: 0.5058 MB / 417.1 MB, free: 11.48 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006906/0.1338, allocations: 0.676 MB / 417.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005369/0.1392, allocations: 5.371 MB / 423.1 MB, free: 5.203 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001056/0.1393, allocations: 15.94 kB / 423.1 MB, free: 5.188 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003953/0.1397, allocations: 284 kB / 423.4 MB, free: 4.91 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001742/0.1399, allocations: 293.4 kB / 423.7 MB, free: 4.621 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00294/0.1428, allocations: 2.08 MB / 425.8 MB, free: 2.512 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3123/0.4551, allocations: 18.37 MB / 444.2 MB, free: 80.45 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004277/0.4594, allocations: 3.443 MB / 447.6 MB, free: 80.17 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001414/0.4608, allocations: 1.371 MB / 449 MB, free: 80.11 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006028/0.4668, allocations: 3.336 MB / 452.3 MB, free: 79.78 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.611e-05/0.4669, allocations: 65.19 kB / 452.4 MB, free: 79.74 MB / 410.8 MB Notification: Performance of pre-optimization done (n=305): time 4.348e-06/0.4669, allocations: 3.031 kB / 452.4 MB, free: 79.74 MB / 410.8 MB Notification: Performance of matching and sorting (n=324): time 0.01056/0.4774, allocations: 6.431 MB / 458.8 MB, free: 79.06 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.778e-05/0.4775, allocations: 85.48 kB / 458.9 MB, free: 79 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001935/0.4794, allocations: 2.573 MB / 461.5 MB, free: 78.77 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001277/0.4795, allocations: 82.33 kB / 461.5 MB, free: 78.74 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008742/0.4804, allocations: 2.603 MB / 464.1 MB, free: 77.77 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004327/0.4808, allocations: 1.137 MB / 465.3 MB, free: 77.16 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006066/0.4814, allocations: 0.6411 MB / 465.9 MB, free: 77.1 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.296e-05/0.4815, allocations: 309.1 kB / 466.2 MB, free: 76.8 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005847/0.482, allocations: 461.7 kB / 466.7 MB, free: 76.78 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008144/0.4829, allocations: 1.381 MB / 468.1 MB, free: 75.69 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001625/0.4845, allocations: 2.238 MB / 470.3 MB, free: 74.56 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.008e-05/0.4845, allocations: 7.75 kB / 470.3 MB, free: 74.56 MB / 410.8 MB Notification: Performance of matching and sorting (n=486) (initialization): time 0.002844/0.4873, allocations: 2.6 MB / 472.9 MB, free: 73.5 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/0.4874, allocations: 16.12 kB / 472.9 MB, free: 73.48 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.968e-05/0.4874, allocations: 32 kB / 472.9 MB, free: 73.45 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001359/0.4887, allocations: 0.77 MB / 473.7 MB, free: 72.9 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001685/0.4904, allocations: 0.8821 MB / 474.6 MB, free: 72.23 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005861/0.4963, allocations: 15.76 MB / 490.4 MB, free: 57.2 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001498/0.4978, allocations: 134.5 kB / 490.5 MB, free: 57.14 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001637/0.498, allocations: 130.3 kB / 490.6 MB, free: 57.05 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 129 * Number of states: 0 () * Number of discrete variables: 9 (rheostatE.booleanStep[3].y,rheostatE.booleanStep[2].y,rheostatE.booleanStep[1].y,rheostatM.booleanStep[3].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (423): * Single equations (assignments): 409 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (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): 11 systems {(1,1,100.0%), (2,14,100.0%), (1,8,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (1,1,100.0%), (1,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001301/0.4993, allocations: 355.1 kB / 491 MB, free: 56.87 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000429/0.4997, allocations: 369 kB / 491.3 MB, free: 56.65 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002766/0.5024, allocations: 2.415 MB / 493.7 MB, free: 54.97 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/0.5025, allocations: 32 kB / 493.8 MB, free: 54.94 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/0.5025, allocations: 20 kB / 493.8 MB, free: 54.92 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.509e-05/0.5025, allocations: 15.94 kB / 493.8 MB, free: 54.9 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006747/0.5092, allocations: 5.285 MB / 499.1 MB, free: 50.77 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/0.5092, allocations: 8.062 kB / 499.1 MB, free: 50.77 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00132/0.5106, allocations: 0.6156 MB / 499.7 MB, free: 50.24 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001731/0.5123, allocations: 0.9998 MB / 0.489 GB, free: 49.3 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001288/0.5124, allocations: 74.59 kB / 0.489 GB, free: 49.28 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009909/0.5223, allocations: 23.36 MB / 0.5119 GB, free: 25.32 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.5223, allocations: 7.375 kB / 0.5119 GB, free: 25.31 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004031/0.5264, allocations: 3.105 MB / 0.5149 GB, free: 22.16 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009903/0.5274, allocations: 0.5144 MB / 0.5154 GB, free: 21.64 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002881/0.5276, allocations: 70.5 kB / 0.5155 GB, free: 21.58 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008315/0.5285, allocations: 127.9 kB / 0.5156 GB, free: 21.45 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004602/0.5289, allocations: 269.5 kB / 0.5159 GB, free: 21.19 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001898/0.5291, allocations: 63.97 kB / 0.5159 GB, free: 21.13 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.001014/0.5301, allocations: 1.317 MB / 0.5172 GB, free: 19.99 MB / 410.8 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5301, allocations: 0 / 0.5172 GB, free: 19.99 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.002801/0.5329, allocations: 1.344 MB / 0.5185 GB, free: 18.64 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 16 (aimsM.inertiaRotor.w,aimsM.stator.zeroInductor.i0,aimsM.stator.core.Phi.re,aimsM.stator.core.Phi.im,aimsM.rotor.zeroInductor.i0,aimsM.rotor.core.Phi.re,aimsM.rotor.core.Phi.im,aimsE.inertiaRotor.w,aimsE.i_0_s,aimsE.idq_sr[1],aimsE.idq_sr[2],aimsE.idq_rr[1],aimsE.idq_rr[2],aimsE.i_0_r,quadraticLoadTorqueM.phi,quadraticLoadTorqueE.phi) * Number of discrete variables: 9 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatE.booleanStep[1].y,rheostatE.booleanStep[2].y,rheostatE.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (231): * Single equations (assignments): 214 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 16 * 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): 16 systems {(2,14,100.0%), (1,1,100.0%), (1,8,100.0%), (1,2,100.0%), (1,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (1,8,100.0%), (1,8,100.0%), (1,1,100.0%), (2,12,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003729/0.5333, allocations: 274.4 kB / 0.5188 GB, free: 18.4 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.002594/0.5359, allocations: 3.296 MB / 0.522 GB, free: 15.1 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 4.761e-05/0.536, allocations: 55.84 kB / 0.522 GB, free: 15.04 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001901/0.5379, allocations: 3.191 MB / 0.5252 GB, free: 11.74 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002157/0.54, allocations: 1.165 MB / 0.5263 GB, free: 10.62 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01105/0.5511, allocations: 10.79 MB / 0.5368 GB, free: 15.77 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001473/0.5525, allocations: 1.498 MB / 0.5383 GB, free: 14.24 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.001823/0.5544, allocations: 0.5237 MB / 0.5388 GB, free: 13.71 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001868/0.5562, allocations: 1.021 MB / 0.5398 GB, free: 12.68 MB / 426.8 MB Notification: Performance of SimCode: time 1.733e-06/0.5562, allocations: 0 / 0.5398 GB, free: 12.68 MB / 426.8 MB Notification: Performance of Templates: time 0.0915/0.6477, allocations: 71.4 MB / 0.6095 GB, free: 6.238 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.3544470109045506]