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.001176/0.001176, allocations: 84.34 kB / 22.22 MB, free: 2.281 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.00111/0.00111, allocations: 164.1 kB / 25.61 MB, free: 8.859 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.9526/0.9526, allocations: 177 MB / 205.9 MB, free: 4.465 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.144/0.144, allocations: 34.88 MB / 297.4 MB, free: 13.36 MB / 282.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.884e-06/1.884e-06, allocations: 0 / 380.2 MB, free: 22.61 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.849e-05/2.037e-05, allocations: 4.031 kB / 380.2 MB, free: 22.61 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase): time 0.01837/0.01839, allocations: 29.13 MB / 409.3 MB, free: 9.352 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01643/0.03482, allocations: 8.463 MB / 417.8 MB, free: 0.8633 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005977/0.0408, allocations: 250.6 kB / 418 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005294/0.04609, allocations: 1.991 MB / 420 MB, free: 14.61 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009025/0.05512, allocations: 2.852 MB / 422.8 MB, free: 11.74 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004067/0.05918, allocations: 1.807 MB / 424.6 MB, free: 9.934 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.01164/0.07082, allocations: 10.84 MB / 435.5 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007106/0.07793, allocations: 4.978 MB / 440.5 MB, free: 9.98 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0101/0.08803, allocations: 7.549 MB / 448 MB, free: 2.418 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006997/0.09502, allocations: 5.168 MB / 453.2 MB, free: 13.24 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00313/0.09815, allocations: 1.352 MB / 454.5 MB, free: 11.89 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004128/0.1023, allocations: 1.691 MB / 456.2 MB, free: 10.2 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00243/0.1047, allocations: 3.128 MB / 459.3 MB, free: 7.059 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005984/0.1107, allocations: 3.894 MB / 463.2 MB, free: 3.156 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009898/0.1206, allocations: 8.952 MB / 472.2 MB, free: 10.18 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1206, allocations: 0 / 472.2 MB, free: 10.18 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.1206, allocations: 0 / 472.2 MB, free: 10.18 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002348/0.1208, allocations: 0 / 472.2 MB, free: 10.18 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.01829/0.1391, allocations: 11.33 MB / 483.5 MB, free: 14.73 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.402e-05/0.1392, allocations: 8.031 kB / 483.5 MB, free: 14.73 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007647/0.1468, allocations: 3.074 MB / 486.6 MB, free: 11.64 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008329/0.1552, allocations: 5.658 MB / 492.3 MB, free: 5.906 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003666/0.1555, allocations: 0.6425 MB / 492.9 MB, free: 5.262 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001014/0.1565, allocations: 0.8557 MB / 493.8 MB, free: 4.406 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3277/0.4842, allocations: 6.324 MB / 0.4884 GB, free: 73.63 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001807/0.4844, allocations: 4.797 kB / 0.4884 GB, free: 73.63 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008887/0.4853, allocations: 356.6 kB / 0.4887 GB, free: 73.63 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002274/0.4855, allocations: 377.2 kB / 0.4891 GB, free: 73.61 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005412/0.491, allocations: 2.554 MB / 0.4916 GB, free: 73.39 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04039/0.5313, allocations: 28.19 MB / 0.5191 GB, free: 63.13 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005569/0.5369, allocations: 5.13 MB / 0.5241 GB, free: 61.4 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003055/0.54, allocations: 2.38 MB / 0.5264 GB, free: 60.01 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008747/0.5487, allocations: 6.239 MB / 0.5325 GB, free: 54.05 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.522e-05/0.5487, allocations: 75.81 kB / 0.5326 GB, free: 53.96 MB / 410.8 MB Notification: Performance of pre-optimization done (n=310): time 4.458e-06/0.5488, allocations: 0 / 0.5326 GB, free: 53.96 MB / 410.8 MB Notification: Performance of matching and sorting (n=362): time 0.01551/0.5643, allocations: 8.576 MB / 0.541 GB, free: 45.83 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.858e-05/0.5643, allocations: 90.23 kB / 0.5411 GB, free: 45.73 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003157/0.5675, allocations: 3.342 MB / 0.5443 GB, free: 42.97 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0003048/0.5678, allocations: 81.7 kB / 0.5444 GB, free: 42.89 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001434/0.5692, allocations: 4.208 MB / 0.5485 GB, free: 39.16 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007543/0.5699, allocations: 1.336 MB / 0.5498 GB, free: 37.9 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007625/0.5707, allocations: 0.8498 MB / 0.5506 GB, free: 37.12 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.514e-05/0.5707, allocations: 480.8 kB / 0.5511 GB, free: 36.65 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006216/0.5714, allocations: 0.5241 MB / 0.5516 GB, free: 36.12 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001133/0.5725, allocations: 2.697 MB / 0.5542 GB, free: 32.63 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002159/0.5747, allocations: 3.598 MB / 0.5578 GB, free: 28.43 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.765e-05/0.5747, allocations: 12 kB / 0.5578 GB, free: 28.41 MB / 410.8 MB Notification: Performance of matching and sorting (n=587) (initialization): time 0.004627/0.5793, allocations: 3.872 MB / 0.5616 GB, free: 24.82 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.238e-05/0.5793, allocations: 27.98 kB / 0.5616 GB, free: 24.8 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.676e-05/0.5794, allocations: 44 kB / 0.5616 GB, free: 24.75 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001299/0.5807, allocations: 0.6982 MB / 0.5623 GB, free: 24.05 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001825/0.5825, allocations: 0.991 MB / 0.5633 GB, free: 23.12 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005345/0.5878, allocations: 10.7 MB / 0.5737 GB, free: 12.16 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00289/0.5907, allocations: 179.8 kB / 0.5739 GB, free: 11.98 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003671/0.5911, allocations: 172 kB / 0.5741 GB, free: 11.82 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.002011/0.5931, allocations: 454.5 kB / 0.5745 GB, free: 11.43 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001003/0.5941, allocations: 0.5868 MB / 0.5751 GB, free: 10.84 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00346/0.5976, allocations: 2.926 MB / 0.5779 GB, free: 7.914 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-05/0.5976, allocations: 39.98 kB / 0.578 GB, free: 7.875 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-05/0.5976, allocations: 12 kB / 0.578 GB, free: 7.863 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.016e-05/0.5976, allocations: 22.34 kB / 0.578 GB, free: 7.844 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00949/0.6071, allocations: 7.263 MB / 0.5851 GB, free: 1.074 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.038e-05/0.6071, allocations: 12.12 kB / 0.5851 GB, free: 1.062 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001235/0.6084, allocations: 0.5626 MB / 0.5856 GB, free: 0.5273 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001622/0.61, allocations: 0.8416 MB / 0.5865 GB, free: 15.68 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000179/0.6102, allocations: 83.97 kB / 0.5865 GB, free: 15.6 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009362/0.6195, allocations: 13.89 MB / 0.6001 GB, free: 1.367 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.181e-06/0.6195, allocations: 14.06 kB / 0.6001 GB, free: 1.359 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006055/0.6256, allocations: 3.829 MB / 0.6039 GB, free: 13.47 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002196/0.6278, allocations: 0.7965 MB / 0.6046 GB, free: 12.68 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006022/0.6284, allocations: 72 kB / 0.6047 GB, free: 12.61 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00122/0.6296, allocations: 144 kB / 0.6048 GB, free: 12.46 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005209/0.6301, allocations: 273.7 kB / 0.6051 GB, free: 12.2 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001554/0.6303, allocations: 79.97 kB / 0.6052 GB, free: 12.12 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.001951/0.6322, allocations: 1.682 MB / 0.6068 GB, free: 10.61 MB / 442.8 MB Notification: Performance of sort global known variables: time 6.11e-07/0.6322, allocations: 0 / 0.6068 GB, free: 10.61 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.005906/0.6381, allocations: 1.465 MB / 0.6083 GB, free: 9.141 MB / 442.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.0006307/0.6388, allocations: 259.8 kB / 0.6085 GB, free: 8.91 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.004501/0.6433, allocations: 3.307 MB / 0.6117 GB, free: 5.711 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 5.81e-06/0.6433, allocations: 11.53 kB / 0.6117 GB, free: 5.703 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002617/0.6459, allocations: 2.437 MB / 0.6141 GB, free: 3.277 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003422/0.6493, allocations: 0.956 MB / 0.6151 GB, free: 2.336 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02119/0.6705, allocations: 13.1 MB / 0.6279 GB, free: 5.121 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002823/0.6733, allocations: 2.037 MB / 0.6298 GB, free: 3.055 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.002474/0.6758, allocations: 0.6276 MB / 0.6305 GB, free: 2.422 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001952/0.6778, allocations: 1.056 MB / 0.6315 GB, free: 1.363 MB / 458.8 MB Notification: Performance of SimCode: time 1.654e-06/0.6778, allocations: 4 kB / 0.6315 GB, free: 1.359 MB / 458.8 MB Notification: Performance of Templates: time 0.2325/0.9103, allocations: 63.51 MB / 0.6935 GB, free: 129.2 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.852337080985308]