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.0009877/0.0009877, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.001248/0.001248, allocations: 169.5 kB / 24.91 MB, free: 8.758 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.9731/0.9731, allocations: 177 MB / 205.2 MB, free: 5.031 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.2704/0.2704, allocations: 34.87 MB / 296.6 MB, free: 468 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.443e-06/1.443e-06, allocations: 0 / 326.1 MB, free: 7.047 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.072e-05/2.216e-05, allocations: 4.609 kB / 326.1 MB, free: 7.043 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase): time 0.02086/0.02089, allocations: 29.15 MB / 355.2 MB, free: 9.766 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01791/0.0388, allocations: 8.895 MB / 364.1 MB, free: 0.8438 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007523/0.04632, allocations: 246.6 kB / 364.3 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007654/0.05398, allocations: 2.043 MB / 366.4 MB, free: 14.54 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01115/0.06512, allocations: 2.86 MB / 369.2 MB, free: 11.66 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004834/0.06996, allocations: 1.822 MB / 371.1 MB, free: 9.844 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.01207/0.08202, allocations: 10.85 MB / 381.9 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007611/0.08963, allocations: 5.103 MB / 387 MB, free: 9.715 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01249/0.1021, allocations: 7.545 MB / 394.6 MB, free: 2.156 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007951/0.1101, allocations: 5.195 MB / 399.8 MB, free: 12.95 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00346/0.1135, allocations: 1.352 MB / 401.1 MB, free: 11.6 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00476/0.1183, allocations: 1.698 MB / 402.8 MB, free: 9.898 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004315/0.1226, allocations: 3.128 MB / 405.9 MB, free: 6.762 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007474/0.1301, allocations: 3.89 MB / 409.8 MB, free: 2.863 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01147/0.1415, allocations: 8.953 MB / 418.8 MB, free: 9.883 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.892e-06/0.1416, allocations: 0 / 418.8 MB, free: 9.883 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1416, allocations: 0 / 418.8 MB, free: 9.883 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004063/0.142, allocations: 0 / 418.8 MB, free: 9.883 MB / 394.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.02116/0.1631, allocations: 10.82 MB / 429.6 MB, free: 14.96 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.1632, allocations: 8.031 kB / 429.6 MB, free: 14.96 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01014/0.1733, allocations: 2.923 MB / 432.5 MB, free: 12.03 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009313/0.1826, allocations: 3.77 MB / 436.3 MB, free: 8.172 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006028/0.1832, allocations: 0.6347 MB / 436.9 MB, free: 7.535 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001682/0.1849, allocations: 0.8518 MB / 437.8 MB, free: 6.684 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01589/0.2008, allocations: 6.488 MB / 444.3 MB, free: 24 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000287/0.2011, allocations: 7.875 kB / 444.3 MB, free: 16 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.2757/0.4768, allocations: 353.8 kB / 444.6 MB, free: 77.3 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004645/0.4772, allocations: 378.3 kB / 445 MB, free: 77.28 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006171/0.4834, allocations: 2.578 MB / 447.6 MB, free: 77.04 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03297/0.5164, allocations: 22.44 MB / 470 MB, free: 70.87 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00487/0.5213, allocations: 4.322 MB / 474.3 MB, free: 69.87 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002713/0.524, allocations: 2.255 MB / 476.6 MB, free: 68.11 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008436/0.5324, allocations: 5.024 MB / 481.6 MB, free: 64.03 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.227e-05/0.5324, allocations: 70.94 kB / 481.7 MB, free: 63.95 MB / 410.8 MB Notification: Performance of pre-optimization done (n=310): time 4.759e-06/0.5324, allocations: 0 / 481.7 MB, free: 63.95 MB / 410.8 MB Notification: Performance of matching and sorting (n=362): time 0.01364/0.5461, allocations: 8.41 MB / 490.1 MB, free: 56.56 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.296e-05/0.5461, allocations: 90.23 kB / 490.2 MB, free: 56.46 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002409/0.5485, allocations: 2.858 MB / 493 MB, free: 54.2 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002274/0.5488, allocations: 85.7 kB / 493.1 MB, free: 54.11 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009282/0.5497, allocations: 3.405 MB / 496.5 MB, free: 51.16 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005759/0.5503, allocations: 1.279 MB / 497.8 MB, free: 49.95 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006633/0.5509, allocations: 0.772 MB / 498.6 MB, free: 49.26 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 2.612e-05/0.551, allocations: 305.1 kB / 498.9 MB, free: 48.96 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000682/0.5516, allocations: 0.515 MB / 499.4 MB, free: 48.44 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00096/0.5526, allocations: 1.985 MB / 0.4896 GB, free: 45.91 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002138/0.5547, allocations: 2.985 MB / 0.4925 GB, free: 42.55 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.639e-05/0.5548, allocations: 12 kB / 0.4926 GB, free: 42.54 MB / 410.8 MB Notification: Performance of matching and sorting (n=587) (initialization): time 0.004079/0.5588, allocations: 3.115 MB / 0.4956 GB, free: 39.71 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.163e-05/0.5589, allocations: 24 kB / 0.4956 GB, free: 39.69 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.735e-05/0.5589, allocations: 48 kB / 0.4957 GB, free: 39.64 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001198/0.5601, allocations: 0.6695 MB / 0.4963 GB, free: 38.98 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001733/0.5618, allocations: 0.9789 MB / 0.4973 GB, free: 38.06 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004405/0.5662, allocations: 7.926 MB / 0.505 GB, free: 29.95 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002444/0.5687, allocations: 179.8 kB / 0.5052 GB, free: 29.77 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003878/0.5691, allocations: 168 kB / 0.5054 GB, free: 29.61 MB / 410.8 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.001718/0.5708, allocations: 405.5 kB / 0.5057 GB, free: 29.27 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007681/0.5716, allocations: 391.6 kB / 0.5061 GB, free: 28.89 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002795/0.5744, allocations: 2.48 MB / 0.5085 GB, free: 26.42 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.751e-05/0.5744, allocations: 39.98 kB / 0.5086 GB, free: 26.38 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.939e-06/0.5744, allocations: 12 kB / 0.5086 GB, free: 26.37 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-05/0.5744, allocations: 15.94 kB / 0.5086 GB, free: 26.36 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00771/0.5821, allocations: 5.885 MB / 0.5143 GB, free: 20.99 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.07e-05/0.5821, allocations: 7.984 kB / 0.5144 GB, free: 20.98 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001122/0.5833, allocations: 0.5485 MB / 0.5149 GB, free: 20.46 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00135/0.5846, allocations: 0.8008 MB / 0.5157 GB, free: 19.67 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001499/0.5848, allocations: 83.95 kB / 0.5158 GB, free: 19.59 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005927/0.5907, allocations: 10.53 MB / 0.526 GB, free: 8.801 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.5907, allocations: 4 kB / 0.526 GB, free: 8.797 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004065/0.5947, allocations: 3.181 MB / 0.5291 GB, free: 5.59 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00143/0.5962, allocations: 0.496 MB / 0.5296 GB, free: 5.094 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005072/0.5967, allocations: 76 kB / 0.5297 GB, free: 5.02 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001121/0.5978, allocations: 135.9 kB / 0.5298 GB, free: 4.887 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003868/0.5982, allocations: 273.3 kB / 0.5301 GB, free: 4.625 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001308/0.5983, allocations: 83.89 kB / 0.5302 GB, free: 4.543 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.001238/0.5996, allocations: 1.44 MB / 0.5316 GB, free: 3.266 MB / 410.8 MB Notification: Performance of sort global known variables: time 2.11e-07/0.5996, allocations: 0 / 0.5316 GB, free: 3.266 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.003789/0.6034, allocations: 1.469 MB / 0.533 GB, free: 1.797 MB / 410.8 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.0005261/0.6039, allocations: 235 kB / 0.5332 GB, free: 1.59 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.003299/0.6072, allocations: 2.853 MB / 0.536 GB, free: 14.87 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 8.368e-05/0.6073, allocations: 55.84 kB / 0.5361 GB, free: 14.82 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00226/0.6095, allocations: 2.02 MB / 0.538 GB, free: 12.84 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003417/0.6129, allocations: 0.9402 MB / 0.539 GB, free: 11.93 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01946/0.6324, allocations: 12.77 MB / 0.5514 GB, free: 15.06 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002237/0.6346, allocations: 1.643 MB / 0.553 GB, free: 13.39 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.00215/0.6368, allocations: 0.6237 MB / 0.5537 GB, free: 12.76 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001715/0.6385, allocations: 0.9598 MB / 0.5546 GB, free: 11.78 MB / 442.8 MB Notification: Performance of SimCode: time 2.214e-06/0.6385, allocations: 0 / 0.5546 GB, free: 11.78 MB / 442.8 MB Notification: Performance of Templates: time 0.2325/0.871, allocations: 61.96 MB / 0.6151 GB, free: 140.6 MB / 490.8 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.197865170892328]