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.001222/0.001222, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001927/0.003149, allocations: 457.8 kB / 10.45 MB, free: 244 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.001258/0.001258, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001817/0.003076, allocations: 475.6 kB / 11.82 MB, free: 2.348 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.9781/0.9781, allocations: 177.5 MB / 190 MB, free: 4.785 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09009/1.068, allocations: 53.87 MB / 243.9 MB, free: 14.84 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.2831/0.2831, allocations: 34.88 MB / 279.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05312/0.3362, allocations: 13.23 MB / 292.8 MB, free: 6.398 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.322e-06/1.322e-06, allocations: 0 / 294.2 MB, free: 4.984 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.867e-05/2e-05, allocations: 4.984 kB / 294.2 MB, free: 4.98 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.02953/0.02955, allocations: 39.67 MB / 333.9 MB, free: 13.14 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02331/0.05286, allocations: 11.93 MB / 345.8 MB, free: 1.164 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009428/0.06229, allocations: 354.2 kB / 346.2 MB, free: 0.8164 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01163/0.07393, allocations: 8.372 MB / 354.5 MB, free: 8.402 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01256/0.08648, allocations: 3.748 MB / 358.3 MB, free: 4.633 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005029/0.09151, allocations: 2.327 MB / 360.6 MB, free: 2.305 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.01336/0.1049, allocations: 13.17 MB / 373.8 MB, free: 5.09 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01825/0.1231, allocations: 15.55 MB / 389.3 MB, free: 5.355 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0133/0.1364, allocations: 10.4 MB / 399.7 MB, free: 10.89 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01037/0.1468, allocations: 6.881 MB / 406.6 MB, free: 3.996 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004084/0.1509, allocations: 1.812 MB / 408.4 MB, free: 2.184 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005045/0.1559, allocations: 2.261 MB / 410.7 MB, free: 15.92 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002125/0.1581, allocations: 2.985 MB / 413.7 MB, free: 12.93 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00491/0.163, allocations: 4.033 MB / 417.7 MB, free: 8.891 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01229/0.1753, allocations: 10.98 MB / 428.7 MB, free: 13.88 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.633e-05/0.1753, allocations: 4 kB / 428.7 MB, free: 13.87 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1753, allocations: 0 / 428.7 MB, free: 13.87 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0006497/0.1759, allocations: 4 kB / 428.7 MB, free: 13.87 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.3498/0.5257, allocations: 16.1 MB / 444.8 MB, free: 68.27 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.5257, allocations: 12.8 kB / 444.8 MB, free: 68.27 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01406/0.5398, allocations: 5.676 MB / 450.5 MB, free: 68.25 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00809/0.5479, allocations: 4.352 MB / 454.8 MB, free: 67.28 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004022/0.5483, allocations: 0.8292 MB / 455.7 MB, free: 67.25 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001191/0.5495, allocations: 1.098 MB / 456.8 MB, free: 67.24 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009495/0.5589, allocations: 8.73 MB / 465.5 MB, free: 66.41 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001631/0.5591, allocations: 21.58 kB / 465.5 MB, free: 66.4 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006708/0.5598, allocations: 457.8 kB / 466 MB, free: 66.4 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003335/0.5601, allocations: 0.5604 MB / 466.5 MB, free: 66.38 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005301/0.5654, allocations: 4.112 MB / 470.6 MB, free: 66.04 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02962/0.595, allocations: 34.85 MB / 0.4936 GB, free: 38.23 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004939/0.6, allocations: 4.632 MB / 0.4982 GB, free: 33.73 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001158/0.6011, allocations: 1.242 MB / 0.4994 GB, free: 32.52 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002375/0.6014, allocations: 150.5 kB / 0.4995 GB, free: 32.38 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.802e-05/0.6014, allocations: 82.08 kB / 0.4996 GB, free: 32.29 MB / 426.8 MB Notification: Performance of pre-optimization done (n=425): time 5.971e-06/0.6014, allocations: 0 / 0.4996 GB, free: 32.29 MB / 426.8 MB Notification: Performance of matching and sorting (n=454): time 0.01628/0.6177, allocations: 9.124 MB / 0.5085 GB, free: 23.24 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.392e-05/0.6177, allocations: 125.4 kB / 0.5086 GB, free: 23.1 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00238/0.6201, allocations: 3.387 MB / 0.5119 GB, free: 20.39 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001543/0.6203, allocations: 97.7 kB / 0.512 GB, free: 20.29 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001148/0.6214, allocations: 4.626 MB / 0.5165 GB, free: 15.84 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005794/0.622, allocations: 1.628 MB / 0.5181 GB, free: 14.3 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001018/0.623, allocations: 1.277 MB / 0.5194 GB, free: 13.16 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 2.872e-05/0.6231, allocations: 309.1 kB / 0.5197 GB, free: 12.85 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009121/0.624, allocations: 0.8475 MB / 0.5205 GB, free: 12 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001535/0.6255, allocations: 3.524 MB / 0.5239 GB, free: 7.402 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003236/0.6287, allocations: 5.379 MB / 0.5292 GB, free: 1.238 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.361e-05/0.6288, allocations: 24 kB / 0.5292 GB, free: 1.215 MB / 426.8 MB Notification: Performance of matching and sorting (n=910) (initialization): time 0.00527/0.634, allocations: 4.589 MB / 0.5337 GB, free: 13.21 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.102e-05/0.6341, allocations: 49.28 kB / 0.5337 GB, free: 13.16 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.828e-05/0.6341, allocations: 92 kB / 0.5338 GB, free: 13.07 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001441/0.6356, allocations: 0.7536 MB / 0.5346 GB, free: 12.32 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004405/0.64, allocations: 1.769 MB / 0.5363 GB, free: 10.67 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006852/0.6468, allocations: 6.83 MB / 0.543 GB, free: 3.738 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003057/0.6499, allocations: 291.6 kB / 0.5432 GB, free: 3.453 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000415/0.6503, allocations: 295.9 kB / 0.5435 GB, free: 3.164 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 418 * 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 (857): * Single equations (assignments): 852 * 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,28,67.2%), (2,10,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001884/0.6522, allocations: 0.585 MB / 0.5441 GB, free: 2.688 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007367/0.6529, allocations: 455.5 kB / 0.5445 GB, free: 2.242 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004744/0.6577, allocations: 2.911 MB / 0.5474 GB, free: 15.33 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001878/0.6596, allocations: 1.195 MB / 0.5485 GB, free: 14.12 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-05/0.6596, allocations: 12 kB / 0.5486 GB, free: 14.11 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.345e-05/0.6596, allocations: 19.92 kB / 0.5486 GB, free: 14.09 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01251/0.6721, allocations: 8.078 MB / 0.5565 GB, free: 6.668 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.705e-05/0.6721, allocations: 8 kB / 0.5565 GB, free: 6.66 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002287/0.6744, allocations: 0.8208 MB / 0.5573 GB, free: 5.879 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001209/0.6756, allocations: 0.5899 MB / 0.5578 GB, free: 5.289 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00163/0.6773, allocations: 0.7113 MB / 0.5585 GB, free: 4.582 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002039/0.6775, allocations: 98.38 kB / 0.5586 GB, free: 4.488 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007885/0.6854, allocations: 9.608 MB / 0.568 GB, free: 10.6 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.538e-06/0.6854, allocations: 11.38 kB / 0.568 GB, free: 10.59 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005505/0.6909, allocations: 3.936 MB / 0.5719 GB, free: 6.598 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005689/0.6914, allocations: 95.92 kB / 0.572 GB, free: 6.504 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001442/0.6929, allocations: 132 kB / 0.5721 GB, free: 6.375 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005395/0.6934, allocations: 341 kB / 0.5724 GB, free: 6.051 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002113/0.6936, allocations: 95.97 kB / 0.5725 GB, free: 5.957 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.004318/0.6979, allocations: 1.593 MB / 0.5741 GB, free: 4.559 MB / 474.8 MB Notification: Performance of sort global known variables: time 2.21e-07/0.6979, allocations: 0 / 0.5741 GB, free: 4.559 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.005021/0.703, allocations: 1.855 MB / 0.5759 GB, free: 2.703 MB / 474.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 37 * Number of states: 6 (smeeQS.short.port_p.reference.gamma,mechanicalPowerSensorQS.relSpeedSensor.phi_rel,smee.phiMechanical,smee.stator.zeroInductor.i0,smee.stator.core.Phi.im,smee.excitation.electroMagneticConverter.Phi.re) * 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 (418): * Single equations (assignments): 412 * 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 {(8,26,62.5%), (2,8,100.0%), (1,4,100.0%), (1,8,100.0%), (3,4,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004142/0.7034, allocations: 287.8 kB / 0.5761 GB, free: 2.465 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.003947/0.7073, allocations: 3.895 MB / 0.58 GB, free: 14.93 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0001533/0.7075, allocations: 111.8 kB / 0.5801 GB, free: 14.82 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003717/0.7112, allocations: 3.44 MB / 0.5834 GB, free: 11.45 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00507/0.7163, allocations: 9.583 MB / 0.5928 GB, free: 184 kB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06311/0.7794, allocations: 15.62 MB / 0.608 GB, free: 480 kB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001907/0.7813, allocations: 2.051 MB / 0.61 GB, free: 14.39 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002819/0.7841, allocations: 0.8287 MB / 0.6108 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001818/0.7859, allocations: 1.124 MB / 0.6119 GB, free: 12.42 MB / 0.5105 GB Notification: Performance of SimCode: time 1.693e-06/0.7859, allocations: 4 kB / 0.6119 GB, free: 12.42 MB / 0.5105 GB Notification: Performance of Templates: time 0.2525/1.038, allocations: 75.64 MB / 0.6858 GB, free: 117.1 MB / 0.5105 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.031555315479636]