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.0013/0.0013, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001591/0.001591, allocations: 171.9 kB / 24.82 MB, free: 9.273 MB / 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.8969/0.8969, allocations: 177 MB / 205.1 MB, free: 5.469 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.2328/0.2328, allocations: 34.87 MB / 296.6 MB, free: 432 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.342e-06/1.342e-06, allocations: 0 / 379.4 MB, free: 1.672 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.766e-05/1.901e-05, allocations: 2.312 kB / 379.4 MB, free: 1.668 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase): time 0.02153/0.02155, allocations: 29.14 MB / 408.5 MB, free: 4.395 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01479/0.03635, allocations: 8.474 MB / 417 MB, free: 11.89 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005892/0.04224, allocations: 246.6 kB / 417.2 MB, free: 11.65 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004782/0.04702, allocations: 1.991 MB / 419.2 MB, free: 9.645 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006636/0.05366, allocations: 2.84 MB / 422.1 MB, free: 6.785 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003011/0.05667, allocations: 1.808 MB / 423.9 MB, free: 4.977 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.009555/0.06622, allocations: 10.84 MB / 434.7 MB, free: 10.1 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006334/0.07256, allocations: 4.966 MB / 439.7 MB, free: 5.023 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.151/0.2236, allocations: 7.552 MB / 447.2 MB, free: 54.3 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006438/0.23, allocations: 5.167 MB / 452.4 MB, free: 54.3 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003197/0.2332, allocations: 1.353 MB / 453.7 MB, free: 54.3 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004498/0.2377, allocations: 1.697 MB / 455.4 MB, free: 54.3 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002143/0.2399, allocations: 3.127 MB / 458.6 MB, free: 54.3 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006242/0.2461, allocations: 3.888 MB / 462.5 MB, free: 54.3 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01088/0.257, allocations: 8.956 MB / 471.4 MB, free: 53.17 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.715e-06/0.257, allocations: 0 / 471.4 MB, free: 53.17 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.257, allocations: 0 / 471.4 MB, free: 53.17 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000546/0.2575, allocations: 0 / 471.4 MB, free: 53.17 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.01915/0.2767, allocations: 11.33 MB / 482.7 MB, free: 47.52 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.2767, allocations: 9.719 kB / 482.8 MB, free: 47.52 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007578/0.2843, allocations: 3.07 MB / 485.8 MB, free: 46.34 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009245/0.2935, allocations: 5.663 MB / 491.5 MB, free: 43.42 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003725/0.2939, allocations: 0.6377 MB / 492.1 MB, free: 43.13 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001189/0.2951, allocations: 0.8572 MB / 493 MB, free: 42.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01183/0.3069, allocations: 6.317 MB / 499.3 MB, free: 40.89 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001827/0.3071, allocations: 15.92 kB / 499.3 MB, free: 40.88 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006763/0.3078, allocations: 364.1 kB / 499.7 MB, free: 40.6 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000299/0.3081, allocations: 382.1 kB / 0.4883 GB, free: 40.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007116/0.3152, allocations: 2.55 MB / 0.4908 GB, free: 40.33 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04066/0.3559, allocations: 28.18 MB / 0.5183 GB, free: 23.35 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006595/0.3625, allocations: 5.12 MB / 0.5233 GB, free: 19.49 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00276/0.3652, allocations: 2.381 MB / 0.5257 GB, free: 17.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009299/0.3745, allocations: 6.281 MB / 0.5318 GB, free: 11.08 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.601e-05/0.3746, allocations: 67.81 kB / 0.5319 GB, free: 11 MB / 410.7 MB Notification: Performance of pre-optimization done (n=310): time 4.579e-06/0.3746, allocations: 0 / 0.5319 GB, free: 11 MB / 410.7 MB Notification: Performance of matching and sorting (n=362): time 0.01384/0.3884, allocations: 8.581 MB / 0.5402 GB, free: 2.516 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.919e-05/0.3884, allocations: 86.23 kB / 0.5403 GB, free: 2.418 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003288/0.3917, allocations: 3.349 MB / 0.5436 GB, free: 15.59 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002453/0.392, allocations: 85.7 kB / 0.5437 GB, free: 15.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001877/0.3939, allocations: 4.21 MB / 0.5478 GB, free: 11.45 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008658/0.3947, allocations: 1.327 MB / 0.5491 GB, free: 10.19 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009001/0.3956, allocations: 0.8572 MB / 0.5499 GB, free: 9.41 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.5e-05/0.3957, allocations: 480.8 kB / 0.5504 GB, free: 8.938 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007699/0.3965, allocations: 0.5202 MB / 0.5509 GB, free: 8.41 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001681/0.3982, allocations: 2.698 MB / 0.5535 GB, free: 4.922 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002899/0.4011, allocations: 3.605 MB / 0.557 GB, free: 0.7031 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.709e-05/0.4011, allocations: 12 kB / 0.5571 GB, free: 0.6914 MB / 426.7 MB Notification: Performance of matching and sorting (n=587) (initialization): time 0.005293/0.4064, allocations: 3.865 MB / 0.5608 GB, free: 13.11 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.232e-05/0.4064, allocations: 24 kB / 0.5609 GB, free: 13.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.511e-05/0.4065, allocations: 48 kB / 0.5609 GB, free: 13.04 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001352/0.4078, allocations: 0.7052 MB / 0.5616 GB, free: 12.33 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0019/0.4097, allocations: 0.9872 MB / 0.5625 GB, free: 11.41 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006743/0.4165, allocations: 10.71 MB / 0.573 GB, free: 448 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002897/0.4194, allocations: 187.9 kB / 0.5732 GB, free: 260 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004141/0.4198, allocations: 168 kB / 0.5733 GB, free: 92 kB / 442.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.002089/0.4219, allocations: 453.9 kB / 0.5738 GB, free: 15.7 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001022/0.4229, allocations: 0.5752 MB / 0.5743 GB, free: 15.12 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003732/0.4266, allocations: 2.937 MB / 0.5772 GB, free: 12.19 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.937e-05/0.4266, allocations: 36 kB / 0.5772 GB, free: 12.15 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.696e-05/0.4267, allocations: 19.98 kB / 0.5773 GB, free: 12.13 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-05/0.4267, allocations: 15.94 kB / 0.5773 GB, free: 12.12 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0112/0.4379, allocations: 7.254 MB / 0.5844 GB, free: 5.359 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.111e-05/0.4379, allocations: 8 kB / 0.5844 GB, free: 5.352 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001222/0.4391, allocations: 0.5578 MB / 0.5849 GB, free: 4.82 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001834/0.4409, allocations: 0.8528 MB / 0.5857 GB, free: 3.973 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001891/0.4411, allocations: 83.97 kB / 0.5858 GB, free: 3.891 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00855/0.4497, allocations: 13.9 MB / 0.5994 GB, free: 5.648 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.4497, allocations: 11.47 kB / 0.5994 GB, free: 5.641 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005737/0.4554, allocations: 3.839 MB / 0.6032 GB, free: 1.742 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001601/0.457, allocations: 0.7896 MB / 0.6039 GB, free: 0.9492 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005006/0.4575, allocations: 75.94 kB / 0.604 GB, free: 0.875 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001125/0.4586, allocations: 139.9 kB / 0.6041 GB, free: 0.7383 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004004/0.459, allocations: 273.6 kB / 0.6044 GB, free: 484 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001454/0.4592, allocations: 82.78 kB / 0.6045 GB, free: 404 kB / 474.7 MB Notification: Performance of sorting global known variables: time 0.1475/0.6067, allocations: 1.681 MB / 0.6061 GB, free: 103.2 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6067, allocations: 0.5469 kB / 0.6061 GB, free: 103.2 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004587/0.6113, allocations: 1.466 MB / 0.6075 GB, free: 103.2 MB / 474.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.0004768/0.6118, allocations: 257.6 kB / 0.6078 GB, free: 103.2 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003333/0.6151, allocations: 3.305 MB / 0.611 GB, free: 102.3 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.6151, allocations: 2.938 kB / 0.611 GB, free: 102.3 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001945/0.6171, allocations: 2.444 MB / 0.6134 GB, free: 101.4 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002672/0.6197, allocations: 0.9535 MB / 0.6143 GB, free: 101.3 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01589/0.6356, allocations: 13.1 MB / 0.6271 GB, free: 96.09 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001894/0.6375, allocations: 2.044 MB / 0.6291 GB, free: 95.84 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002095/0.6396, allocations: 0.6255 MB / 0.6297 GB, free: 95.66 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002001/0.6416, allocations: 1.065 MB / 0.6308 GB, free: 95.59 MB / 474.7 MB Notification: Performance of SimCode: time 1.193e-06/0.6416, allocations: 0 / 0.6308 GB, free: 95.59 MB / 474.7 MB Notification: Performance of Templates: time 0.0805/0.7221, allocations: 62.32 MB / 0.6916 GB, free: 61.55 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: 4.964208779856563]