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.001444/0.001444, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001854/0.001854, allocations: 161 kB / 24.99 MB, free: 8.812 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.034/1.034, allocations: 177 MB / 205.2 MB, free: 5.605 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.2632/0.2632, allocations: 34.86 MB / 296.6 MB, free: 0.5742 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.713e-06/1.713e-06, allocations: 0 / 378.1 MB, free: 3.102 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.914e-05/2.085e-05, allocations: 6.312 kB / 378.1 MB, free: 3.094 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.01928/0.0193, allocations: 24.46 MB / 402.5 MB, free: 10.53 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01194/0.03124, allocations: 7.319 MB / 409.8 MB, free: 3.188 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003165/0.03441, allocations: 182.9 kB / 410 MB, free: 3.008 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003014/0.03742, allocations: 1.595 MB / 411.6 MB, free: 1.398 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004849/0.04227, allocations: 2.441 MB / 414.1 MB, free: 14.94 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002605/0.04487, allocations: 1.501 MB / 415.6 MB, free: 13.43 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.006839/0.05171, allocations: 7.571 MB / 423.1 MB, free: 5.836 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003763/0.05548, allocations: 3.044 MB / 426.2 MB, free: 2.707 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005701/0.06118, allocations: 4.889 MB / 431.1 MB, free: 13.8 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003952/0.06513, allocations: 3.515 MB / 434.6 MB, free: 10.28 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001329/0.06646, allocations: 0.8711 MB / 435.5 MB, free: 9.41 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001926/0.06839, allocations: 1.288 MB / 436.7 MB, free: 8.121 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001353/0.06974, allocations: 2.228 MB / 439 MB, free: 5.887 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002754/0.07249, allocations: 2.615 MB / 441.6 MB, free: 3.266 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1463/0.2188, allocations: 6.109 MB / 447.7 MB, free: 63.72 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.2188, allocations: 1.375 kB / 447.7 MB, free: 63.72 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.2188, allocations: 0 / 447.7 MB, free: 63.72 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000237/0.219, allocations: 0 / 447.7 MB, free: 63.72 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.01007/0.2291, allocations: 7.821 MB / 455.5 MB, free: 60.97 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.2291, allocations: 11.06 kB / 455.5 MB, free: 60.97 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003902/0.233, allocations: 1.893 MB / 457.4 MB, free: 60.54 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004925/0.2379, allocations: 3.975 MB / 461.4 MB, free: 59.66 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000189/0.2381, allocations: 428.8 kB / 461.8 MB, free: 59.65 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005525/0.2387, allocations: 0.5632 MB / 462.4 MB, free: 59.64 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006125/0.2448, allocations: 4.571 MB / 466.9 MB, free: 58.91 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001041/0.2449, allocations: 5.156 kB / 467 MB, free: 58.91 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003494/0.2453, allocations: 240.9 kB / 467.2 MB, free: 58.9 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000174/0.2454, allocations: 264.5 kB / 467.4 MB, free: 58.89 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004012/0.2495, allocations: 2.165 MB / 469.6 MB, free: 58.82 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02035/0.2698, allocations: 19.1 MB / 488.7 MB, free: 47.9 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003814/0.2736, allocations: 2.832 MB / 491.5 MB, free: 47.12 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00197/0.2756, allocations: 1.292 MB / 492.8 MB, free: 46.85 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006641/0.2822, allocations: 4.286 MB / 497.1 MB, free: 44.65 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.2823, allocations: 65.55 kB / 497.2 MB, free: 44.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=238): time 4.729e-06/0.2823, allocations: 0 / 497.2 MB, free: 44.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=282): time 0.01259/0.2949, allocations: 7.638 MB / 0.493 GB, free: 41.72 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.355e-05/0.2949, allocations: 78.98 kB / 0.4931 GB, free: 41.66 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00263/0.2975, allocations: 2.699 MB / 0.4957 GB, free: 40.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000127/0.2976, allocations: 74.3 kB / 0.4958 GB, free: 40.56 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009996/0.2986, allocations: 2.891 MB / 0.4986 GB, free: 38.34 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000444/0.2991, allocations: 1.026 MB / 0.4996 GB, free: 37.54 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006369/0.2997, allocations: 0.6673 MB / 0.5003 GB, free: 37.19 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.433e-05/0.2998, allocations: 476.8 kB / 0.5007 GB, free: 36.72 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008747/0.3006, allocations: 0.5372 MB / 0.5012 GB, free: 36.65 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001315/0.3019, allocations: 2.299 MB / 0.5035 GB, free: 34.34 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002581/0.3045, allocations: 3.148 MB / 0.5065 GB, free: 31.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.796e-05/0.3045, allocations: 13.03 kB / 0.5066 GB, free: 31.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=472) (initialization): time 0.00426/0.3088, allocations: 3.327 MB / 0.5098 GB, free: 30.28 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.941e-05/0.3088, allocations: 20 kB / 0.5098 GB, free: 30.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.606e-05/0.3089, allocations: 43.94 kB / 0.5099 GB, free: 30.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009549/0.3098, allocations: 477.6 kB / 0.5103 GB, free: 29.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001574/0.3114, allocations: 0.8407 MB / 0.5111 GB, free: 29.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004418/0.3158, allocations: 9.743 MB / 0.5207 GB, free: 19.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001575/0.3174, allocations: 220.6 kB / 0.5209 GB, free: 19.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001802/0.3176, allocations: 168.6 kB / 0.521 GB, free: 19.05 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.001152/0.3187, allocations: 406.4 kB / 0.5214 GB, free: 18.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004821/0.3192, allocations: 465.6 kB / 0.5219 GB, free: 18.24 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003071/0.3223, allocations: 2.422 MB / 0.5242 GB, free: 16.19 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.472e-05/0.3223, allocations: 30.41 kB / 0.5243 GB, free: 16.16 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.224e-05/0.3223, allocations: 8 kB / 0.5243 GB, free: 16.16 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.733e-05/0.3223, allocations: 19.31 kB / 0.5243 GB, free: 16.15 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007839/0.3302, allocations: 6.478 MB / 0.5306 GB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.646e-06/0.3302, allocations: 4 kB / 0.5306 GB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00108/0.3313, allocations: 488.7 kB / 0.5311 GB, free: 10.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001054/0.3323, allocations: 0.5271 MB / 0.5316 GB, free: 9.805 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001446/0.3325, allocations: 74.41 kB / 0.5317 GB, free: 9.742 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00615/0.3386, allocations: 13.86 MB / 0.5452 GB, free: 11.32 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/0.3386, allocations: 7.844 kB / 0.5452 GB, free: 11.32 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004961/0.3436, allocations: 3.353 MB / 0.5485 GB, free: 7.762 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001105/0.3447, allocations: 0.6419 MB / 0.5491 GB, free: 7.117 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002973/0.345, allocations: 52 kB / 0.5492 GB, free: 7.066 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009533/0.3459, allocations: 158.2 kB / 0.5493 GB, free: 6.918 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003479/0.3463, allocations: 217.5 kB / 0.5495 GB, free: 6.707 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001318/0.3464, allocations: 83.97 kB / 0.5496 GB, free: 6.625 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001928/0.3483, allocations: 1.485 MB / 0.5511 GB, free: 5.148 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3483, allocations: 0 / 0.5511 GB, free: 5.148 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003125/0.3515, allocations: 1.092 MB / 0.5521 GB, free: 4.059 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%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005878/0.352, allocations: 290.6 kB / 0.5524 GB, free: 3.793 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004359/0.3564, allocations: 2.978 MB / 0.5553 GB, free: 0.8438 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.3564, allocations: 7.844 kB / 0.5553 GB, free: 0.8398 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002372/0.3588, allocations: 2.288 MB / 0.5575 GB, free: 14.49 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002678/0.3615, allocations: 0.7728 MB / 0.5583 GB, free: 13.74 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01365/0.3751, allocations: 9.195 MB / 0.5673 GB, free: 4.391 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002506/0.3776, allocations: 2.755 MB / 0.57 GB, free: 1.594 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001003/0.3786, allocations: 284.4 kB / 0.5702 GB, free: 1.316 MB / 442.7 MB Notification: Performance of SimCode: time 2.194e-06/0.3786, allocations: 8 kB / 0.5702 GB, free: 1.309 MB / 442.7 MB Notification: Performance of Templates: time 0.4041/0.7828, allocations: 240.8 MB / 0.8054 GB, free: 141.3 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 > ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.228407425107434]