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.0009895/0.0009895, allocations: 95.5 kB / 20.94 MB, free: 3.594 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.001003/0.001003, allocations: 160.5 kB / 24.23 MB, free: 308 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.9431/0.9431, allocations: 177 MB / 204.5 MB, free: 5.586 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.2504/0.2504, allocations: 34.86 MB / 295.8 MB, free: 0.5664 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.393e-06/1.393e-06, allocations: 0 / 378.1 MB, free: 2.289 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.972e-05/2.111e-05, allocations: 2.312 kB / 378.1 MB, free: 2.285 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.02304/0.02307, allocations: 24.46 MB / 402.6 MB, free: 9.719 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01314/0.0362, allocations: 7.316 MB / 409.9 MB, free: 2.379 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003669/0.03987, allocations: 182.9 kB / 410.1 MB, free: 2.199 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00358/0.04345, allocations: 1.603 MB / 411.7 MB, free: 0.582 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005547/0.049, allocations: 2.441 MB / 414.1 MB, free: 14.12 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00267/0.05167, allocations: 1.489 MB / 415.6 MB, free: 12.63 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.007723/0.05939, allocations: 7.584 MB / 423.2 MB, free: 5.023 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004159/0.06355, allocations: 3.04 MB / 426.2 MB, free: 1.898 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005706/0.06926, allocations: 4.889 MB / 431.1 MB, free: 13 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003916/0.07317, allocations: 3.519 MB / 434.6 MB, free: 9.469 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001388/0.07456, allocations: 0.8711 MB / 435.5 MB, free: 8.598 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002555/0.07712, allocations: 1.284 MB / 436.8 MB, free: 7.312 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00159/0.07871, allocations: 2.224 MB / 439 MB, free: 5.082 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003467/0.08217, allocations: 2.623 MB / 441.6 MB, free: 2.453 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.146/0.2282, allocations: 6.105 MB / 447.7 MB, free: 64.27 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.2282, allocations: 2.75 kB / 447.7 MB, free: 64.27 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2282, allocations: 2.312 kB / 447.7 MB, free: 64.27 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002642/0.2284, allocations: 0 / 447.7 MB, free: 64.27 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.01017/0.2386, allocations: 7.812 MB / 455.5 MB, free: 61.52 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.2386, allocations: 8.062 kB / 455.6 MB, free: 61.52 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003886/0.2425, allocations: 1.899 MB / 457.5 MB, free: 61.1 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00445/0.247, allocations: 3.973 MB / 461.4 MB, free: 60.21 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001689/0.2471, allocations: 427.1 kB / 461.8 MB, free: 60.2 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004896/0.2476, allocations: 0.5669 MB / 462.4 MB, free: 60.2 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005697/0.2533, allocations: 4.566 MB / 467 MB, free: 59.46 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001009/0.2534, allocations: 13.86 kB / 467 MB, free: 59.46 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003218/0.2538, allocations: 237.1 kB / 467.2 MB, free: 59.45 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001756/0.2539, allocations: 261.3 kB / 467.5 MB, free: 59.44 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003961/0.2579, allocations: 2.165 MB / 469.6 MB, free: 59.37 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01931/0.2772, allocations: 19.1 MB / 488.7 MB, free: 48.33 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003548/0.2807, allocations: 2.838 MB / 491.6 MB, free: 47.55 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001844/0.2826, allocations: 1.289 MB / 492.9 MB, free: 47.28 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006053/0.2886, allocations: 4.297 MB / 497.2 MB, free: 45.08 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/0.2887, allocations: 61.27 kB / 497.2 MB, free: 45.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=238): time 3.636e-06/0.2887, allocations: 0 / 497.2 MB, free: 45.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=282): time 0.01219/0.3009, allocations: 7.637 MB / 0.493 GB, free: 42.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.402e-05/0.3009, allocations: 78.41 kB / 0.4931 GB, free: 42.09 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002474/0.3034, allocations: 2.701 MB / 0.4957 GB, free: 41.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001249/0.3035, allocations: 72.61 kB / 0.4958 GB, free: 40.99 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009662/0.3045, allocations: 2.897 MB / 0.4986 GB, free: 38.77 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004369/0.3049, allocations: 1.022 MB / 0.4996 GB, free: 37.97 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005906/0.3055, allocations: 0.6674 MB / 0.5003 GB, free: 37.62 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.528e-05/0.3055, allocations: 480.8 kB / 0.5007 GB, free: 37.15 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008142/0.3064, allocations: 0.5303 MB / 0.5013 GB, free: 37.08 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0013/0.3077, allocations: 2.298 MB / 0.5035 GB, free: 34.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00248/0.3101, allocations: 3.15 MB / 0.5066 GB, free: 32.13 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.576e-05/0.3102, allocations: 10.38 kB / 0.5066 GB, free: 32.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=472) (initialization): time 0.004147/0.3143, allocations: 3.329 MB / 0.5098 GB, free: 30.46 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.859e-05/0.3143, allocations: 24 kB / 0.5099 GB, free: 30.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.838e-05/0.3144, allocations: 39.94 kB / 0.5099 GB, free: 30.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009123/0.3153, allocations: 477.8 kB / 0.5104 GB, free: 30 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00166/0.3169, allocations: 0.8332 MB / 0.5112 GB, free: 29.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004511/0.3214, allocations: 9.762 MB / 0.5207 GB, free: 19.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001962/0.3234, allocations: 203.8 kB / 0.5209 GB, free: 19.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002288/0.3236, allocations: 170.4 kB / 0.5211 GB, free: 19.23 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.001206/0.3248, allocations: 403.1 kB / 0.5215 GB, free: 18.88 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005344/0.3254, allocations: 464.6 kB / 0.5219 GB, free: 18.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002948/0.3283, allocations: 2.421 MB / 0.5243 GB, free: 16.37 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.416e-05/0.3283, allocations: 36 kB / 0.5243 GB, free: 16.34 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/0.3283, allocations: 11.89 kB / 0.5243 GB, free: 16.33 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.554e-05/0.3284, allocations: 19.28 kB / 0.5243 GB, free: 16.32 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007509/0.3359, allocations: 6.479 MB / 0.5306 GB, free: 10.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.315e-06/0.3359, allocations: 4 kB / 0.5307 GB, free: 10.76 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001015/0.3369, allocations: 493.6 kB / 0.5311 GB, free: 10.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009758/0.3379, allocations: 0.5253 MB / 0.5316 GB, free: 9.957 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001053/0.338, allocations: 71.97 kB / 0.5317 GB, free: 9.887 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005799/0.3438, allocations: 13.86 MB / 0.5452 GB, free: 11.39 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.3438, allocations: 8 kB / 0.5453 GB, free: 11.39 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004729/0.3485, allocations: 3.353 MB / 0.5485 GB, free: 7.84 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001079/0.3496, allocations: 0.6419 MB / 0.5492 GB, free: 7.195 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002784/0.3499, allocations: 67.97 kB / 0.5492 GB, free: 7.129 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008733/0.3507, allocations: 143.9 kB / 0.5494 GB, free: 6.988 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003457/0.3511, allocations: 225.1 kB / 0.5496 GB, free: 6.773 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001228/0.3512, allocations: 90.55 kB / 0.5497 GB, free: 6.688 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001783/0.353, allocations: 1.477 MB / 0.5511 GB, free: 5.219 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.353, allocations: 0 / 0.5511 GB, free: 5.219 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002655/0.3556, allocations: 1.094 MB / 0.5522 GB, free: 4.125 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.0004777/0.3561, allocations: 292.1 kB / 0.5524 GB, free: 3.855 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00373/0.3599, allocations: 2.971 MB / 0.5553 GB, free: 0.9141 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.3599, allocations: 0 / 0.5553 GB, free: 0.9141 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00218/0.362, allocations: 2.291 MB / 0.5576 GB, free: 14.56 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002256/0.3643, allocations: 0.7737 MB / 0.5583 GB, free: 13.81 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01182/0.3761, allocations: 9.179 MB / 0.5673 GB, free: 4.477 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001154/0.3773, allocations: 1.326 MB / 0.5686 GB, free: 3.125 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001789/0.3791, allocations: 0.6933 MB / 0.5693 GB, free: 2.43 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005095/0.3796, allocations: 252.4 kB / 0.5695 GB, free: 2.184 MB / 442.7 MB Notification: Performance of SimCode: time 1.803e-06/0.3796, allocations: 4 kB / 0.5695 GB, free: 2.18 MB / 442.7 MB Notification: Performance of Templates: time 0.2071/0.5867, allocations: 45.97 MB / 0.6144 GB, free: 149.4 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.691492438083515]