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.001273/0.001273, allocations: 91.5 kB / 20.94 MB, free: 3.613 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.001452/0.001452, allocations: 160.5 kB / 24.23 MB, free: 328 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.9707/0.9707, allocations: 177 MB / 204.4 MB, free: 5.586 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.2486/0.2486, allocations: 34.87 MB / 295.8 MB, free: 0.5703 MB / 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.833e-06/1.833e-06, allocations: 0 / 378.1 MB, free: 2.289 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.614e-05/2.797e-05, allocations: 2.312 kB / 378.1 MB, free: 2.285 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase): time 0.0325/0.03253, allocations: 30.35 MB / 408.5 MB, free: 3.801 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01537/0.0479, allocations: 8.49 MB / 417 MB, free: 11.28 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00545/0.05335, allocations: 246.6 kB / 417.2 MB, free: 11.04 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006368/0.05972, allocations: 1.995 MB / 419.2 MB, free: 9.031 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008829/0.06855, allocations: 2.84 MB / 422 MB, free: 6.172 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00465/0.0732, allocations: 1.824 MB / 423.9 MB, free: 4.348 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.01146/0.08466, allocations: 10.83 MB / 434.7 MB, free: 9.477 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007935/0.0926, allocations: 4.97 MB / 439.7 MB, free: 4.398 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1742/0.2668, allocations: 7.352 MB / 447 MB, free: 54.09 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008151/0.275, allocations: 5.205 MB / 452.2 MB, free: 54.09 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003814/0.2788, allocations: 1.36 MB / 453.6 MB, free: 54.09 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00622/0.285, allocations: 1.707 MB / 455.3 MB, free: 54.09 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004033/0.2891, allocations: 3.155 MB / 458.5 MB, free: 54.09 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007512/0.2966, allocations: 3.918 MB / 462.4 MB, free: 54.09 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01037/0.3069, allocations: 9.006 MB / 471.4 MB, free: 52.78 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3069, allocations: 3.031 kB / 471.4 MB, free: 52.78 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.307, allocations: 0 / 471.4 MB, free: 52.78 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005346/0.3075, allocations: 0 / 471.4 MB, free: 52.78 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.02145/0.3289, allocations: 11.6 MB / 483 MB, free: 46.74 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.329, allocations: 10.53 kB / 483 MB, free: 46.74 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009024/0.338, allocations: 3.229 MB / 486.2 MB, free: 45.57 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01001/0.348, allocations: 5.926 MB / 492.1 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003954/0.3484, allocations: 0.6413 MB / 492.8 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001826/0.3502, allocations: 0.8559 MB / 493.6 MB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01594/0.3662, allocations: 6.884 MB / 0.4888 GB, free: 39.49 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001873/0.3664, allocations: 12.09 kB / 0.4888 GB, free: 39.48 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006667/0.367, allocations: 360.5 kB / 0.4892 GB, free: 39.21 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002545/0.3673, allocations: 376 kB / 0.4895 GB, free: 39.18 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008345/0.3756, allocations: 3.233 MB / 0.4927 GB, free: 38.67 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03661/0.4122, allocations: 28.4 MB / 0.5204 GB, free: 19.74 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005855/0.4181, allocations: 5.41 MB / 0.5257 GB, free: 15.04 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003247/0.4213, allocations: 2.591 MB / 0.5282 GB, free: 12.45 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0104/0.4317, allocations: 6.487 MB / 0.5346 GB, free: 6.09 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.424e-05/0.4318, allocations: 79.8 kB / 0.5346 GB, free: 6 MB / 410.7 MB Notification: Performance of pre-optimization done (n=310): time 5.169e-06/0.4318, allocations: 0 / 0.5346 GB, free: 6 MB / 410.7 MB Notification: Performance of matching and sorting (n=362): time 0.01793/0.4497, allocations: 10.18 MB / 0.5446 GB, free: 11.85 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.218e-05/0.4498, allocations: 90.23 kB / 0.5446 GB, free: 11.75 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004231/0.454, allocations: 3.435 MB / 0.548 GB, free: 8.27 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002684/0.4543, allocations: 85.7 kB / 0.5481 GB, free: 8.18 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002163/0.4564, allocations: 4.179 MB / 0.5522 GB, free: 3.984 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000995/0.4574, allocations: 1.319 MB / 0.5535 GB, free: 2.68 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008689/0.4583, allocations: 0.8331 MB / 0.5543 GB, free: 1.832 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.4584, allocations: 483 kB / 0.5547 GB, free: 1.359 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001285/0.4597, allocations: 0.6879 MB / 0.5554 GB, free: 0.668 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002268/0.462, allocations: 2.834 MB / 0.5582 GB, free: 12.93 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003829/0.4658, allocations: 3.884 MB / 0.562 GB, free: 8.336 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-05/0.4658, allocations: 12 kB / 0.562 GB, free: 8.324 MB / 442.7 MB Notification: Performance of matching and sorting (n=587) (initialization): time 0.006493/0.4723, allocations: 4.245 MB / 0.5661 GB, free: 4.348 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.557e-05/0.4724, allocations: 28 kB / 0.5661 GB, free: 4.32 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.886e-05/0.4724, allocations: 44.84 kB / 0.5662 GB, free: 4.277 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001572/0.474, allocations: 0.7209 MB / 0.5669 GB, free: 3.539 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002071/0.476, allocations: 1.026 MB / 0.5679 GB, free: 2.582 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008389/0.4844, allocations: 11 MB / 0.5786 GB, free: 7.199 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003022/0.4875, allocations: 222 kB / 0.5788 GB, free: 6.984 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003784/0.4878, allocations: 208 kB / 0.579 GB, free: 6.781 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.002181/0.49, allocations: 456.2 kB / 0.5795 GB, free: 6.391 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001288/0.4913, allocations: 0.5751 MB / 0.58 GB, free: 5.812 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005094/0.4964, allocations: 3.227 MB / 0.5832 GB, free: 2.57 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.756e-05/0.4964, allocations: 43.98 kB / 0.5832 GB, free: 2.527 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.807e-05/0.4965, allocations: 12 kB / 0.5832 GB, free: 2.516 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.188e-05/0.4965, allocations: 15.94 kB / 0.5833 GB, free: 2.5 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0139/0.5104, allocations: 9.037 MB / 0.5921 GB, free: 9.43 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.298e-06/0.5104, allocations: 4 kB / 0.5921 GB, free: 9.426 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001606/0.512, allocations: 0.5891 MB / 0.5927 GB, free: 8.863 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001771/0.5138, allocations: 0.8803 MB / 0.5935 GB, free: 7.973 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001994/0.514, allocations: 87.97 kB / 0.5936 GB, free: 7.887 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01004/0.524, allocations: 14.3 MB / 0.6076 GB, free: 9.082 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.524, allocations: 4 kB / 0.6076 GB, free: 9.078 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006698/0.5307, allocations: 4.273 MB / 0.6118 GB, free: 4.672 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00184/0.5326, allocations: 0.8328 MB / 0.6126 GB, free: 3.836 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005177/0.5331, allocations: 79.92 kB / 0.6126 GB, free: 3.758 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001186/0.5343, allocations: 167.8 kB / 0.6128 GB, free: 3.594 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005178/0.5348, allocations: 305.1 kB / 0.6131 GB, free: 3.301 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001602/0.5349, allocations: 104 kB / 0.6132 GB, free: 3.199 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00273/0.5377, allocations: 1.862 MB / 0.615 GB, free: 1.332 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.5377, allocations: 0 / 0.615 GB, free: 1.332 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.1625/0.7002, allocations: 1.478 MB / 0.6165 GB, free: 152.6 MB / 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.000897/0.7011, allocations: 254.2 kB / 0.6167 GB, free: 152.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004815/0.7059, allocations: 3.589 MB / 0.6202 GB, free: 151.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/0.7059, allocations: 2.938 kB / 0.6202 GB, free: 151.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002542/0.7084, allocations: 2.565 MB / 0.6227 GB, free: 150.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003303/0.7117, allocations: 0.959 MB / 0.6236 GB, free: 150.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01851/0.7302, allocations: 13.25 MB / 0.6366 GB, free: 145.2 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001965/0.7322, allocations: 2.041 MB / 0.6386 GB, free: 145 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002599/0.7348, allocations: 0.8732 MB / 0.6394 GB, free: 144.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007671/0.7356, allocations: 320 kB / 0.6397 GB, free: 144.8 MB / 490.7 MB Notification: Performance of SimCode: time 2.004e-06/0.7356, allocations: 4 kB / 0.6397 GB, free: 144.8 MB / 490.7 MB Notification: Performance of Templates: time 0.08224/0.8178, allocations: 57.84 MB / 0.6962 GB, free: 110.7 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.59993803803809]