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.001844/0.001844, allocations: 111.8 kB / 20.43 MB, free: 4.594 MB / 13.93 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.002031/0.002031, allocations: 217.3 kB / 23.73 MB, free: 2.133 MB / 13.93 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.63/1.63, allocations: 230.6 MB / 257.4 MB, free: 9.469 MB / 202.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.2538/0.2538, allocations: 47.7 MB / 361.6 MB, free: 2.34 MB / 282.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 0.005266/0.005266, allocations: 95.84 kB / 0.4978 GB, free: 6.902 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1593, allocations: 66.22 MB / 0.5625 GB, free: 4.547 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.2924/0.4517, allocations: 35.89 MB / 0.5975 GB, free: 9.18 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.03358/0.4853, allocations: 11.06 MB / 0.6083 GB, free: 1.32 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01121/0.4965, allocations: 355.1 kB / 0.6087 GB, free: 1.207 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02274/0.5192, allocations: 7.452 MB / 0.6159 GB, free: 12.55 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01676/0.536, allocations: 3.665 MB / 0.6195 GB, free: 9.57 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008751/0.5447, allocations: 2.287 MB / 0.6217 GB, free: 7.715 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.02195/0.5667, allocations: 12.63 MB / 0.6341 GB, free: 14.98 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04019/0.6069, allocations: 15.52 MB / 0.6492 GB, free: 15.31 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01616/0.623, allocations: 6.525 MB / 0.6556 GB, free: 8.77 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01882/0.6419, allocations: 6.908 MB / 0.6624 GB, free: 1.836 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005876/0.6477, allocations: 1.824 MB / 0.6641 GB, free: 12 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008883/0.6566, allocations: 2.234 MB / 0.6663 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.006679/0.6633, allocations: 3.655 MB / 0.6699 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.01353/0.6768, allocations: 5.552 MB / 0.6753 GB, free: 4.535 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.03805/0.7149, allocations: 24.21 MB / 0.699 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.7149, allocations: 3.938 kB / 0.699 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.563e-06/0.7149, allocations: 0 / 0.699 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0006254/0.7155, allocations: 0 / 0.699 GB, free: 12.23 MB / 0.5261 GB 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.04462/0.7601, allocations: 14.42 MB / 0.713 GB, free: 13.71 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.7602, allocations: 12.03 kB / 0.7131 GB, free: 13.7 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02898/0.7892, allocations: 5.225 MB / 0.7182 GB, free: 8.457 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0194/0.8086, allocations: 7.737 MB / 0.7257 GB, free: 0.6367 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009713/0.8095, allocations: 0.827 MB / 0.7265 GB, free: 15.8 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004019/0.8136, allocations: 1.086 MB / 0.7276 GB, free: 14.72 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04312/0.8567, allocations: 16.84 MB / 0.744 GB, free: 13.76 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005044/0.8572, allocations: 7.953 kB / 0.744 GB, free: 13.75 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003257/0.8604, allocations: 464 kB / 0.7445 GB, free: 13.3 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007917/0.8612, allocations: 0.5773 MB / 0.745 GB, free: 12.71 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03754/0.8988, allocations: 14.74 MB / 0.7594 GB, free: 13.95 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6044/1.503, allocations: 47.57 MB / 0.8059 GB, free: 165 MB / 0.6199 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01565/1.519, allocations: 7.539 MB / 0.8133 GB, free: 164.8 MB / 0.6199 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00549/1.524, allocations: 3.029 MB / 0.8162 GB, free: 164.7 MB / 0.6199 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01689/1.541, allocations: 8.191 MB / 0.8242 GB, free: 164.2 MB / 0.6199 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.825e-05/1.541, allocations: 73.92 kB / 0.8243 GB, free: 164.2 MB / 0.6199 GB Notification: Performance of pre-optimization done (n=313): time 5.981e-06/1.541, allocations: 2.344 kB / 0.8243 GB, free: 164.2 MB / 0.6199 GB Notification: Performance of matching and sorting (n=340): time 0.03323/1.574, allocations: 16.31 MB / 0.8402 GB, free: 157.2 MB / 0.6199 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.273e-05/1.575, allocations: 114.6 kB / 0.8403 GB, free: 157.1 MB / 0.6199 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007248/1.582, allocations: 4.987 MB / 0.8452 GB, free: 155.3 MB / 0.6199 GB Notification: Performance of collectPreVariables (initialization): time 0.0005848/1.582, allocations: 81.52 kB / 0.8453 GB, free: 155.2 MB / 0.6199 GB Notification: Performance of collectInitialEqns (initialization): time 0.002648/1.585, allocations: 5.397 MB / 0.8505 GB, free: 151.6 MB / 0.6199 GB Notification: Performance of collectInitialBindings (initialization): time 0.001027/1.586, allocations: 1.258 MB / 0.8518 GB, free: 150.6 MB / 0.6199 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001526/1.588, allocations: 1.27 MB / 0.853 GB, free: 150 MB / 0.6199 GB Notification: Performance of setup shared object (initialization): time 4.14e-05/1.588, allocations: 304.8 kB / 0.8533 GB, free: 149.7 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003376/1.591, allocations: 2.635 MB / 0.8559 GB, free: 148.7 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004342/1.595, allocations: 5.493 MB / 0.8612 GB, free: 144 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008136/1.603, allocations: 8.514 MB / 0.8695 GB, free: 137.7 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.546e-05/1.603, allocations: 26.06 kB / 0.8696 GB, free: 137.7 MB / 0.6199 GB Notification: Performance of matching and sorting (n=816) (initialization): time 0.01347/1.617, allocations: 9.139 MB / 0.8785 GB, free: 134 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 6.443e-05/1.617, allocations: 47.22 kB / 0.8785 GB, free: 134 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001328/1.617, allocations: 93.88 kB / 0.8786 GB, free: 134 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00211/1.619, allocations: 0.9124 MB / 0.8795 GB, free: 133.7 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00471/1.624, allocations: 1.475 MB / 0.881 GB, free: 133.6 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009665/1.634, allocations: 10 MB / 0.8907 GB, free: 123.9 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004981/1.639, allocations: 407.3 kB / 0.8911 GB, free: 123.5 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006732/1.639, allocations: 340 kB / 0.8914 GB, free: 123.2 MB / 0.6199 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.005347/1.645, allocations: 3.747 MB / 0.8951 GB, free: 119.4 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001124/1.646, allocations: 0.5007 MB / 0.8956 GB, free: 118.9 MB / 0.6199 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008901/1.655, allocations: 5.681 MB / 0.9011 GB, free: 113.2 MB / 0.6199 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004118/1.659, allocations: 3.033 MB / 0.9041 GB, free: 110.2 MB / 0.6199 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.286e-05/1.659, allocations: 16 kB / 0.9041 GB, free: 110.1 MB / 0.6199 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.375e-05/1.659, allocations: 15.94 kB / 0.9041 GB, free: 110.1 MB / 0.6199 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02177/1.681, allocations: 11.97 MB / 0.9158 GB, free: 98.11 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.38e-05/1.681, allocations: 4 kB / 0.9158 GB, free: 98.11 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002409/1.683, allocations: 0.5974 MB / 0.9164 GB, free: 97.51 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00254/1.686, allocations: 0.9016 MB / 0.9173 GB, free: 96.59 MB / 0.6199 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002401/1.686, allocations: 79.97 kB / 0.9174 GB, free: 96.52 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01146/1.697, allocations: 13.23 MB / 0.9303 GB, free: 82.81 MB / 0.6199 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/1.697, allocations: 7.938 kB / 0.9303 GB, free: 82.8 MB / 0.6199 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01156/1.709, allocations: 8.325 MB / 0.9384 GB, free: 74.32 MB / 0.6199 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0023/1.711, allocations: 0.8988 MB / 0.9393 GB, free: 73.42 MB / 0.6199 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008112/1.712, allocations: 64 kB / 0.9394 GB, free: 73.36 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002222/1.714, allocations: 187.8 kB / 0.9395 GB, free: 73.18 MB / 0.6199 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000535/1.715, allocations: 274.3 kB / 0.9398 GB, free: 72.91 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002048/1.715, allocations: 112 kB / 0.9399 GB, free: 72.8 MB / 0.6199 GB Notification: Performance of sorting global known variables: time 0.003817/1.719, allocations: 3.169 MB / 0.943 GB, free: 69.64 MB / 0.6199 GB Notification: Performance of sort global known variables: time 1.1e-07/1.719, allocations: 0 / 0.943 GB, free: 69.64 MB / 0.6199 GB Notification: Performance of remove unused functions: time 0.006037/1.725, allocations: 1.769 MB / 0.9447 GB, free: 67.87 MB / 0.6199 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.0005252/1.725, allocations: 258.3 kB / 0.945 GB, free: 67.62 MB / 0.6199 GB Notification: Performance of simCode: created initialization part: time 0.00928/1.735, allocations: 6.529 MB / 0.9514 GB, free: 61.05 MB / 0.6199 GB Notification: Performance of simCode: created event and clocks part: time 7.814e-06/1.735, allocations: 0 / 0.9514 GB, free: 61.05 MB / 0.6199 GB Notification: Performance of simCode: created simulation system equations: time 0.004662/1.739, allocations: 3.213 MB / 0.9545 GB, free: 57.78 MB / 0.6199 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004881/1.744, allocations: 1.043 MB / 0.9555 GB, free: 56.76 MB / 0.6199 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02701/1.771, allocations: 18.21 MB / 0.9733 GB, free: 38.46 MB / 0.6199 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006435/1.778, allocations: 6.148 MB / 0.9793 GB, free: 32.27 MB / 0.6199 GB Notification: Performance of simCode: alias equations: time 0.004764/1.782, allocations: 1.8 MB / 0.9811 GB, free: 30.46 MB / 0.6199 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001059/1.783, allocations: 379.3 kB / 0.9814 GB, free: 30.09 MB / 0.6199 GB Notification: Performance of SimCode: time 9.61e-07/1.783, allocations: 0 / 0.9814 GB, free: 30.09 MB / 0.6199 GB Notification: Performance of Templates: time 0.1315/1.915, allocations: 73.48 MB / 1.053 GB, free: 5.301 MB / 0.6668 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.295392568223178]