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.0006635/0.0006635, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009319/0.001595, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0007049/0.0007049, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009237/0.001629, allocations: 463.6 kB / 11.72 MB, free: 2.453 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 0.9325/0.9325, allocations: 177.4 MB / 189.9 MB, free: 4.824 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09465/1.027, allocations: 53.87 MB / 243.7 MB, free: 14.89 MB / 250.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.2751/0.2751, allocations: 34.86 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02533/0.3004, allocations: 13.23 MB / 292.6 MB, free: 6.465 MB / 282.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 1.663e-06/1.663e-06, allocations: 0 / 294 MB, free: 5.082 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.086e-05/2.252e-05, allocations: 3.078 kB / 294 MB, free: 5.078 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.03865/0.03867, allocations: 39.68 MB / 333.6 MB, free: 13.23 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02434/0.06301, allocations: 11.93 MB / 345.6 MB, free: 1.262 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00773/0.07074, allocations: 358.1 kB / 345.9 MB, free: 0.9102 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01221/0.08295, allocations: 8.364 MB / 354.3 MB, free: 8.508 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01095/0.0939, allocations: 3.758 MB / 358 MB, free: 4.727 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004932/0.09883, allocations: 2.321 MB / 360.4 MB, free: 2.406 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.01415/0.113, allocations: 13.17 MB / 373.5 MB, free: 5.191 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02158/0.1346, allocations: 15.55 MB / 389.1 MB, free: 5.457 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01699/0.1515, allocations: 10.39 MB / 399.5 MB, free: 11 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01085/0.1624, allocations: 6.869 MB / 406.3 MB, free: 4.117 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00474/0.1671, allocations: 1.816 MB / 408.2 MB, free: 2.301 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006573/0.1737, allocations: 2.272 MB / 410.4 MB, free: 28 kB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004554/0.1783, allocations: 2.989 MB / 413.4 MB, free: 13.03 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01105/0.1893, allocations: 4.029 MB / 417.5 MB, free: 8.996 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01865/0.208, allocations: 11.01 MB / 428.5 MB, free: 13.95 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.617e-05/0.208, allocations: 0 / 428.5 MB, free: 13.95 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.208, allocations: 0 / 428.5 MB, free: 13.95 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005866/0.2086, allocations: 0 / 428.5 MB, free: 13.95 MB / 426.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.3279/0.5365, allocations: 16.12 MB / 444.6 MB, free: 68.4 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.5365, allocations: 14.45 kB / 444.6 MB, free: 68.4 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01558/0.5521, allocations: 5.675 MB / 450.3 MB, free: 68.38 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009578/0.5616, allocations: 4.346 MB / 454.6 MB, free: 67.41 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004912/0.5621, allocations: 0.8311 MB / 455.4 MB, free: 67.38 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002549/0.5647, allocations: 1.093 MB / 456.5 MB, free: 67.37 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01629/0.581, allocations: 8.735 MB / 465.3 MB, free: 66.54 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003663/0.5813, allocations: 14.41 kB / 465.3 MB, free: 66.53 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001022/0.5824, allocations: 467.3 kB / 465.7 MB, free: 66.53 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004072/0.5828, allocations: 0.578 MB / 466.3 MB, free: 66.5 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008285/0.5911, allocations: 4.115 MB / 470.4 MB, free: 66.16 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04488/0.6359, allocations: 34.85 MB / 0.4934 GB, free: 38.38 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006273/0.6422, allocations: 4.631 MB / 0.498 GB, free: 33.88 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001702/0.6439, allocations: 1.238 MB / 0.4992 GB, free: 32.66 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008808/0.6527, allocations: 4.623 MB / 0.5037 GB, free: 28.21 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.537e-05/0.6528, allocations: 65.56 kB / 0.5037 GB, free: 28.13 MB / 426.8 MB Notification: Performance of pre-optimization done (n=313): time 6.372e-06/0.6528, allocations: 0 / 0.5037 GB, free: 28.13 MB / 426.8 MB Notification: Performance of matching and sorting (n=340): time 0.01455/0.6673, allocations: 7.301 MB / 0.5109 GB, free: 20.94 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.947e-05/0.6674, allocations: 114.7 kB / 0.511 GB, free: 20.82 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003182/0.6706, allocations: 3.455 MB / 0.5144 GB, free: 18.05 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001551/0.6707, allocations: 81.7 kB / 0.5144 GB, free: 17.96 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001541/0.6723, allocations: 4.809 MB / 0.5191 GB, free: 13.34 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006129/0.6729, allocations: 1.242 MB / 0.5203 GB, free: 12.16 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001194/0.6741, allocations: 1.179 MB / 0.5215 GB, free: 11.1 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 2.407e-05/0.6741, allocations: 308.5 kB / 0.5218 GB, free: 10.8 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001152/0.6752, allocations: 0.7748 MB / 0.5226 GB, free: 10.02 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001786/0.677, allocations: 3.482 MB / 0.526 GB, free: 5.402 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003711/0.6807, allocations: 4.847 MB / 0.5307 GB, free: 15.79 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.024e-05/0.6808, allocations: 28 kB / 0.5307 GB, free: 15.76 MB / 442.8 MB Notification: Performance of matching and sorting (n=816) (initialization): time 0.006704/0.6875, allocations: 4.34 MB / 0.5349 GB, free: 12.04 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.552e-05/0.6875, allocations: 44 kB / 0.535 GB, free: 11.99 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001097/0.6877, allocations: 99.75 kB / 0.5351 GB, free: 11.9 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001671/0.6893, allocations: 0.7334 MB / 0.5358 GB, free: 11.17 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003489/0.6928, allocations: 1.585 MB / 0.5374 GB, free: 9.691 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004754/0.6976, allocations: 6.476 MB / 0.5437 GB, free: 3.102 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002516/0.7001, allocations: 290.1 kB / 0.544 GB, free: 2.82 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003084/0.7004, allocations: 279.9 kB / 0.5442 GB, free: 2.547 MB / 442.8 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.001887/0.7023, allocations: 0.5523 MB / 0.5448 GB, free: 2.094 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006288/0.7029, allocations: 395.6 kB / 0.5451 GB, free: 1.707 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003229/0.7061, allocations: 2.506 MB / 0.5476 GB, free: 15.21 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001229/0.7074, allocations: 1.007 MB / 0.5486 GB, free: 14.23 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.302e-05/0.7074, allocations: 8 kB / 0.5486 GB, free: 14.22 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.238e-05/0.7074, allocations: 23.88 kB / 0.5486 GB, free: 14.2 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008702/0.7161, allocations: 6.412 MB / 0.5549 GB, free: 8.422 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.418e-06/0.7161, allocations: 4 kB / 0.5549 GB, free: 8.418 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001375/0.7175, allocations: 0.6093 MB / 0.5555 GB, free: 7.836 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001214/0.7187, allocations: 0.5267 MB / 0.556 GB, free: 7.309 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001308/0.72, allocations: 0.6988 MB / 0.5567 GB, free: 6.613 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001535/0.7202, allocations: 75.97 kB / 0.5567 GB, free: 6.539 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006693/0.7269, allocations: 9.599 MB / 0.5661 GB, free: 12.66 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.146e-06/0.7269, allocations: 8 kB / 0.5661 GB, free: 12.65 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004677/0.7315, allocations: 3.216 MB / 0.5692 GB, free: 9.379 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008371/0.7324, allocations: 64 kB / 0.5693 GB, free: 9.316 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001208/0.7336, allocations: 110.6 kB / 0.5694 GB, free: 9.211 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003984/0.734, allocations: 257.6 kB / 0.5697 GB, free: 8.965 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001405/0.7341, allocations: 87.89 kB / 0.5697 GB, free: 8.879 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.00173/0.7359, allocations: 1.61 MB / 0.5713 GB, free: 7.469 MB / 474.8 MB Notification: Performance of sort global known variables: time 7e-08/0.7359, allocations: 0 / 0.5713 GB, free: 7.469 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.004524/0.7404, allocations: 1.758 MB / 0.573 GB, free: 5.711 MB / 474.8 MB 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.0004446/0.7408, allocations: 250.9 kB / 0.5733 GB, free: 5.496 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.004582/0.7454, allocations: 3.431 MB / 0.5766 GB, free: 2.383 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0001796/0.7456, allocations: 107.8 kB / 0.5767 GB, free: 2.27 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002035/0.7476, allocations: 1.943 MB / 0.5786 GB, free: 380 kB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003195/0.7508, allocations: 1.453 MB / 0.58 GB, free: 14.96 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06652/0.8173, allocations: 15.87 MB / 0.5955 GB, free: 15.03 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00304/0.8204, allocations: 2.004 MB / 0.5975 GB, free: 13 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.003049/0.8234, allocations: 0.7668 MB / 0.5982 GB, free: 12.23 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001818/0.8252, allocations: 1.046 MB / 0.5993 GB, free: 11.17 MB / 0.4949 GB Notification: Performance of SimCode: time 1.713e-06/0.8252, allocations: 0 / 0.5993 GB, free: 11.17 MB / 0.4949 GB Notification: Performance of Templates: time 0.2481/1.073, allocations: 70.18 MB / 0.6678 GB, free: 106.4 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: 5.961745334789157]