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.000983/0.000983, allocations: 84.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.001099/0.001099, allocations: 169.5 kB / 24.92 MB, free: 8.258 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.952/0.952, allocations: 177 MB / 205.2 MB, free: 5.43 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.2546/0.2546, allocations: 34.87 MB / 296.6 MB, free: 452 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.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.463e-06/1.463e-06, allocations: 0 / 326 MB, free: 7.035 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.411e-05/2.557e-05, allocations: 2.312 kB / 326 MB, free: 7.031 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.0181/0.01812, allocations: 23.63 MB / 349.7 MB, free: 15.29 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01492/0.03305, allocations: 7.623 MB / 357.3 MB, free: 7.645 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00434/0.03739, allocations: 182.9 kB / 357.5 MB, free: 7.465 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004639/0.04202, allocations: 1.628 MB / 359.1 MB, free: 5.828 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006791/0.04882, allocations: 2.449 MB / 361.5 MB, free: 3.363 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003536/0.05235, allocations: 1.493 MB / 363 MB, free: 1.867 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.008698/0.06105, allocations: 7.601 MB / 370.6 MB, free: 10.24 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00456/0.06561, allocations: 3.111 MB / 373.7 MB, free: 7.012 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008758/0.07437, allocations: 5.123 MB / 378.9 MB, free: 1.879 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005368/0.07974, allocations: 3.445 MB / 382.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00217/0.08191, allocations: 0.8594 MB / 383.2 MB, free: 13.57 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003491/0.0854, allocations: 1.272 MB / 384.4 MB, free: 12.29 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001894/0.08729, allocations: 2.169 MB / 386.6 MB, free: 10.12 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004265/0.09156, allocations: 2.588 MB / 389.2 MB, free: 7.523 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007921/0.09948, allocations: 6.047 MB / 395.2 MB, free: 1.457 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.655e-06/0.09948, allocations: 4 kB / 395.3 MB, free: 1.453 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.09949, allocations: 0 / 395.3 MB, free: 1.453 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002859/0.09977, allocations: 0 / 395.3 MB, free: 1.453 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.01087/0.1106, allocations: 7.197 MB / 402.4 MB, free: 10.18 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.1107, allocations: 12.03 kB / 402.5 MB, free: 10.17 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003748/0.1144, allocations: 1.698 MB / 404.2 MB, free: 8.473 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005322/0.1197, allocations: 2.707 MB / 406.9 MB, free: 5.672 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002666/0.12, allocations: 435.8 kB / 407.3 MB, free: 5.246 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009609/0.121, allocations: 0.5589 MB / 407.9 MB, free: 4.688 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005743/0.1267, allocations: 4.284 MB / 412.1 MB, free: 284 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001169/0.1268, allocations: 11.89 kB / 412.1 MB, free: 272 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003549/0.1272, allocations: 236 kB / 412.4 MB, free: 36 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002046/0.1274, allocations: 259.3 kB / 412.6 MB, free: 15.78 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003198/0.1306, allocations: 1.68 MB / 414.3 MB, free: 14.09 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02326/0.1539, allocations: 15.23 MB / 429.5 MB, free: 14.26 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003071/0.1569, allocations: 2.433 MB / 432 MB, free: 11.83 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001484/0.1584, allocations: 1.051 MB / 433 MB, free: 10.77 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007349/0.1658, allocations: 3.343 MB / 436.4 MB, free: 7.379 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.911e-05/0.1658, allocations: 60.5 kB / 436.4 MB, free: 7.312 MB / 410.7 MB Notification: Performance of pre-optimization done (n=238): time 6.092e-06/0.1658, allocations: 4 kB / 436.4 MB, free: 7.309 MB / 410.7 MB Notification: Performance of matching and sorting (n=282): time 0.01323/0.179, allocations: 6.377 MB / 442.8 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/0.1791, allocations: 85.59 kB / 442.9 MB, free: 0.8008 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1677/0.3468, allocations: 2.266 MB / 445.2 MB, free: 84.79 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004233/0.3472, allocations: 71.33 kB / 445.2 MB, free: 84.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001024/0.3483, allocations: 2.324 MB / 447.5 MB, free: 84.22 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006928/0.3489, allocations: 1.014 MB / 448.6 MB, free: 83.68 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007206/0.3497, allocations: 0.6127 MB / 449.2 MB, free: 83.63 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.002e-05/0.3497, allocations: 304.2 kB / 449.5 MB, free: 83.33 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007425/0.3504, allocations: 411.6 kB / 449.9 MB, free: 83.32 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001038/0.3515, allocations: 1.608 MB / 451.5 MB, free: 81.87 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002156/0.3536, allocations: 2.414 MB / 453.9 MB, free: 80.41 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.75e-05/0.3537, allocations: 10.03 kB / 453.9 MB, free: 80.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=472) (initialization): time 0.003892/0.3576, allocations: 2.447 MB / 456.3 MB, free: 80.23 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.653e-05/0.3576, allocations: 23.34 kB / 456.4 MB, free: 80.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.298e-05/0.3576, allocations: 36.22 kB / 456.4 MB, free: 80.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00103/0.3587, allocations: 452.6 kB / 456.8 MB, free: 80.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002011/0.3607, allocations: 0.7729 MB / 457.6 MB, free: 80.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004537/0.3652, allocations: 6.959 MB / 464.6 MB, free: 74.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002286/0.3675, allocations: 158.6 kB / 464.7 MB, free: 74.83 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000287/0.3678, allocations: 135.2 kB / 464.9 MB, free: 74.83 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.001369/0.3692, allocations: 353.8 kB / 465.2 MB, free: 74.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008212/0.37, allocations: 320.6 kB / 465.5 MB, free: 74.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002928/0.3729, allocations: 1.836 MB / 467.4 MB, free: 74.45 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-05/0.3729, allocations: 31.06 kB / 467.4 MB, free: 74.45 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.485e-05/0.373, allocations: 7.938 kB / 467.4 MB, free: 74.45 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.028e-05/0.373, allocations: 18.95 kB / 467.4 MB, free: 74.45 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008009/0.381, allocations: 5.055 MB / 472.5 MB, free: 73.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.281e-05/0.381, allocations: 7.344 kB / 472.5 MB, free: 73.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001274/0.3823, allocations: 442.6 kB / 472.9 MB, free: 73.67 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00137/0.3836, allocations: 0.5606 MB / 473.5 MB, free: 73.57 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001816/0.3838, allocations: 69.17 kB / 473.5 MB, free: 73.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00536/0.3892, allocations: 9.822 MB / 483.4 MB, free: 65.21 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/0.3892, allocations: 11.94 kB / 483.4 MB, free: 65.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003977/0.3932, allocations: 2.532 MB / 485.9 MB, free: 63.15 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001218/0.3944, allocations: 415.2 kB / 486.3 MB, free: 62.82 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004047/0.3948, allocations: 64.91 kB / 486.4 MB, free: 62.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001062/0.3959, allocations: 114.2 kB / 486.5 MB, free: 62.74 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003654/0.3962, allocations: 205 kB / 486.7 MB, free: 62.67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001389/0.3964, allocations: 65.83 kB / 486.8 MB, free: 62.63 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001328/0.3977, allocations: 1.143 MB / 487.9 MB, free: 61.89 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3977, allocations: 0 / 487.9 MB, free: 61.89 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003568/0.4013, allocations: 1.086 MB / 489 MB, free: 60.92 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.0004706/0.4017, allocations: 269.7 kB / 489.2 MB, free: 60.76 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002641/0.4044, allocations: 2.364 MB / 491.6 MB, free: 58.88 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.608e-05/0.4044, allocations: 43.84 kB / 491.7 MB, free: 58.83 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001532/0.406, allocations: 1.734 MB / 493.4 MB, free: 57.41 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002963/0.4089, allocations: 0.7654 MB / 494.1 MB, free: 56.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01152/0.4205, allocations: 8.784 MB / 0.4911 GB, free: 48.46 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001106/0.4216, allocations: 1.128 MB / 0.4922 GB, free: 47.31 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001638/0.4232, allocations: 494.3 kB / 0.4927 GB, free: 46.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001246/0.4244, allocations: 0.7646 MB / 0.4935 GB, free: 46.05 MB / 410.7 MB Notification: Performance of SimCode: time 2.335e-06/0.4244, allocations: 3.469 kB / 0.4935 GB, free: 46.05 MB / 410.7 MB Notification: Performance of Templates: time 0.06038/0.4848, allocations: 48.54 MB / 0.5409 GB, free: 14.26 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 -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.450838727876544]