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.00102/0.00102, allocations: 84.25 kB / 22.21 MB, free: 2.277 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.001092/0.001092, allocations: 162.2 kB / 25.61 MB, free: 8.57 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.8996/0.8996, allocations: 177 MB / 205.9 MB, free: 4.434 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.1388/0.1388, allocations: 34.88 MB / 297.4 MB, free: 13.33 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.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.262e-06/1.262e-06, allocations: 0 / 380.1 MB, free: 22.63 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.256e-05/1.383e-05, allocations: 4.141 kB / 380.1 MB, free: 22.62 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.04115/0.04116, allocations: 23.62 MB / 403.7 MB, free: 14.91 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.03291/0.07408, allocations: 7.29 MB / 411 MB, free: 7.594 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002846/0.07692, allocations: 179 kB / 411.2 MB, free: 7.418 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003151/0.08007, allocations: 1.595 MB / 412.8 MB, free: 5.812 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005496/0.08557, allocations: 2.449 MB / 415.3 MB, free: 3.348 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002664/0.08823, allocations: 1.481 MB / 416.7 MB, free: 1.863 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.007411/0.09565, allocations: 7.592 MB / 424.3 MB, free: 10.25 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003895/0.09954, allocations: 3.041 MB / 427.4 MB, free: 7.117 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006476/0.106, allocations: 5.142 MB / 432.5 MB, free: 1.965 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004337/0.1104, allocations: 3.441 MB / 435.9 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001583/0.1119, allocations: 0.8633 MB / 436.8 MB, free: 13.65 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002141/0.1141, allocations: 1.272 MB / 438.1 MB, free: 12.38 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00132/0.1154, allocations: 2.169 MB / 440.3 MB, free: 10.2 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002879/0.1183, allocations: 2.584 MB / 442.8 MB, free: 7.613 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006821/0.1251, allocations: 6.055 MB / 448.9 MB, free: 1.539 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.1251, allocations: 4 kB / 448.9 MB, free: 1.535 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1251, allocations: 0 / 448.9 MB, free: 1.535 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001663/0.1253, allocations: 0 / 448.9 MB, free: 1.535 MB / 362.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.009588/0.1349, allocations: 7.566 MB / 456.5 MB, free: 9.883 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.1349, allocations: 12.03 kB / 456.5 MB, free: 9.871 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00356/0.1385, allocations: 1.827 MB / 458.3 MB, free: 8.039 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004206/0.1427, allocations: 3.834 MB / 462.1 MB, free: 4.117 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002038/0.1429, allocations: 431.8 kB / 462.6 MB, free: 3.695 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005158/0.1434, allocations: 0.5588 MB / 463.1 MB, free: 3.137 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004456/0.1478, allocations: 4.192 MB / 467.3 MB, free: 14.81 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.172e-05/0.1479, allocations: 27.8 kB / 467.3 MB, free: 14.78 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000326/0.1483, allocations: 228 kB / 467.6 MB, free: 14.56 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001705/0.1484, allocations: 259.3 kB / 467.8 MB, free: 14.3 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002445/0.1509, allocations: 1.714 MB / 469.5 MB, free: 12.58 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02009/0.171, allocations: 18.86 MB / 488.4 MB, free: 9.094 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003464/0.1744, allocations: 2.676 MB / 491.1 MB, free: 6.617 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001768/0.1762, allocations: 1.155 MB / 492.2 MB, free: 5.453 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006393/0.1826, allocations: 4.045 MB / 496.3 MB, free: 1.359 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.04e-05/0.1826, allocations: 63.39 kB / 496.3 MB, free: 1.289 MB / 410.7 MB Notification: Performance of pre-optimization done (n=238): time 4.719e-06/0.1826, allocations: 0 / 496.3 MB, free: 1.289 MB / 410.7 MB Notification: Performance of matching and sorting (n=282): time 0.1563/0.3389, allocations: 6.352 MB / 0.4909 GB, free: 83.21 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.157e-05/0.339, allocations: 80.62 kB / 0.491 GB, free: 83.15 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002652/0.3416, allocations: 2.622 MB / 0.4935 GB, free: 82.82 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002611/0.3419, allocations: 72.11 kB / 0.4936 GB, free: 82.79 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001198/0.3431, allocations: 2.914 MB / 0.4964 GB, free: 81.75 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006161/0.3437, allocations: 1.037 MB / 0.4975 GB, free: 81.22 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006225/0.3443, allocations: 0.6848 MB / 0.4981 GB, free: 81.15 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.983e-05/0.3444, allocations: 484.7 kB / 0.4986 GB, free: 80.68 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006658/0.345, allocations: 416.9 kB / 0.499 GB, free: 80.67 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001416/0.3464, allocations: 2.181 MB / 0.5011 GB, free: 78.53 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002138/0.3486, allocations: 2.931 MB / 0.504 GB, free: 76.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.828e-05/0.3486, allocations: 12.2 kB / 0.504 GB, free: 76.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=472) (initialization): time 0.004139/0.3528, allocations: 3.03 MB / 0.5069 GB, free: 75.97 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.469e-05/0.3528, allocations: 18.97 kB / 0.507 GB, free: 75.97 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-05/0.3528, allocations: 39.66 kB / 0.507 GB, free: 75.97 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008664/0.3537, allocations: 470 kB / 0.5074 GB, free: 75.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001499/0.3552, allocations: 0.7847 MB / 0.5082 GB, free: 75.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004026/0.3592, allocations: 9.524 MB / 0.5175 GB, free: 68.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002073/0.3613, allocations: 153 kB / 0.5177 GB, free: 68.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002821/0.3616, allocations: 145.7 kB / 0.5178 GB, free: 68.1 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.001298/0.3629, allocations: 398 kB / 0.5182 GB, free: 67.94 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007572/0.3636, allocations: 460.4 kB / 0.5186 GB, free: 67.75 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002647/0.3663, allocations: 2.196 MB / 0.5208 GB, free: 67.45 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.99e-05/0.3663, allocations: 34.2 kB / 0.5208 GB, free: 67.45 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-05/0.3663, allocations: 7.531 kB / 0.5208 GB, free: 67.45 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.008e-05/0.3663, allocations: 14.62 kB / 0.5208 GB, free: 67.45 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008275/0.3746, allocations: 6.232 MB / 0.5269 GB, free: 64.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.166e-06/0.3746, allocations: 4 kB / 0.5269 GB, free: 64.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009845/0.3756, allocations: 451.2 kB / 0.5273 GB, free: 64.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009084/0.3765, allocations: 0.5083 MB / 0.5278 GB, free: 64.07 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001279/0.3767, allocations: 71.33 kB / 0.5279 GB, free: 64.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005071/0.3817, allocations: 13.49 MB / 0.5411 GB, free: 50.57 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.623e-06/0.3817, allocations: 7.656 kB / 0.5411 GB, free: 50.57 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005598/0.3873, allocations: 3.013 MB / 0.544 GB, free: 47.73 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001782/0.3891, allocations: 0.5966 MB / 0.5446 GB, free: 47.21 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006111/0.3897, allocations: 61.97 kB / 0.5447 GB, free: 47.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00141/0.3911, allocations: 107.9 kB / 0.5448 GB, free: 47.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004676/0.3916, allocations: 214.5 kB / 0.545 GB, free: 46.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001749/0.3918, allocations: 73.31 kB / 0.545 GB, free: 46.9 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001914/0.3937, allocations: 1.343 MB / 0.5464 GB, free: 45.85 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.3937, allocations: 0 / 0.5464 GB, free: 45.85 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004518/0.3982, allocations: 1.082 MB / 0.5474 GB, free: 44.77 MB / 410.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.0006382/0.3988, allocations: 298.2 kB / 0.5477 GB, free: 44.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004214/0.4031, allocations: 2.739 MB / 0.5504 GB, free: 41.83 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/0.4031, allocations: 10.56 kB / 0.5504 GB, free: 41.83 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002403/0.4055, allocations: 2.148 MB / 0.5525 GB, free: 39.66 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003609/0.4091, allocations: 0.7662 MB / 0.5532 GB, free: 38.92 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01612/0.4252, allocations: 9.08 MB / 0.5621 GB, free: 29.74 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001141/0.4263, allocations: 1.323 MB / 0.5634 GB, free: 28.39 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001583/0.4279, allocations: 498.3 kB / 0.5639 GB, free: 27.9 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001217/0.4291, allocations: 0.861 MB / 0.5647 GB, free: 27.04 MB / 410.7 MB Notification: Performance of SimCode: time 1.914e-06/0.4291, allocations: 0 / 0.5647 GB, free: 27.04 MB / 410.7 MB Notification: Performance of Templates: time 0.07183/0.501, allocations: 49.69 MB / 0.6132 GB, free: 10.04 MB / 442.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.792026366107166]