Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.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.001285/0.001285, 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.001164/0.001164, allocations: 164.2 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.9747/0.9747, allocations: 177 MB / 205.2 MB, free: 5.043 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.2407/0.2407, allocations: 34.86 MB / 296.6 MB, free: 396 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.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=151000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator") translateModel(ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=151000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.405e-06/2.405e-06, allocations: 0 / 326 MB, free: 7 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.901e-05/3.142e-05, allocations: 6.062 kB / 326.1 MB, free: 6.996 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.03525/0.03528, allocations: 39.35 MB / 365.4 MB, free: 15.48 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.02435/0.05963, allocations: 11.89 MB / 377.3 MB, free: 3.547 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008758/0.06839, allocations: 362.1 kB / 377.6 MB, free: 3.191 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01055/0.07894, allocations: 8.391 MB / 386 MB, free: 10.76 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009929/0.08887, allocations: 3.789 MB / 389.8 MB, free: 6.949 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004554/0.09342, allocations: 2.34 MB / 392.2 MB, free: 4.609 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.01288/0.1063, allocations: 13.1 MB / 405.3 MB, free: 7.461 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01844/0.1247, allocations: 15.98 MB / 421.2 MB, free: 7.281 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01125/0.136, allocations: 9.937 MB / 431.2 MB, free: 13.33 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008398/0.1444, allocations: 6.89 MB / 438.1 MB, free: 6.426 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003942/0.1483, allocations: 1.812 MB / 439.9 MB, free: 4.613 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004377/0.1527, allocations: 2.241 MB / 442.1 MB, free: 2.371 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1871/0.3398, allocations: 3.753 MB / 445.9 MB, free: 49.28 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.011/0.3508, allocations: 4.812 MB / 450.7 MB, free: 49.28 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01055/0.3614, allocations: 11.61 MB / 462.3 MB, free: 48.45 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.3614, allocations: 0 / 462.3 MB, free: 48.45 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3614, allocations: 0 / 462.3 MB, free: 48.45 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000175/0.3616, allocations: 0 / 462.3 MB, free: 48.45 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: 3043 * Number of variables: 3043 Notification: Performance of Generate backend data structure: time 0.01716/0.3787, allocations: 13.73 MB / 476 MB, free: 44.31 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.3788, allocations: 10.34 kB / 476 MB, free: 44.31 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01406/0.3928, allocations: 5.68 MB / 481.7 MB, free: 44.19 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008002/0.4008, allocations: 4.348 MB / 486.1 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003745/0.4012, allocations: 0.833 MB / 486.9 MB, free: 42.06 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001265/0.4025, allocations: 1.095 MB / 488 MB, free: 41.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0105/0.413, allocations: 8.733 MB / 496.7 MB, free: 37.74 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001545/0.4131, allocations: 18.88 kB / 496.7 MB, free: 37.73 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007128/0.4138, allocations: 457.5 kB / 497.2 MB, free: 37.29 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002784/0.4141, allocations: 0.5812 MB / 497.8 MB, free: 36.71 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0054/0.4195, allocations: 4.111 MB / 0.4901 GB, free: 32.56 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0351/0.4546, allocations: 34.67 MB / 0.524 GB, free: 14.87 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006529/0.4611, allocations: 4.65 MB / 0.5285 GB, free: 10.37 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001537/0.4627, allocations: 1.236 MB / 0.5297 GB, free: 9.16 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007638/0.4703, allocations: 4.612 MB / 0.5342 GB, free: 4.707 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.408e-05/0.4703, allocations: 65.56 kB / 0.5343 GB, free: 4.637 MB / 426.7 MB Notification: Performance of pre-optimization done (n=313): time 5.049e-06/0.4703, allocations: 0 / 0.5343 GB, free: 4.637 MB / 426.7 MB Notification: Performance of matching and sorting (n=340): time 0.01359/0.4839, allocations: 7.293 MB / 0.5414 GB, free: 13.45 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.332e-05/0.484, allocations: 116.4 kB / 0.5415 GB, free: 13.32 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003757/0.4878, allocations: 3.455 MB / 0.5449 GB, free: 10.55 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001812/0.4879, allocations: 81.7 kB / 0.545 GB, free: 10.46 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002069/0.49, allocations: 4.81 MB / 0.5497 GB, free: 5.836 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001/0.491, allocations: 1.24 MB / 0.5509 GB, free: 4.664 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001169/0.4922, allocations: 1.178 MB / 0.552 GB, free: 3.602 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.028e-05/0.4923, allocations: 309 kB / 0.5523 GB, free: 3.297 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001111/0.4934, allocations: 0.7748 MB / 0.5531 GB, free: 2.516 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002643/0.496, allocations: 3.484 MB / 0.5565 GB, free: 13.91 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004055/0.5001, allocations: 4.855 MB / 0.5612 GB, free: 8.277 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.539e-05/0.5001, allocations: 24 kB / 0.5613 GB, free: 8.254 MB / 458.7 MB Notification: Performance of matching and sorting (n=816) (initialization): time 0.00561/0.5057, allocations: 4.332 MB / 0.5655 GB, free: 4.539 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.658e-05/0.5058, allocations: 51.98 kB / 0.5655 GB, free: 4.488 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.262e-05/0.5058, allocations: 92.5 kB / 0.5656 GB, free: 4.398 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001324/0.5072, allocations: 0.7354 MB / 0.5663 GB, free: 3.668 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002462/0.5096, allocations: 1.366 MB / 0.5677 GB, free: 2.41 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005132/0.5148, allocations: 6.449 MB / 0.574 GB, free: 11.86 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002443/0.5172, allocations: 275.6 kB / 0.5742 GB, free: 11.59 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003179/0.5175, allocations: 287.9 kB / 0.5745 GB, free: 11.3 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 431 * 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 (767): * Single equations (assignments): 762 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(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): 3 systems {(8,26,67.2%), (2,8,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002217/0.5197, allocations: 0.5502 MB / 0.5751 GB, free: 10.85 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006136/0.5203, allocations: 395.6 kB / 0.5754 GB, free: 10.46 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003484/0.5238, allocations: 2.509 MB / 0.5779 GB, free: 7.977 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001275/0.5251, allocations: 1.007 MB / 0.5789 GB, free: 6.984 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.349e-05/0.5251, allocations: 12 kB / 0.5789 GB, free: 6.973 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.05e-05/0.5251, allocations: 15.94 kB / 0.5789 GB, free: 6.957 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009432/0.5346, allocations: 6.407 MB / 0.5851 GB, free: 1.188 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.186e-05/0.5346, allocations: 11.94 kB / 0.5852 GB, free: 1.176 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00136/0.536, allocations: 0.5138 MB / 0.5857 GB, free: 0.6914 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00132/0.5373, allocations: 0.6905 MB / 0.5863 GB, free: 0 / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001869/0.5375, allocations: 70.78 kB / 0.5864 GB, free: 15.93 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006518/0.544, allocations: 9.571 MB / 0.5958 GB, free: 6.074 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.572e-06/0.544, allocations: 7.375 kB / 0.5958 GB, free: 6.07 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004106/0.5481, allocations: 3.21 MB / 0.5989 GB, free: 2.805 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001065/0.5492, allocations: 0.533 MB / 0.5994 GB, free: 2.27 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003931/0.5495, allocations: 71.98 kB / 0.5995 GB, free: 2.199 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001111/0.5507, allocations: 108 kB / 0.5996 GB, free: 2.094 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003852/0.551, allocations: 257.9 kB / 0.5998 GB, free: 1.848 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001437/0.5512, allocations: 79.14 kB / 0.5999 GB, free: 1.773 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001541/0.5527, allocations: 1.614 MB / 0.6015 GB, free: 368 kB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.5527, allocations: 4 kB / 0.6015 GB, free: 364 kB / 490.7 MB Notification: Performance of remove unused functions: time 0.004587/0.5573, allocations: 1.758 MB / 0.6032 GB, free: 14.59 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (smee.phiMechanical,smee.stator.zeroInductor.i0,smee.stator.core.Phi.im,smee.excitation.electroMagneticConverter.Phi.re,smeeQS.short.port_p.reference.gamma,mechanicalPowerSensorQS.relSpeedSensor.phi_rel) * 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 (298): * Single equations (assignments): 292 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(2,8,100.0%), (1,4,100.0%), (1,8,100.0%), (3,4,77.8%), (8,26,64.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004674/0.5578, allocations: 249.5 kB / 0.6034 GB, free: 14.39 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.00417/0.562, allocations: 3.425 MB / 0.6068 GB, free: 11.28 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 0.0001348/0.5621, allocations: 79.94 kB / 0.6069 GB, free: 11.2 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.002093/0.5642, allocations: 1.95 MB / 0.6088 GB, free: 9.293 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00247/0.5667, allocations: 1.07 MB / 0.6098 GB, free: 8.266 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1775/0.7442, allocations: 15.39 MB / 0.6248 GB, free: 137.1 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001712/0.7459, allocations: 2.005 MB / 0.6268 GB, free: 136.9 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.002273/0.7482, allocations: 0.7663 MB / 0.6275 GB, free: 136.8 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001744/0.7499, allocations: 1.04 MB / 0.6286 GB, free: 136.7 MB / 0.4949 GB Notification: Performance of SimCode: time 2.124e-06/0.7499, allocations: 0 / 0.6286 GB, free: 136.7 MB / 0.4949 GB Notification: Performance of Templates: time 0.08374/0.8337, allocations: 67.34 MB / 0.6943 GB, free: 92.39 MB / 0.4949 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.364808322396129]