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.001259/0.001259, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.001112/0.001112, allocations: 160.5 kB / 24.55 MB, free: 20 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.966/0.966, allocations: 177 MB / 204.8 MB, free: 5.574 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.255/0.255, allocations: 34.86 MB / 296.3 MB, free: 0.5469 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.904e-06/1.904e-06, allocations: 0 / 378.9 MB, free: 1.961 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.484e-05/2.674e-05, allocations: 2.312 kB / 378.9 MB, free: 1.957 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase): time 0.02914/0.02917, allocations: 30.51 MB / 409.4 MB, free: 3.316 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01556/0.04472, allocations: 8.506 MB / 417.9 MB, free: 10.78 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005061/0.04978, allocations: 246.6 kB / 418.2 MB, free: 10.54 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005099/0.05488, allocations: 1.991 MB / 420.2 MB, free: 8.535 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008027/0.06291, allocations: 2.844 MB / 423 MB, free: 5.672 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004399/0.06731, allocations: 1.823 MB / 424.8 MB, free: 3.852 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.01266/0.07997, allocations: 10.84 MB / 435.7 MB, free: 8.965 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007153/0.08712, allocations: 4.966 MB / 440.6 MB, free: 3.895 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1717/0.2589, allocations: 7.342 MB / 448 MB, free: 54.2 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008779/0.2676, allocations: 5.21 MB / 453.2 MB, free: 54.2 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003684/0.2713, allocations: 1.362 MB / 454.5 MB, free: 54.2 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004962/0.2763, allocations: 1.702 MB / 456.3 MB, free: 54.2 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003238/0.2795, allocations: 3.159 MB / 459.4 MB, free: 54.2 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008595/0.2881, allocations: 3.915 MB / 463.3 MB, free: 54.2 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01191/0.3, allocations: 9.006 MB / 472.3 MB, free: 52.84 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.3, allocations: 0 / 472.3 MB, free: 52.84 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3, allocations: 0.7188 kB / 472.3 MB, free: 52.84 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005671/0.3006, allocations: 0 / 472.3 MB, free: 52.84 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.02358/0.3242, allocations: 11.61 MB / 483.9 MB, free: 46.79 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.3242, allocations: 9.031 kB / 484 MB, free: 46.79 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00955/0.3338, allocations: 3.228 MB / 487.2 MB, free: 45.62 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01114/0.3449, allocations: 5.926 MB / 493.1 MB, free: 42.67 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004076/0.3453, allocations: 0.6384 MB / 493.7 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002054/0.3474, allocations: 0.8531 MB / 494.6 MB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01461/0.362, allocations: 6.882 MB / 0.4897 GB, free: 39.54 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001585/0.3622, allocations: 12.22 kB / 0.4897 GB, free: 39.54 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000575/0.3627, allocations: 361.1 kB / 0.4901 GB, free: 39.26 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002369/0.363, allocations: 377.9 kB / 0.4904 GB, free: 39.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008365/0.3713, allocations: 3.24 MB / 0.4936 GB, free: 38.72 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03891/0.4102, allocations: 28.39 MB / 0.5213 GB, free: 19.61 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005927/0.4162, allocations: 5.429 MB / 0.5266 GB, free: 14.9 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003257/0.4194, allocations: 2.588 MB / 0.5292 GB, free: 12.32 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009673/0.4291, allocations: 6.481 MB / 0.5355 GB, free: 5.957 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.148e-05/0.4291, allocations: 75.81 kB / 0.5356 GB, free: 5.871 MB / 410.7 MB Notification: Performance of pre-optimization done (n=310): time 5e-06/0.4291, allocations: 4 kB / 0.5356 GB, free: 5.867 MB / 410.7 MB Notification: Performance of matching and sorting (n=362): time 0.01814/0.4473, allocations: 10.18 MB / 0.5455 GB, free: 11.71 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.228e-05/0.4473, allocations: 92.75 kB / 0.5456 GB, free: 11.61 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004561/0.4519, allocations: 3.431 MB / 0.5489 GB, free: 8.137 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003718/0.4523, allocations: 85.7 kB / 0.549 GB, free: 8.047 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002135/0.4544, allocations: 4.179 MB / 0.5531 GB, free: 3.852 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008868/0.4553, allocations: 1.317 MB / 0.5544 GB, free: 2.547 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009197/0.4562, allocations: 0.8331 MB / 0.5552 GB, free: 1.699 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.4563, allocations: 480.8 kB / 0.5557 GB, free: 1.227 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001438/0.4578, allocations: 0.6843 MB / 0.5563 GB, free: 0.5352 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002147/0.4599, allocations: 2.84 MB / 0.5591 GB, free: 12.8 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00402/0.4639, allocations: 3.883 MB / 0.5629 GB, free: 8.203 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.5e-05/0.464, allocations: 12 kB / 0.5629 GB, free: 8.191 MB / 442.7 MB Notification: Performance of matching and sorting (n=587) (initialization): time 0.006557/0.4705, allocations: 4.25 MB / 0.5671 GB, free: 4.215 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.308e-05/0.4705, allocations: 28 kB / 0.5671 GB, free: 4.188 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.985e-05/0.4706, allocations: 44 kB / 0.5671 GB, free: 4.145 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001575/0.4722, allocations: 0.7144 MB / 0.5678 GB, free: 3.41 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002065/0.4742, allocations: 1.025 MB / 0.5688 GB, free: 2.453 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007631/0.4819, allocations: 11 MB / 0.5796 GB, free: 7.066 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002952/0.4848, allocations: 219.7 kB / 0.5798 GB, free: 6.852 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003797/0.4852, allocations: 208 kB / 0.58 GB, free: 6.648 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.002263/0.4875, allocations: 458.3 kB / 0.5804 GB, free: 6.258 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00101/0.4885, allocations: 0.5751 MB / 0.581 GB, free: 5.68 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004763/0.4932, allocations: 3.225 MB / 0.5841 GB, free: 2.438 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.372e-05/0.4933, allocations: 36 kB / 0.5842 GB, free: 2.402 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-05/0.4933, allocations: 12 kB / 0.5842 GB, free: 2.391 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.26e-05/0.4933, allocations: 19.92 kB / 0.5842 GB, free: 2.371 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01399/0.5073, allocations: 9.044 MB / 0.593 GB, free: 9.297 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.779e-06/0.5073, allocations: 4.062 kB / 0.593 GB, free: 9.293 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001353/0.5087, allocations: 0.5884 MB / 0.5936 GB, free: 8.73 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001786/0.5105, allocations: 0.886 MB / 0.5945 GB, free: 7.832 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002017/0.5107, allocations: 87.97 kB / 0.5946 GB, free: 7.746 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009691/0.5203, allocations: 14.29 MB / 0.6085 GB, free: 8.941 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.5204, allocations: 4 kB / 0.6085 GB, free: 8.938 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007045/0.5274, allocations: 4.272 MB / 0.6127 GB, free: 4.539 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00196/0.5294, allocations: 0.8367 MB / 0.6135 GB, free: 3.699 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004365/0.5298, allocations: 79.94 kB / 0.6136 GB, free: 3.621 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001137/0.5309, allocations: 170.4 kB / 0.6137 GB, free: 3.457 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004858/0.5314, allocations: 305.5 kB / 0.614 GB, free: 3.16 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001612/0.5316, allocations: 104 kB / 0.6141 GB, free: 3.059 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00255/0.5341, allocations: 1.862 MB / 0.616 GB, free: 1.191 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5341, allocations: 0 / 0.616 GB, free: 1.191 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.1858/0.72, allocations: 1.471 MB / 0.6174 GB, free: 116.2 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.001107/0.7211, allocations: 257.3 kB / 0.6176 GB, free: 116.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006311/0.7274, allocations: 3.594 MB / 0.6211 GB, free: 115.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-05/0.7274, allocations: 0 / 0.6211 GB, free: 115.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003904/0.7313, allocations: 2.572 MB / 0.6237 GB, free: 114.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004859/0.7361, allocations: 0.9638 MB / 0.6246 GB, free: 114.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02227/0.7584, allocations: 13.23 MB / 0.6375 GB, free: 109 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002113/0.7605, allocations: 2.046 MB / 0.6395 GB, free: 108.8 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003094/0.7636, allocations: 0.8734 MB / 0.6404 GB, free: 108.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007717/0.7644, allocations: 318.3 kB / 0.6407 GB, free: 108.6 MB / 490.7 MB Notification: Performance of SimCode: time 1.803e-06/0.7644, allocations: 0 / 0.6407 GB, free: 108.6 MB / 490.7 MB Notification: Performance of Templates: time 0.07889/0.8433, allocations: 57.85 MB / 0.6972 GB, free: 82.33 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.541883039288223]