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.00237/0.00237, allocations: 80.34 kB / 20.67 MB, free: 3.891 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.002158/0.002158, allocations: 164.8 kB / 23.95 MB, free: 0.6055 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.658/1.658, allocations: 177 MB / 204.1 MB, free: 5.773 MB / 186.7 MB " [Timeout remaining time 178] 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.3625/0.3625, allocations: 34.86 MB / 295.4 MB, free: 0.5547 MB / 266.7 MB " [Timeout remaining time 179] 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.374e-06/2.374e-06, allocations: 0 / 443.6 MB, free: 396 kB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.343e-05/3.581e-05, allocations: 2.281 kB / 443.6 MB, free: 392 kB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.2659/0.2659, allocations: 35.93 MB / 479.6 MB, free: 20.54 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.02628/0.2922, allocations: 11.06 MB / 490.6 MB, free: 12.68 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01027/0.3025, allocations: 356.7 kB / 491 MB, free: 12.57 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01824/0.3207, allocations: 7.816 MB / 498.8 MB, free: 8.203 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01348/0.3342, allocations: 3.758 MB / 0.4908 GB, free: 5.777 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008526/0.3427, allocations: 2.292 MB / 0.493 GB, free: 4.367 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0222/0.3649, allocations: 13.09 MB / 0.5058 GB, free: 13.35 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03845/0.4034, allocations: 15.56 MB / 0.521 GB, free: 4.602 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02815/0.4315, allocations: 9.663 MB / 0.5304 GB, free: 11.65 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01483/0.4464, allocations: 6.088 MB / 0.5364 GB, free: 5.547 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.006512/0.4529, allocations: 1.82 MB / 0.5382 GB, free: 3.727 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008564/0.4614, allocations: 2.257 MB / 0.5404 GB, free: 1.469 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007529/0.469, allocations: 3.716 MB / 0.544 GB, free: 13.74 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01444/0.4834, allocations: 4.768 MB / 0.5487 GB, free: 8.965 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.04089/0.5243, allocations: 24.36 MB / 0.5724 GB, free: 0.5352 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.097e-06/0.5243, allocations: 3.984 kB / 0.5724 GB, free: 0.5312 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.123e-06/0.5243, allocations: 0 / 0.5724 GB, free: 0.5312 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0008716/0.5252, allocations: 4 kB / 0.5725 GB, free: 0.5273 MB / 474.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.0511/0.5763, allocations: 14.29 MB / 0.5864 GB, free: 2.121 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.845e-05/0.5763, allocations: 20.02 kB / 0.5864 GB, free: 2.102 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03327/0.6096, allocations: 5.225 MB / 0.5915 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02009/0.6297, allocations: 7.725 MB / 0.5991 GB, free: 5.059 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001094/0.6308, allocations: 0.8308 MB / 0.5999 GB, free: 4.227 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004546/0.6353, allocations: 1.09 MB / 0.601 GB, free: 3.137 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04993/0.6853, allocations: 16.83 MB / 0.6174 GB, free: 2.184 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006157/0.6859, allocations: 15.94 kB / 0.6174 GB, free: 2.168 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003541/0.6894, allocations: 460 kB / 0.6178 GB, free: 1.719 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007853/0.6902, allocations: 0.5734 MB / 0.6184 GB, free: 1.141 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0416/0.7318, allocations: 14.74 MB / 0.6328 GB, free: 2.367 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4585/1.19, allocations: 47.59 MB / 0.6793 GB, free: 105.5 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0173/1.208, allocations: 7.56 MB / 0.6866 GB, free: 103.2 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006249/1.214, allocations: 3.033 MB / 0.6896 GB, free: 102.1 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01709/1.231, allocations: 8.193 MB / 0.6976 GB, free: 98.22 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.757e-05/1.231, allocations: 66.62 kB / 0.6977 GB, free: 98.16 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=313): time 5.671e-06/1.231, allocations: 0 / 0.6977 GB, free: 98.16 MB / 0.5262 GB Notification: Performance of matching and sorting (n=340): time 0.03216/1.263, allocations: 16.29 MB / 0.7136 GB, free: 90.78 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.719e-05/1.263, allocations: 115.7 kB / 0.7137 GB, free: 90.68 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006423/1.27, allocations: 4.978 MB / 0.7186 GB, free: 88.88 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.0004597/1.27, allocations: 84.83 kB / 0.7186 GB, free: 88.81 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.002181/1.272, allocations: 5.373 MB / 0.7239 GB, free: 84.95 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009124/1.273, allocations: 1.247 MB / 0.7251 GB, free: 83.88 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001525/1.275, allocations: 1.256 MB / 0.7263 GB, free: 83.13 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 3.975e-05/1.275, allocations: 308.8 kB / 0.7266 GB, free: 82.83 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003427/1.278, allocations: 2.63 MB / 0.7292 GB, free: 81.44 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004562/1.283, allocations: 5.498 MB / 0.7346 GB, free: 76.21 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008472/1.291, allocations: 8.517 MB / 0.7429 GB, free: 66.58 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.062e-05/1.291, allocations: 28 kB / 0.7429 GB, free: 66.55 MB / 0.5262 GB Notification: Performance of matching and sorting (n=816) (initialization): time 0.0146/1.306, allocations: 9.133 MB / 0.7518 GB, free: 57.4 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 6.159e-05/1.306, allocations: 44 kB / 0.7519 GB, free: 57.36 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001197/1.306, allocations: 100.5 kB / 0.752 GB, free: 57.26 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002043/1.308, allocations: 0.9087 MB / 0.7528 GB, free: 56.34 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004683/1.313, allocations: 1.482 MB / 0.7543 GB, free: 54.86 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009882/1.323, allocations: 9.99 MB / 0.764 GB, free: 44.58 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005436/1.328, allocations: 407.4 kB / 0.7644 GB, free: 44.18 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007911/1.329, allocations: 339.9 kB / 0.7648 GB, free: 43.85 MB / 0.5262 GB 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.005571/1.334, allocations: 3.751 MB / 0.7684 GB, free: 40.09 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001141/1.336, allocations: 0.5084 MB / 0.7689 GB, free: 39.57 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009045/1.345, allocations: 5.662 MB / 0.7744 GB, free: 33.87 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004144/1.349, allocations: 3.037 MB / 0.7774 GB, free: 30.82 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.363e-05/1.349, allocations: 8 kB / 0.7774 GB, free: 30.82 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.114e-05/1.349, allocations: 19.94 kB / 0.7774 GB, free: 30.8 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02025/1.369, allocations: 11.99 MB / 0.7891 GB, free: 18.77 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.446e-05/1.369, allocations: 4 kB / 0.7892 GB, free: 18.77 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002464/1.372, allocations: 0.589 MB / 0.7897 GB, free: 18.18 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002153/1.374, allocations: 0.8927 MB / 0.7906 GB, free: 17.27 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000245/1.374, allocations: 83.91 kB / 0.7907 GB, free: 17.19 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01165/1.386, allocations: 13.23 MB / 0.8036 GB, free: 3.477 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.922e-06/1.386, allocations: 7.938 kB / 0.8036 GB, free: 3.469 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01566/1.401, allocations: 8.315 MB / 0.8117 GB, free: 11 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003303/1.405, allocations: 0.8949 MB / 0.8126 GB, free: 10.1 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001095/1.406, allocations: 75.88 kB / 0.8127 GB, free: 10.03 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002675/1.408, allocations: 191.8 kB / 0.8129 GB, free: 9.84 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008002/1.409, allocations: 270.4 kB / 0.8131 GB, free: 9.574 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003555/1.41, allocations: 108 kB / 0.8132 GB, free: 9.469 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.006653/1.416, allocations: 3.164 MB / 0.8163 GB, free: 6.312 MB / 0.5418 GB Notification: Performance of sort global known variables: time 1.31e-07/1.416, allocations: 0 / 0.8163 GB, free: 6.312 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.008905/1.425, allocations: 1.766 MB / 0.818 GB, free: 4.547 MB / 0.5418 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.0007986/1.426, allocations: 266.4 kB / 0.8183 GB, free: 4.285 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.01388/1.44, allocations: 6.537 MB / 0.8247 GB, free: 13.71 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 1.157e-05/1.44, allocations: 4 kB / 0.8247 GB, free: 13.71 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.006899/1.447, allocations: 3.195 MB / 0.8278 GB, free: 10.45 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005793/1.452, allocations: 1.043 MB / 0.8288 GB, free: 9.445 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04241/1.495, allocations: 18.04 MB / 0.8464 GB, free: 7.32 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01277/1.508, allocations: 6.148 MB / 0.8524 GB, free: 1.133 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.2121/1.72, allocations: 1.797 MB / 0.8542 GB, free: 156 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001391/1.721, allocations: 378.5 kB / 0.8545 GB, free: 156 MB / 0.573 GB Notification: Performance of SimCode: time 1.372e-06/1.721, allocations: 2 kB / 0.8545 GB, free: 156 MB / 0.573 GB Notification: Performance of Templates: time 0.1118/1.833, allocations: 61.56 MB / 0.9147 GB, free: 140.1 MB / 0.573 GB " [Timeout remaining time 658] 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: 11.072914337972179]