Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.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.001213/0.001213, allocations: 91.5 kB / 21.19 MB, free: 3.371 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.0009989/0.0009989, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 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.8888/0.8888, allocations: 177 MB / 204.9 MB, free: 5.578 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.2612/0.2612, allocations: 34.87 MB / 296.3 MB, free: 0.5312 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.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=15100,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator") translateModel(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=15100,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.684e-06/1.684e-06, allocations: 0 / 378.9 MB, free: 1.988 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.377e-05/2.546e-05, allocations: 6.312 kB / 378.9 MB, free: 1.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.019/0.01902, allocations: 24.57 MB / 403.5 MB, free: 9.301 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0117/0.03072, allocations: 7.331 MB / 410.8 MB, free: 1.945 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003429/0.03415, allocations: 182.9 kB / 411 MB, free: 1.766 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003573/0.03772, allocations: 1.611 MB / 412.6 MB, free: 144 kB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006007/0.04373, allocations: 2.441 MB / 415 MB, free: 13.68 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002581/0.04631, allocations: 1.493 MB / 416.5 MB, free: 12.19 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.006818/0.05313, allocations: 7.585 MB / 424.1 MB, free: 4.574 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004154/0.05728, allocations: 3.044 MB / 427.1 MB, free: 1.445 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007022/0.0643, allocations: 5.127 MB / 432.3 MB, free: 12.31 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004233/0.06854, allocations: 3.437 MB / 435.7 MB, free: 8.863 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00177/0.07031, allocations: 0.8594 MB / 436.6 MB, free: 8.004 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002609/0.07292, allocations: 1.261 MB / 437.8 MB, free: 6.742 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001883/0.0748, allocations: 2.181 MB / 440 MB, free: 4.555 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003273/0.07807, allocations: 2.584 MB / 442.6 MB, free: 1.965 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1526/0.2307, allocations: 6.055 MB / 448.7 MB, free: 64.51 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.822e-06/0.2307, allocations: 0 / 448.7 MB, free: 64.51 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2307, allocations: 0 / 448.7 MB, free: 64.51 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002697/0.231, allocations: 0 / 448.7 MB, free: 64.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: 1496 * Number of variables: 1496 Notification: Performance of Generate backend data structure: time 0.009784/0.2407, allocations: 7.736 MB / 456.4 MB, free: 61.76 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.2408, allocations: 11.16 kB / 456.4 MB, free: 61.76 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003512/0.2443, allocations: 1.901 MB / 458.3 MB, free: 61.33 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004725/0.249, allocations: 3.998 MB / 462.3 MB, free: 60.46 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001841/0.2492, allocations: 428.4 kB / 462.7 MB, free: 60.45 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005041/0.2497, allocations: 0.5619 MB / 463.3 MB, free: 60.44 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006174/0.2559, allocations: 4.566 MB / 467.8 MB, free: 59.7 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.814e-05/0.256, allocations: 16.42 kB / 467.9 MB, free: 59.7 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003151/0.2563, allocations: 237 kB / 468.1 MB, free: 59.69 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001726/0.2565, allocations: 263.3 kB / 468.3 MB, free: 59.68 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00378/0.2602, allocations: 2.157 MB / 470.5 MB, free: 59.61 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02092/0.2812, allocations: 18.97 MB / 489.5 MB, free: 48.52 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003737/0.2849, allocations: 2.88 MB / 492.4 MB, free: 47.71 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001838/0.2867, allocations: 1.283 MB / 493.6 MB, free: 47.45 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006825/0.2936, allocations: 4.197 MB / 497.8 MB, free: 45.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.135e-05/0.2936, allocations: 70.7 kB / 497.9 MB, free: 45.21 MB / 410.7 MB Notification: Performance of pre-optimization done (n=238): time 5.26e-06/0.2936, allocations: 0 / 497.9 MB, free: 45.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=282): time 0.01332/0.3069, allocations: 7.622 MB / 0.4937 GB, free: 42.34 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.905e-05/0.307, allocations: 84.94 kB / 0.4938 GB, free: 42.27 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002926/0.3099, allocations: 2.682 MB / 0.4964 GB, free: 41.25 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002144/0.3101, allocations: 74.61 kB / 0.4965 GB, free: 41.18 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001075/0.3112, allocations: 2.894 MB / 0.4993 GB, free: 38.96 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005839/0.3118, allocations: 1.023 MB / 0.5003 GB, free: 38.16 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006121/0.3124, allocations: 0.6683 MB / 0.5009 GB, free: 37.81 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.818e-05/0.3124, allocations: 484.5 kB / 0.5014 GB, free: 37.34 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008506/0.3133, allocations: 0.5297 MB / 0.5019 GB, free: 37.27 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001276/0.3146, allocations: 2.3 MB / 0.5042 GB, free: 34.95 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002477/0.317, allocations: 3.143 MB / 0.5072 GB, free: 32.31 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.008e-05/0.317, allocations: 10.81 kB / 0.5072 GB, free: 32.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=472) (initialization): time 0.004283/0.3213, allocations: 3.327 MB / 0.5105 GB, free: 30.69 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.045e-05/0.3214, allocations: 20 kB / 0.5105 GB, free: 30.67 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.354e-05/0.3214, allocations: 40 kB / 0.5105 GB, free: 30.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009648/0.3224, allocations: 483 kB / 0.511 GB, free: 30.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001551/0.3239, allocations: 0.8245 MB / 0.5118 GB, free: 29.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004441/0.3284, allocations: 9.749 MB / 0.5213 GB, free: 19.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001905/0.3303, allocations: 198.4 kB / 0.5215 GB, free: 19.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002095/0.3305, allocations: 167.3 kB / 0.5217 GB, free: 19.48 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 175 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (427): * Single equations (assignments): 417 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(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): 4 systems {(3,12,100.0%), (1,6,100.0%), (2,13,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001283/0.3318, allocations: 397.4 kB / 0.5221 GB, free: 19.13 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005711/0.3323, allocations: 480 kB / 0.5225 GB, free: 18.67 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002947/0.3353, allocations: 2.404 MB / 0.5249 GB, free: 16.62 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.902e-05/0.3353, allocations: 35.84 kB / 0.5249 GB, free: 16.59 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.348e-05/0.3353, allocations: 12 kB / 0.5249 GB, free: 16.58 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.629e-05/0.3353, allocations: 11.58 kB / 0.5249 GB, free: 16.58 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007897/0.3432, allocations: 6.433 MB / 0.5312 GB, free: 11.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/0.3432, allocations: 4.656 kB / 0.5312 GB, free: 11.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001026/0.3443, allocations: 484.5 kB / 0.5317 GB, free: 10.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000991/0.3453, allocations: 0.5199 MB / 0.5322 GB, free: 10.28 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001395/0.3454, allocations: 67.41 kB / 0.5322 GB, free: 10.22 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005826/0.3512, allocations: 13.78 MB / 0.5457 GB, free: 11.86 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.3512, allocations: 7.375 kB / 0.5457 GB, free: 11.85 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004631/0.3559, allocations: 3.336 MB / 0.549 GB, free: 8.324 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001098/0.357, allocations: 0.6379 MB / 0.5496 GB, free: 7.684 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002971/0.3573, allocations: 62.5 kB / 0.5496 GB, free: 7.625 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008643/0.3581, allocations: 131.9 kB / 0.5498 GB, free: 7.496 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003276/0.3584, allocations: 221.5 kB / 0.55 GB, free: 7.281 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001205/0.3586, allocations: 83.97 kB / 0.5501 GB, free: 7.199 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001751/0.3603, allocations: 1.473 MB / 0.5515 GB, free: 5.734 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3603, allocations: 0 / 0.5515 GB, free: 5.734 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002662/0.363, allocations: 1.087 MB / 0.5526 GB, free: 4.648 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 10 (smeeM.phiMechanical,smeeM.stator.core.Phi.re,smeeM.stator.core.Phi.im,smeeM.stator.stray.Phi.re,smeeM.stator.stray.Phi.im,smeeE.phiMechanical,smeeE.idq_sr[1],smeeE.idq_sr[2],smeeE.idq_rr[2],smeeE.idq_dr[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (235): * Single equations (assignments): 225 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(2,13,100.0%), (1,5,100.0%), (1,8,100.0%), (3,12,100.0%), (1,6,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.0005176/0.3635, allocations: 293.2 kB / 0.5528 GB, free: 4.387 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003932/0.3674, allocations: 2.974 MB / 0.5557 GB, free: 1.441 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/0.3674, allocations: 2.516 kB / 0.5558 GB, free: 1.441 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002258/0.3697, allocations: 2.251 MB / 0.5579 GB, free: 15.13 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002519/0.3722, allocations: 0.7602 MB / 0.5587 GB, free: 14.38 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01295/0.3852, allocations: 9.165 MB / 0.5676 GB, free: 5.062 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001291/0.3865, allocations: 1.327 MB / 0.5689 GB, free: 3.707 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00229/0.3887, allocations: 0.6971 MB / 0.5696 GB, free: 3.008 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000589/0.3893, allocations: 240.5 kB / 0.5698 GB, free: 2.773 MB / 442.7 MB Notification: Performance of SimCode: time 2.475e-06/0.3893, allocations: 0 / 0.5698 GB, free: 2.773 MB / 442.7 MB Notification: Performance of Templates: time 0.2115/0.6008, allocations: 47.21 MB / 0.616 GB, free: 119.5 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.628106919117272]