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.001133/0.001133, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001385/0.001385, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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 0.9721/0.9721, allocations: 177 MB / 204.8 MB, free: 5.555 MB / 186.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.2728/0.2728, allocations: 34.86 MB / 296.3 MB, free: 492 kB / 266.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.092e-06/1.092e-06, allocations: 0 / 378.9 MB, free: 1.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.315e-05/1.424e-05, allocations: 4.844 kB / 378.9 MB, free: 1.906 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase): time 0.0236/0.02361, allocations: 30.51 MB / 409.4 MB, free: 3.262 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0152/0.03882, allocations: 8.506 MB / 417.9 MB, free: 10.73 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005756/0.04457, allocations: 246.6 kB / 418.2 MB, free: 10.48 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005916/0.05049, allocations: 1.995 MB / 420.2 MB, free: 8.477 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008491/0.05898, allocations: 2.852 MB / 423 MB, free: 5.605 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004015/0.06299, allocations: 1.82 MB / 424.8 MB, free: 3.785 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.01135/0.07434, allocations: 10.84 MB / 435.7 MB, free: 8.906 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00713/0.08147, allocations: 4.959 MB / 440.6 MB, free: 3.84 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1664/0.2478, allocations: 7.551 MB / 448.2 MB, free: 54.28 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008218/0.2561, allocations: 5.135 MB / 453.3 MB, free: 54.28 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004136/0.2602, allocations: 1.353 MB / 454.7 MB, free: 54.28 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005933/0.2661, allocations: 1.693 MB / 456.4 MB, free: 54.28 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004721/0.2708, allocations: 3.13 MB / 459.5 MB, free: 54.28 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007633/0.2785, allocations: 3.893 MB / 463.4 MB, free: 54.28 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01126/0.2897, allocations: 8.955 MB / 472.4 MB, free: 52.95 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2897, allocations: 0 / 472.4 MB, free: 52.95 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2897, allocations: 0 / 472.4 MB, free: 52.95 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005724/0.2903, allocations: 2.297 kB / 472.4 MB, free: 52.95 MB / 410.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.02081/0.3111, allocations: 11.57 MB / 483.9 MB, free: 46.9 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.3112, allocations: 9.375 kB / 483.9 MB, free: 46.9 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008548/0.3197, allocations: 3.225 MB / 487.2 MB, free: 45.72 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01023/0.33, allocations: 5.942 MB / 493.1 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003664/0.3303, allocations: 0.6426 MB / 493.7 MB, free: 42.47 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001398/0.3317, allocations: 0.8494 MB / 494.6 MB, free: 42.19 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01326/0.345, allocations: 6.89 MB / 0.4897 GB, free: 39.63 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001694/0.3451, allocations: 8.766 kB / 0.4897 GB, free: 39.63 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005887/0.3457, allocations: 357.8 kB / 0.4901 GB, free: 39.35 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002343/0.346, allocations: 376.5 kB / 0.4904 GB, free: 39.32 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008251/0.3542, allocations: 3.232 MB / 0.4936 GB, free: 38.81 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03686/0.3911, allocations: 28.31 MB / 0.5212 GB, free: 19.74 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00593/0.397, allocations: 5.447 MB / 0.5266 GB, free: 15.02 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003285/0.4003, allocations: 2.59 MB / 0.5291 GB, free: 12.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009687/0.41, allocations: 6.432 MB / 0.5354 GB, free: 6.121 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.947e-05/0.41, allocations: 75.8 kB / 0.5354 GB, free: 6.035 MB / 410.7 MB Notification: Performance of pre-optimization done (n=310): time 6.683e-06/0.41, allocations: 3.984 kB / 0.5354 GB, free: 6.031 MB / 410.7 MB Notification: Performance of matching and sorting (n=362): time 0.01879/0.4288, allocations: 10.16 MB / 0.5454 GB, free: 11.89 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.463e-05/0.4289, allocations: 90.23 kB / 0.5455 GB, free: 11.79 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005019/0.4339, allocations: 3.427 MB / 0.5488 GB, free: 8.32 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000284/0.4342, allocations: 85.7 kB / 0.5489 GB, free: 8.23 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002385/0.4366, allocations: 4.176 MB / 0.553 GB, free: 4.039 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009789/0.4375, allocations: 1.319 MB / 0.5543 GB, free: 2.73 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009346/0.4385, allocations: 0.8404 MB / 0.5551 GB, free: 1.879 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.729e-05/0.4386, allocations: 483.1 kB / 0.5555 GB, free: 1.406 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001283/0.4399, allocations: 0.6843 MB / 0.5562 GB, free: 0.7148 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002368/0.4422, allocations: 2.835 MB / 0.559 GB, free: 12.98 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003841/0.4461, allocations: 3.884 MB / 0.5628 GB, free: 8.387 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.343e-05/0.4461, allocations: 12 kB / 0.5628 GB, free: 8.375 MB / 442.7 MB Notification: Performance of matching and sorting (n=587) (initialization): time 0.00693/0.453, allocations: 4.24 MB / 0.5669 GB, free: 4.406 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.92e-05/0.4531, allocations: 28 kB / 0.5669 GB, free: 4.379 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.412e-05/0.4531, allocations: 44.84 kB / 0.567 GB, free: 4.336 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001635/0.4548, allocations: 0.718 MB / 0.5677 GB, free: 3.602 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002083/0.4568, allocations: 1.021 MB / 0.5687 GB, free: 2.648 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007737/0.4646, allocations: 11 MB / 0.5794 GB, free: 7.27 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002983/0.4676, allocations: 215.9 kB / 0.5796 GB, free: 7.059 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004099/0.468, allocations: 211.3 kB / 0.5798 GB, free: 6.855 MB / 458.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.002237/0.4702, allocations: 452.1 kB / 0.5803 GB, free: 6.469 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001114/0.4713, allocations: 0.579 MB / 0.5808 GB, free: 5.887 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004936/0.4763, allocations: 3.22 MB / 0.584 GB, free: 2.648 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.256e-05/0.4763, allocations: 40 kB / 0.584 GB, free: 2.609 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.049e-05/0.4763, allocations: 19.47 kB / 0.584 GB, free: 2.594 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.44e-05/0.4764, allocations: 15.94 kB / 0.584 GB, free: 2.578 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01661/0.493, allocations: 9.006 MB / 0.5928 GB, free: 9.547 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.23e-05/0.493, allocations: 10.39 kB / 0.5928 GB, free: 9.539 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001357/0.4943, allocations: 0.5822 MB / 0.5934 GB, free: 8.984 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002121/0.4965, allocations: 0.8698 MB / 0.5943 GB, free: 8.102 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002052/0.4967, allocations: 91.95 kB / 0.5944 GB, free: 8.012 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01004/0.5067, allocations: 14.29 MB / 0.6083 GB, free: 9.207 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.431e-06/0.5067, allocations: 7.562 kB / 0.6083 GB, free: 9.203 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006588/0.5133, allocations: 4.271 MB / 0.6125 GB, free: 4.801 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001624/0.5149, allocations: 0.8248 MB / 0.6133 GB, free: 3.973 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003968/0.5153, allocations: 79.94 kB / 0.6134 GB, free: 3.895 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001094/0.5164, allocations: 159.8 kB / 0.6135 GB, free: 3.738 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004807/0.5169, allocations: 305.6 kB / 0.6138 GB, free: 3.441 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00016/0.5171, allocations: 106.5 kB / 0.6139 GB, free: 3.34 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002629/0.5197, allocations: 1.85 MB / 0.6157 GB, free: 1.484 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5197, allocations: 0 / 0.6157 GB, free: 1.484 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0038/0.5235, allocations: 1.461 MB / 0.6171 GB, free: 24 kB / 490.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.1724/0.6959, allocations: 260.3 kB / 0.6174 GB, free: 116.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005/0.7009, allocations: 3.593 MB / 0.6209 GB, free: 115.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.625e-06/0.7009, allocations: 2.688 kB / 0.6209 GB, free: 115.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00276/0.7037, allocations: 2.564 MB / 0.6234 GB, free: 114.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003411/0.7071, allocations: 0.957 MB / 0.6243 GB, free: 114.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01896/0.7261, allocations: 13.23 MB / 0.6373 GB, free: 109.4 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002255/0.7283, allocations: 2.045 MB / 0.6393 GB, free: 109.1 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002761/0.7311, allocations: 0.8773 MB / 0.6401 GB, free: 108.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007816/0.7319, allocations: 312.6 kB / 0.6404 GB, free: 108.9 MB / 490.7 MB Notification: Performance of SimCode: time 2.805e-06/0.7319, allocations: 0 / 0.6404 GB, free: 108.9 MB / 490.7 MB Notification: Performance of Templates: time 0.07656/0.8084, allocations: 59.91 MB / 0.6989 GB, free: 80.96 MB / 490.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.439030427951366]