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.0009023/0.0009023, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.0009768/0.0009768, allocations: 162.9 kB / 24.99 MB, free: 9.324 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.9055/0.9055, allocations: 177 MB / 205.2 MB, free: 5.215 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.2439/0.2439, allocations: 34.86 MB / 296.6 MB, free: 0.5117 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.433e-06/1.433e-06, allocations: 0 / 378.9 MB, free: 2.25 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.847e-05/1.99e-05, allocations: 4.844 kB / 378.9 MB, free: 2.246 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase): time 0.02317/0.02319, allocations: 30.34 MB / 409.2 MB, free: 3.773 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01282/0.036, allocations: 8.502 MB / 417.7 MB, free: 11.24 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002831/0.03883, allocations: 246.6 kB / 418 MB, free: 11 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003062/0.0419, allocations: 1.987 MB / 420 MB, free: 9 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004958/0.04685, allocations: 2.84 MB / 422.8 MB, free: 6.141 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002734/0.04959, allocations: 1.819 MB / 424.6 MB, free: 4.32 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.008839/0.05843, allocations: 10.84 MB / 435.5 MB, free: 9.441 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004718/0.06315, allocations: 4.966 MB / 440.4 MB, free: 4.367 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1591/0.2223, allocations: 7.35 MB / 447.8 MB, free: 53.76 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006023/0.2283, allocations: 5.197 MB / 453 MB, free: 53.76 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00233/0.2306, allocations: 1.366 MB / 454.3 MB, free: 53.76 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002542/0.2332, allocations: 1.698 MB / 456 MB, free: 53.76 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00156/0.2347, allocations: 3.159 MB / 459.2 MB, free: 53.76 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004373/0.2391, allocations: 3.916 MB / 463.1 MB, free: 53.76 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007624/0.2467, allocations: 9.009 MB / 472.1 MB, free: 52.64 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.2467, allocations: 0 / 472.1 MB, free: 52.64 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2467, allocations: 0 / 472.1 MB, free: 52.64 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003911/0.2471, allocations: 2.969 kB / 472.1 MB, free: 52.64 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.01762/0.2648, allocations: 11.61 MB / 483.7 MB, free: 46.6 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.2648, allocations: 9.688 kB / 483.7 MB, free: 46.6 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0075/0.2723, allocations: 3.228 MB / 487 MB, free: 45.43 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007768/0.2801, allocations: 5.927 MB / 492.9 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002921/0.2804, allocations: 0.6392 MB / 493.5 MB, free: 42.19 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008248/0.2812, allocations: 0.8531 MB / 494.4 MB, free: 41.9 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01055/0.2917, allocations: 6.887 MB / 0.4895 GB, free: 39.35 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001454/0.2919, allocations: 7.828 kB / 0.4895 GB, free: 39.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005097/0.2924, allocations: 363.7 kB / 0.4899 GB, free: 39.07 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002303/0.2926, allocations: 373.8 kB / 0.4902 GB, free: 39.04 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006697/0.2993, allocations: 3.237 MB / 0.4934 GB, free: 38.53 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02882/0.3281, allocations: 28.39 MB / 0.5211 GB, free: 19.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005771/0.3339, allocations: 5.419 MB / 0.5264 GB, free: 14.96 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003155/0.3371, allocations: 2.592 MB / 0.529 GB, free: 12.38 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008129/0.3452, allocations: 6.489 MB / 0.5353 GB, free: 6.012 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.79e-05/0.3452, allocations: 75.47 kB / 0.5354 GB, free: 5.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=310): time 4.909e-06/0.3452, allocations: 0 / 0.5354 GB, free: 5.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=362): time 0.01601/0.3612, allocations: 10.18 MB / 0.5453 GB, free: 11.77 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.53e-05/0.3613, allocations: 90.23 kB / 0.5454 GB, free: 11.67 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00391/0.3652, allocations: 3.435 MB / 0.5487 GB, free: 8.195 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001722/0.3654, allocations: 89.53 kB / 0.5488 GB, free: 8.105 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001952/0.3673, allocations: 4.175 MB / 0.5529 GB, free: 3.91 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007734/0.3681, allocations: 1.312 MB / 0.5542 GB, free: 2.609 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008754/0.369, allocations: 0.836 MB / 0.555 GB, free: 1.762 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.663e-05/0.3691, allocations: 484.8 kB / 0.5555 GB, free: 1.285 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001456/0.3705, allocations: 0.6843 MB / 0.5561 GB, free: 0.5938 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002146/0.3727, allocations: 2.841 MB / 0.5589 GB, free: 12.86 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003955/0.3766, allocations: 3.882 MB / 0.5627 GB, free: 8.262 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.663e-05/0.3767, allocations: 12 kB / 0.5627 GB, free: 8.25 MB / 442.7 MB Notification: Performance of matching and sorting (n=587) (initialization): time 0.005975/0.3826, allocations: 4.246 MB / 0.5669 GB, free: 4.273 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.722e-05/0.3827, allocations: 27.98 kB / 0.5669 GB, free: 4.246 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-05/0.3827, allocations: 44 kB / 0.5669 GB, free: 4.203 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001579/0.3843, allocations: 0.7134 MB / 0.5676 GB, free: 3.473 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002097/0.3864, allocations: 1.027 MB / 0.5686 GB, free: 2.512 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007524/0.3939, allocations: 11 MB / 0.5794 GB, free: 7.129 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002253/0.3962, allocations: 219.7 kB / 0.5796 GB, free: 6.914 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002544/0.3964, allocations: 208 kB / 0.5798 GB, free: 6.711 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.001754/0.3982, allocations: 455.5 kB / 0.5802 GB, free: 6.324 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007112/0.3989, allocations: 0.5782 MB / 0.5808 GB, free: 5.746 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004875/0.4038, allocations: 3.225 MB / 0.5839 GB, free: 2.504 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.09e-05/0.4038, allocations: 39.98 kB / 0.584 GB, free: 2.465 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.694e-05/0.4038, allocations: 12 kB / 0.584 GB, free: 2.453 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.18e-05/0.4038, allocations: 23.92 kB / 0.584 GB, free: 2.43 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01196/0.4158, allocations: 9.033 MB / 0.5928 GB, free: 9.363 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.926e-06/0.4158, allocations: 4 kB / 0.5928 GB, free: 9.359 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001352/0.4172, allocations: 0.5881 MB / 0.5934 GB, free: 8.797 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001745/0.4189, allocations: 0.8865 MB / 0.5943 GB, free: 7.902 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001734/0.4191, allocations: 83.97 kB / 0.5943 GB, free: 7.82 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009849/0.4289, allocations: 14.29 MB / 0.6083 GB, free: 9.023 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.88e-06/0.4289, allocations: 11.47 kB / 0.6083 GB, free: 9.016 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006288/0.4352, allocations: 4.268 MB / 0.6125 GB, free: 4.617 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001433/0.4366, allocations: 0.8367 MB / 0.6133 GB, free: 3.777 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004093/0.4371, allocations: 83.92 kB / 0.6134 GB, free: 3.695 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001117/0.4382, allocations: 163.9 kB / 0.6135 GB, free: 3.535 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000446/0.4386, allocations: 305.7 kB / 0.6138 GB, free: 3.238 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001583/0.4388, allocations: 102.3 kB / 0.6139 GB, free: 3.141 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002302/0.4411, allocations: 1.87 MB / 0.6157 GB, free: 1.266 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4411, allocations: 0 / 0.6157 GB, free: 1.266 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.1561/0.5972, allocations: 1.464 MB / 0.6172 GB, free: 152.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.0007748/0.598, allocations: 258.9 kB / 0.6174 GB, free: 152.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00436/0.6023, allocations: 3.586 MB / 0.6209 GB, free: 151.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.6024, allocations: 4.156 kB / 0.6209 GB, free: 151.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002237/0.6046, allocations: 2.568 MB / 0.6234 GB, free: 150.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002882/0.6075, allocations: 0.9687 MB / 0.6244 GB, free: 150.1 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01481/0.6223, allocations: 13.24 MB / 0.6373 GB, free: 144.9 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001433/0.6237, allocations: 2.039 MB / 0.6393 GB, free: 144.7 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00192/0.6256, allocations: 0.8735 MB / 0.6402 GB, free: 144.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006356/0.6263, allocations: 317 kB / 0.6405 GB, free: 144.5 MB / 490.7 MB Notification: Performance of SimCode: time 1.643e-06/0.6263, allocations: 0 / 0.6405 GB, free: 144.5 MB / 490.7 MB Notification: Performance of Templates: time 0.06504/0.6913, allocations: 57.86 MB / 0.697 GB, free: 110.4 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.150905287824571]