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.001015/0.001015, allocations: 120.2 kB / 21.19 MB, free: 4.34 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.0009606/0.0009606, allocations: 213.3 kB / 24.48 MB, free: 1.359 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.9887/0.9887, allocations: 230.6 MB / 258.2 MB, free: 3.098 MB / 202.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.1565/0.1565, allocations: 47.71 MB / 362.4 MB, free: 15.43 MB / 298.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 0.002566/0.002566, allocations: 99.83 kB / 0.4978 GB, free: 3.211 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3174/0.32, allocations: 66.21 MB / 0.5625 GB, free: 13.66 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase): time 0.02092/0.3409, allocations: 26.47 MB / 0.5883 GB, free: 3.082 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01602/0.3569, allocations: 8.262 MB / 0.5964 GB, free: 10.8 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005193/0.3621, allocations: 242.6 kB / 0.5966 GB, free: 10.56 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004416/0.3665, allocations: 1.983 MB / 0.5985 GB, free: 8.559 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006258/0.3728, allocations: 2.76 MB / 0.6012 GB, free: 5.785 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003022/0.3758, allocations: 1.804 MB / 0.603 GB, free: 3.988 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.009308/0.3851, allocations: 10.34 MB / 0.6131 GB, free: 9.605 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006049/0.3912, allocations: 4.928 MB / 0.6179 GB, free: 4.574 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005468/0.3967, allocations: 4.926 MB / 0.6227 GB, free: 15.63 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007075/0.4037, allocations: 5.549 MB / 0.6281 GB, free: 10.06 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001873/0.4056, allocations: 1.363 MB / 0.6295 GB, free: 8.699 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002697/0.4083, allocations: 1.695 MB / 0.6311 GB, free: 7.004 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002175/0.4105, allocations: 3.042 MB / 0.6341 GB, free: 3.953 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003719/0.4142, allocations: 4.505 MB / 0.6385 GB, free: 15.43 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0147/0.4289, allocations: 17.75 MB / 0.6558 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.4289, allocations: 3.984 kB / 0.6558 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.673e-06/0.4289, allocations: 0 / 0.6558 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002815/0.4292, allocations: 0 / 0.6558 GB, free: 13.61 MB / 0.4948 GB 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.0316/0.4608, allocations: 11.2 MB / 0.6668 GB, free: 2.316 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.4608, allocations: 8.031 kB / 0.6668 GB, free: 2.309 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01399/0.4748, allocations: 2.161 MB / 0.6689 GB, free: 144 kB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01885/0.4937, allocations: 6.221 MB / 0.675 GB, free: 9.848 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003158/0.494, allocations: 0.6425 MB / 0.6756 GB, free: 9.203 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009172/0.4949, allocations: 0.8516 MB / 0.6764 GB, free: 8.352 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01351/0.5084, allocations: 11.81 MB / 0.688 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001214/0.5085, allocations: 7.891 kB / 0.688 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005406/0.5091, allocations: 360 kB / 0.6883 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002151/0.5093, allocations: 373.5 kB / 0.6887 GB, free: 11.65 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0116/0.5209, allocations: 9.665 MB / 0.6981 GB, free: 1.969 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5067/1.028, allocations: 30.36 MB / 0.7277 GB, free: 94.7 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007698/1.035, allocations: 6.797 MB / 0.7344 GB, free: 90.54 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004615/1.04, allocations: 3.937 MB / 0.7382 GB, free: 86.62 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01295/1.053, allocations: 8.569 MB / 0.7466 GB, free: 78.21 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.312e-05/1.053, allocations: 68.98 kB / 0.7467 GB, free: 78.13 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=310): time 5.47e-06/1.053, allocations: 0 / 0.7467 GB, free: 78.13 MB / 0.5262 GB Notification: Performance of matching and sorting (n=362): time 0.02185/1.075, allocations: 15.4 MB / 0.7617 GB, free: 63.05 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.036e-05/1.075, allocations: 90.23 kB / 0.7618 GB, free: 62.95 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004203/1.079, allocations: 4.016 MB / 0.7657 GB, free: 58.97 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.0004278/1.079, allocations: 93.58 kB / 0.7658 GB, free: 58.87 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.001378/1.081, allocations: 4.044 MB / 0.7697 GB, free: 55.3 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007419/1.082, allocations: 1.284 MB / 0.771 GB, free: 54.03 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007384/1.082, allocations: 0.8005 MB / 0.7718 GB, free: 53.21 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 3.064e-05/1.082, allocations: 305.1 kB / 0.7721 GB, free: 52.91 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001952/1.084, allocations: 1.957 MB / 0.774 GB, free: 50.95 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002347/1.087, allocations: 3.47 MB / 0.7774 GB, free: 46.8 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004558/1.091, allocations: 5.727 MB / 0.783 GB, free: 40.42 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-05/1.091, allocations: 12 kB / 0.783 GB, free: 40.41 MB / 0.5262 GB Notification: Performance of matching and sorting (n=587) (initialization): time 0.007678/1.099, allocations: 6.716 MB / 0.7895 GB, free: 33.64 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 4.16e-05/1.099, allocations: 36.14 kB / 0.7896 GB, free: 33.61 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.153e-05/1.099, allocations: 44 kB / 0.7896 GB, free: 33.57 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001414/1.1, allocations: 0.8969 MB / 0.7905 GB, free: 32.65 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002149/1.103, allocations: 1.045 MB / 0.7915 GB, free: 31.61 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007488/1.11, allocations: 11.79 MB / 0.803 GB, free: 19.42 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003258/1.113, allocations: 239.7 kB / 0.8033 GB, free: 19.18 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005099/1.114, allocations: 204 kB / 0.8034 GB, free: 18.98 MB / 0.5262 GB 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.003959/1.118, allocations: 2.558 MB / 0.8059 GB, free: 16.42 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001082/1.119, allocations: 477 kB / 0.8064 GB, free: 15.95 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0063/1.125, allocations: 5.512 MB / 0.8118 GB, free: 10.38 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.332e-05/1.125, allocations: 36 kB / 0.8118 GB, free: 10.34 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.961e-05/1.125, allocations: 12 kB / 0.8118 GB, free: 10.33 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.036e-05/1.125, allocations: 15.94 kB / 0.8118 GB, free: 10.31 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01585/1.141, allocations: 11.21 MB / 0.8228 GB, free: 15.01 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.237e-05/1.141, allocations: 4 kB / 0.8228 GB, free: 15.01 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001485/1.143, allocations: 0.6052 MB / 0.8234 GB, free: 14.4 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00177/1.144, allocations: 1.066 MB / 0.8244 GB, free: 13.32 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002083/1.145, allocations: 87.91 kB / 0.8245 GB, free: 13.23 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01377/1.158, allocations: 15.69 MB / 0.8398 GB, free: 13.05 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/1.158, allocations: 4 kB / 0.8398 GB, free: 13.05 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01041/1.169, allocations: 8.16 MB / 0.8478 GB, free: 4.73 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002403/1.171, allocations: 0.8795 MB / 0.8487 GB, free: 3.848 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008097/1.172, allocations: 76 kB / 0.8487 GB, free: 3.773 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001535/1.173, allocations: 175.8 kB / 0.8489 GB, free: 3.602 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000552/1.174, allocations: 294.1 kB / 0.8492 GB, free: 3.312 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001956/1.174, allocations: 107.9 kB / 0.8493 GB, free: 3.207 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.003955/1.178, allocations: 2.647 MB / 0.8519 GB, free: 0.5547 MB / 0.5574 GB Notification: Performance of sort global known variables: time 7e-08/1.178, allocations: 0 / 0.8519 GB, free: 0.5547 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.005099/1.183, allocations: 1.473 MB / 0.8533 GB, free: 15.08 MB / 0.573 GB 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.0006599/1.184, allocations: 262.6 kB / 0.8536 GB, free: 14.82 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.007042/1.191, allocations: 5.4 MB / 0.8588 GB, free: 9.352 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.628e-06/1.191, allocations: 4 kB / 0.8588 GB, free: 9.348 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.004078/1.195, allocations: 3.287 MB / 0.862 GB, free: 5.992 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003732/1.199, allocations: 0.927 MB / 0.8629 GB, free: 5.07 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02416/1.223, allocations: 15.11 MB / 0.8777 GB, free: 5.832 MB / 0.5887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00564/1.229, allocations: 4.531 MB / 0.8821 GB, free: 1.262 MB / 0.5887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001521/1.23, allocations: 355.3 kB / 0.8825 GB, free: 0.9141 MB / 0.5887 GB Notification: Performance of SimCode: time 1.693e-06/1.23, allocations: 0 / 0.8825 GB, free: 0.9141 MB / 0.5887 GB Notification: Performance of Templates: time 0.7731/2.003, allocations: 343.4 MB / 1.218 GB, free: 233.1 MB / 0.6668 GB " [Timeout remaining time 658] 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 > ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 12.355375515064225]