Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.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.0007256/0.0007256, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001096/0.001822, 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.0007793/0.0007793, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00103/0.001809, 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.9714/0.9714, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08882/1.06, allocations: 53.87 MB / 243.8 MB, free: 14.91 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.2942/0.2942, allocations: 34.85 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02479/0.319, allocations: 13.23 MB / 292.6 MB, free: 6.48 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.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase,tolerance=1e-07,outputFormat="empty",numberOfIntervals=15100,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase") translateModel(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase,tolerance=1e-07,outputFormat="empty",numberOfIntervals=15100,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 294 MB, free: 5.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.917e-05/2.074e-05, allocations: 2.859 kB / 294 MB, free: 5.086 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase): time 0.02777/0.02779, allocations: 29.39 MB / 323.4 MB, free: 7.574 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01842/0.04622, allocations: 8.973 MB / 332.3 MB, free: 14.57 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009004/0.05522, allocations: 242.6 kB / 332.6 MB, free: 14.34 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008072/0.06329, allocations: 2.054 MB / 334.6 MB, free: 12.27 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0144/0.07769, allocations: 2.842 MB / 337.5 MB, free: 9.41 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007199/0.08489, allocations: 1.812 MB / 339.3 MB, free: 7.602 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01565/0.1005, allocations: 10.89 MB / 350.2 MB, free: 12.68 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008299/0.1088, allocations: 5.103 MB / 355.3 MB, free: 7.43 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0126/0.1214, allocations: 8.136 MB / 363.4 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007809/0.1292, allocations: 5.184 MB / 368.6 MB, free: 10.04 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003486/0.1327, allocations: 1.352 MB / 370 MB, free: 8.691 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006819/0.1395, allocations: 1.702 MB / 371.7 MB, free: 6.988 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004135/0.1437, allocations: 2.498 MB / 374.2 MB, free: 4.484 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008689/0.1524, allocations: 3.241 MB / 377.4 MB, free: 1.238 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01176/0.1641, allocations: 8.485 MB / 385.9 MB, free: 8.727 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.646e-05/0.1641, allocations: 0 / 385.9 MB, free: 8.727 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.775e-06/0.1642, allocations: 3.984 kB / 385.9 MB, free: 8.723 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003759/0.1645, allocations: 4 kB / 385.9 MB, free: 8.719 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2293 * Number of variables: 2293 Notification: Performance of Generate backend data structure: time 0.01861/0.1831, allocations: 12.8 MB / 398.7 MB, free: 11.8 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.1832, allocations: 11.44 kB / 398.7 MB, free: 11.79 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006489/0.1897, allocations: 2.927 MB / 401.6 MB, free: 8.863 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006584/0.1963, allocations: 3.766 MB / 405.4 MB, free: 5.008 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003234/0.1966, allocations: 0.6464 MB / 406 MB, free: 4.359 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008962/0.1975, allocations: 0.8518 MB / 406.9 MB, free: 3.508 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01093/0.2084, allocations: 6.48 MB / 413.4 MB, free: 12.86 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000215/0.2086, allocations: 11.92 kB / 413.4 MB, free: 12.84 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008102/0.2094, allocations: 348 kB / 413.7 MB, free: 12.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002637/0.2097, allocations: 381.5 kB / 414.1 MB, free: 12.13 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00558/0.2153, allocations: 2.575 MB / 416.7 MB, free: 9.523 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03482/0.2501, allocations: 22.57 MB / 439.2 MB, free: 2.113 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1602/0.4103, allocations: 4.305 MB / 443.5 MB, free: 84.51 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003098/0.4134, allocations: 2.249 MB / 445.8 MB, free: 84.45 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009072/0.4225, allocations: 5.027 MB / 450.8 MB, free: 83.91 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.392e-05/0.4226, allocations: 66.98 kB / 450.9 MB, free: 83.87 MB / 426.7 MB Notification: Performance of pre-optimization done (n=310): time 5.12e-06/0.4226, allocations: 0 / 450.9 MB, free: 83.87 MB / 426.7 MB Notification: Performance of matching and sorting (n=362): time 0.01449/0.437, allocations: 8.418 MB / 459.3 MB, free: 82.98 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.854e-05/0.4371, allocations: 89.05 kB / 459.4 MB, free: 82.91 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002269/0.4393, allocations: 2.861 MB / 462.3 MB, free: 82.56 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001479/0.4395, allocations: 94.11 kB / 462.3 MB, free: 82.53 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001003/0.4405, allocations: 3.406 MB / 465.8 MB, free: 80.52 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005321/0.441, allocations: 1.283 MB / 467 MB, free: 79.68 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007198/0.4418, allocations: 0.773 MB / 467.8 MB, free: 79.61 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 3.07e-05/0.4418, allocations: 305 kB / 468.1 MB, free: 79.32 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006995/0.4425, allocations: 0.5185 MB / 468.6 MB, free: 79.29 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001023/0.4435, allocations: 1.981 MB / 470.6 MB, free: 77.51 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002246/0.4458, allocations: 2.983 MB / 473.6 MB, free: 75.72 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.781e-05/0.4458, allocations: 11.38 kB / 473.6 MB, free: 75.72 MB / 426.7 MB Notification: Performance of matching and sorting (n=587) (initialization): time 0.003742/0.4495, allocations: 3.109 MB / 476.7 MB, free: 75.48 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.137e-05/0.4496, allocations: 30.16 kB / 476.7 MB, free: 75.47 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.775e-05/0.4496, allocations: 44.41 kB / 476.8 MB, free: 75.47 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001175/0.4508, allocations: 0.6778 MB / 477.5 MB, free: 75.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002057/0.4528, allocations: 1.174 MB / 478.6 MB, free: 75.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004554/0.4574, allocations: 7.943 MB / 486.6 MB, free: 68.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002207/0.4596, allocations: 188 kB / 486.8 MB, free: 68.26 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002879/0.4599, allocations: 166.5 kB / 486.9 MB, free: 68.14 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 208 * 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 (529): * Single equations (assignments): 521 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (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): 4 systems {(2,13,100.0%), (1,8,100.0%), (2,13,100.0%), (3,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00148/0.4614, allocations: 409.2 kB / 487.3 MB, free: 67.93 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005495/0.4619, allocations: 398.1 kB / 487.7 MB, free: 67.69 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002799/0.4647, allocations: 2.471 MB / 490.2 MB, free: 66.17 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.252e-05/0.4647, allocations: 37.06 kB / 490.2 MB, free: 66.13 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.683e-05/0.4648, allocations: 16 kB / 490.2 MB, free: 66.12 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.221e-05/0.4648, allocations: 17.16 kB / 490.3 MB, free: 66.12 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007805/0.4726, allocations: 5.901 MB / 496.2 MB, free: 62.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.626e-06/0.4726, allocations: 4 kB / 496.2 MB, free: 62.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001496/0.4741, allocations: 0.6862 MB / 496.8 MB, free: 61.38 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001435/0.4755, allocations: 0.4907 MB / 497.3 MB, free: 60.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001461/0.477, allocations: 0.8085 MB / 498.1 MB, free: 60.18 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001817/0.4772, allocations: 83.45 kB / 498.2 MB, free: 60.15 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00591/0.4831, allocations: 10.55 MB / 0.4968 GB, free: 49.39 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.837e-06/0.4831, allocations: 11.94 kB / 0.4969 GB, free: 49.38 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003856/0.4869, allocations: 3.18 MB / 0.5 GB, free: 46.18 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006955/0.4876, allocations: 75.94 kB / 0.5 GB, free: 46.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001073/0.4887, allocations: 135.9 kB / 0.5002 GB, free: 45.98 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003439/0.4891, allocations: 277 kB / 0.5004 GB, free: 45.71 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001231/0.4892, allocations: 75.97 kB / 0.5005 GB, free: 45.64 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00115/0.4903, allocations: 1.446 MB / 0.5019 GB, free: 44.35 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4903, allocations: 0 / 0.5019 GB, free: 44.35 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003821/0.4941, allocations: 1.461 MB / 0.5033 GB, free: 42.89 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 10 (smeeM.phiMechanical,smeeM.stator.core.Phi.re,smeeM.stator.core.Phi.im,smeeM.stator.stray.Phi.re,smeeM.stator.stray.Phi.im,smee3.phiMechanical,smee3.stator.core.Phi.re,smee3.stator.core.Phi.im,smee3.stator.stray.Phi.re,smee3.stator.stray.Phi.im) * 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 (281): * Single equations (assignments): 274 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * 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,13,100.0%), (2,13,100.0%), (4,33,93.8%), (1,8,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006824/0.4948, allocations: 240.1 kB / 0.5036 GB, free: 42.68 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003632/0.4985, allocations: 2.85 MB / 0.5064 GB, free: 39.96 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.000167/0.4986, allocations: 91.31 kB / 0.5064 GB, free: 39.88 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001911/0.5005, allocations: 2.023 MB / 0.5084 GB, free: 37.89 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00333/0.5039, allocations: 1.301 MB / 0.5097 GB, free: 36.62 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05116/0.555, allocations: 13.33 MB / 0.5227 GB, free: 23.21 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001407/0.5564, allocations: 1.666 MB / 0.5243 GB, free: 21.52 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001989/0.5584, allocations: 0.6277 MB / 0.525 GB, free: 20.89 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001637/0.5601, allocations: 0.9599 MB / 0.5259 GB, free: 19.91 MB / 426.7 MB Notification: Performance of SimCode: time 1.824e-06/0.5601, allocations: 0 / 0.5259 GB, free: 19.91 MB / 426.7 MB Notification: Performance of Templates: time 0.08728/0.6473, allocations: 65.07 MB / 0.5894 GB, free: 3.566 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.1633694563061]