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.001075/0.001075, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.0009638/0.0009638, allocations: 168.9 kB / 24.91 MB, free: 8.762 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.9191/0.9191, allocations: 177 MB / 205.2 MB, free: 5.422 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.2812/0.2812, allocations: 34.87 MB / 296.6 MB, free: 0.5195 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.092e-06/1.092e-06, allocations: 0 / 326.1 MB, free: 7.016 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.165e-05/1.274e-05, allocations: 8.703 kB / 326.1 MB, free: 7.008 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.01699/0.017, allocations: 23.69 MB / 349.8 MB, free: 15.22 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01073/0.02772, allocations: 7.615 MB / 357.4 MB, free: 7.578 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001557/0.02928, allocations: 182.9 kB / 357.6 MB, free: 7.398 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002124/0.03141, allocations: 1.639 MB / 359.2 MB, free: 5.75 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005259/0.03666, allocations: 2.437 MB / 361.6 MB, free: 3.297 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00221/0.03887, allocations: 1.493 MB / 363.1 MB, free: 1.801 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.006056/0.04493, allocations: 7.595 MB / 370.7 MB, free: 10.18 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002832/0.04776, allocations: 3.115 MB / 373.8 MB, free: 6.949 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004704/0.05247, allocations: 5.115 MB / 378.9 MB, free: 1.824 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002789/0.05526, allocations: 3.453 MB / 382.4 MB, free: 14.36 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000912/0.05617, allocations: 0.8555 MB / 383.3 MB, free: 13.51 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001467/0.05763, allocations: 1.288 MB / 384.5 MB, free: 12.22 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001119/0.05875, allocations: 2.177 MB / 386.7 MB, free: 10.04 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001802/0.06056, allocations: 2.584 MB / 389.3 MB, free: 7.445 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004785/0.06534, allocations: 6.043 MB / 395.3 MB, free: 1.383 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.06535, allocations: 0 / 395.3 MB, free: 1.383 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.06535, allocations: 0 / 395.3 MB, free: 1.383 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.741e-05/0.0654, allocations: 7.938 kB / 395.4 MB, free: 1.375 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.01022/0.07562, allocations: 7.201 MB / 402.6 MB, free: 10.1 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.07566, allocations: 8.031 kB / 402.6 MB, free: 10.09 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004232/0.07989, allocations: 1.698 MB / 404.3 MB, free: 8.395 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004953/0.08484, allocations: 2.711 MB / 407 MB, free: 5.59 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002519/0.0851, allocations: 431.8 kB / 407.4 MB, free: 5.168 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007886/0.08589, allocations: 0.5511 MB / 407.9 MB, free: 4.617 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006065/0.09195, allocations: 4.291 MB / 412.2 MB, free: 204 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001051/0.09206, allocations: 15.83 kB / 412.3 MB, free: 188 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003743/0.09243, allocations: 232.1 kB / 412.5 MB, free: 15.95 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001855/0.09261, allocations: 259.3 kB / 412.7 MB, free: 15.7 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002951/0.09557, allocations: 1.676 MB / 414.4 MB, free: 14.02 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02023/0.1158, allocations: 15.22 MB / 429.6 MB, free: 14.19 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002706/0.1185, allocations: 2.438 MB / 432.1 MB, free: 11.75 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001307/0.1198, allocations: 1.047 MB / 433.1 MB, free: 10.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00591/0.1257, allocations: 3.346 MB / 436.5 MB, free: 7.305 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.905e-05/0.1258, allocations: 64.56 kB / 436.5 MB, free: 7.234 MB / 410.7 MB Notification: Performance of pre-optimization done (n=238): time 4.678e-06/0.1258, allocations: 0 / 436.5 MB, free: 7.234 MB / 410.7 MB Notification: Performance of matching and sorting (n=282): time 0.01129/0.1371, allocations: 6.377 MB / 442.9 MB, free: 0.8242 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/0.1371, allocations: 77.59 kB / 443 MB, free: 0.7344 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1952/0.3324, allocations: 2.269 MB / 445.2 MB, free: 84.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004732/0.3328, allocations: 71.11 kB / 445.3 MB, free: 84.67 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001022/0.3338, allocations: 2.328 MB / 447.6 MB, free: 84.13 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004328/0.3343, allocations: 1.005 MB / 448.6 MB, free: 83.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005411/0.3348, allocations: 0.6158 MB / 449.3 MB, free: 83.54 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.283e-05/0.3349, allocations: 306.9 kB / 449.6 MB, free: 83.25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005709/0.3354, allocations: 415.1 kB / 450 MB, free: 83.23 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000795/0.3362, allocations: 1.606 MB / 451.6 MB, free: 81.78 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001938/0.3382, allocations: 2.417 MB / 454 MB, free: 80.33 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.754e-05/0.3382, allocations: 9.812 kB / 454 MB, free: 80.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=472) (initialization): time 0.004047/0.3422, allocations: 2.444 MB / 456.4 MB, free: 80.15 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.917e-05/0.3423, allocations: 25.27 kB / 456.5 MB, free: 80.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-05/0.3423, allocations: 39.25 kB / 456.5 MB, free: 80.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007723/0.3431, allocations: 445.7 kB / 456.9 MB, free: 80.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001693/0.3448, allocations: 0.8589 MB / 457.8 MB, free: 80.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003758/0.3485, allocations: 6.967 MB / 464.8 MB, free: 74.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001333/0.3499, allocations: 158.8 kB / 464.9 MB, free: 74.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001729/0.35, allocations: 132.8 kB / 465.1 MB, free: 74.73 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.0009225/0.3509, allocations: 363 kB / 465.4 MB, free: 74.61 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004097/0.3514, allocations: 315.8 kB / 465.7 MB, free: 74.61 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002204/0.3536, allocations: 1.841 MB / 467.6 MB, free: 74.36 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.603e-05/0.3536, allocations: 31.88 kB / 467.6 MB, free: 74.36 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.3536, allocations: 7.688 kB / 467.6 MB, free: 74.36 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.621e-05/0.3536, allocations: 13.41 kB / 467.6 MB, free: 74.36 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005321/0.3589, allocations: 5.065 MB / 472.7 MB, free: 73.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.3589, allocations: 3.562 kB / 472.7 MB, free: 73.58 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001098/0.36, allocations: 0.494 MB / 473.2 MB, free: 73.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009338/0.361, allocations: 0.5588 MB / 473.7 MB, free: 73.48 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000142/0.3611, allocations: 66.84 kB / 473.8 MB, free: 73.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004259/0.3654, allocations: 9.849 MB / 483.6 MB, free: 64.99 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/0.3654, allocations: 11.69 kB / 483.7 MB, free: 64.98 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002594/0.368, allocations: 2.53 MB / 486.2 MB, free: 62.92 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006806/0.3687, allocations: 420.4 kB / 486.6 MB, free: 62.59 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002365/0.3689, allocations: 63.52 kB / 486.7 MB, free: 62.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007088/0.3696, allocations: 109.6 kB / 486.8 MB, free: 62.52 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002792/0.3699, allocations: 210.6 kB / 487 MB, free: 62.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.996e-05/0.37, allocations: 64.98 kB / 487 MB, free: 62.41 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008817/0.3709, allocations: 1.146 MB / 488.2 MB, free: 61.67 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3709, allocations: 0 / 488.2 MB, free: 61.67 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002379/0.3732, allocations: 1.079 MB / 489.3 MB, free: 60.7 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.0004061/0.3736, allocations: 278 kB / 489.5 MB, free: 60.54 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002222/0.3759, allocations: 2.363 MB / 491.9 MB, free: 58.65 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.138e-05/0.3759, allocations: 43.84 kB / 491.9 MB, free: 58.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001302/0.3772, allocations: 1.734 MB / 493.7 MB, free: 57.18 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001635/0.3789, allocations: 0.7737 MB / 494.4 MB, free: 56.71 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008651/0.3875, allocations: 8.768 MB / 0.4914 GB, free: 48.21 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008062/0.3883, allocations: 1.124 MB / 0.4925 GB, free: 47.06 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001176/0.3895, allocations: 0.4908 MB / 0.493 GB, free: 46.57 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00118/0.3907, allocations: 0.7685 MB / 0.4937 GB, free: 45.79 MB / 410.7 MB Notification: Performance of SimCode: time 2.235e-06/0.3907, allocations: 0 / 0.4937 GB, free: 45.79 MB / 410.7 MB Notification: Performance of Templates: time 0.06621/0.4569, allocations: 48.66 MB / 0.5413 GB, free: 13.89 MB / 426.7 MB " [Timeout remaining time 660] 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 -s gbode -gbm=radauIIA3 -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.585473353043199]