Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.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.001897/0.001897, allocations: 80.34 kB / 20.67 MB, free: 3.891 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.001986/0.001986, allocations: 164.8 kB / 23.95 MB, free: 0.6055 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 1.622/1.622, allocations: 177 MB / 204.1 MB, free: 5.773 MB / 186.7 MB " [Timeout remaining time 178] 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.3858/0.3858, allocations: 34.86 MB / 295.4 MB, free: 0.5234 MB / 266.7 MB " [Timeout remaining time 179] 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.SMEE_Generator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=15100,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator") translateModel(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=15100,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.512e-06/1.512e-06, allocations: 0 / 443.6 MB, free: 408 kB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.243e-05/2.394e-05, allocations: 4.531 kB / 443.6 MB, free: 404 kB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.1843/0.1843, allocations: 21.44 MB / 465.1 MB, free: 30.15 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01181/0.1961, allocations: 7.102 MB / 472.2 MB, free: 25.11 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003983/0.2001, allocations: 182 kB / 472.4 MB, free: 25.04 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004185/0.2043, allocations: 1.592 MB / 473.9 MB, free: 24.21 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006741/0.211, allocations: 2.428 MB / 476.4 MB, free: 22.59 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00352/0.2145, allocations: 1.483 MB / 477.9 MB, free: 21.68 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.007431/0.2219, allocations: 7.578 MB / 485.4 MB, free: 17.63 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003925/0.2259, allocations: 3.033 MB / 488.5 MB, free: 16.08 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007114/0.233, allocations: 4.85 MB / 493.3 MB, free: 13.76 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006236/0.2392, allocations: 3.226 MB / 496.5 MB, free: 12.57 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002597/0.2418, allocations: 0.8708 MB / 497.4 MB, free: 12.57 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005134/0.247, allocations: 1.285 MB / 498.7 MB, free: 12.44 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003206/0.2502, allocations: 2.192 MB / 0.4892 GB, free: 11.05 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008339/0.2585, allocations: 2.589 MB / 0.4917 GB, free: 9.742 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01976/0.2783, allocations: 11.64 MB / 0.5031 GB, free: 4.164 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.378e-05/0.2783, allocations: 4 kB / 0.5031 GB, free: 4.16 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.976e-06/0.2783, allocations: 1.438 kB / 0.5031 GB, free: 4.16 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003861/0.2787, allocations: 0 / 0.5031 GB, free: 4.16 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: 1496 * Number of variables: 1496 Notification: Performance of Generate backend data structure: time 0.02349/0.3022, allocations: 7.472 MB / 0.5104 GB, free: 15.17 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.3022, allocations: 8.906 kB / 0.5104 GB, free: 15.17 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007544/0.3097, allocations: 1.269 MB / 0.5116 GB, free: 14.55 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01214/0.3219, allocations: 4.081 MB / 0.5156 GB, free: 10.81 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007645/0.3226, allocations: 427.8 kB / 0.516 GB, free: 10.39 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002232/0.3249, allocations: 0.5628 MB / 0.5165 GB, free: 9.828 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01938/0.3443, allocations: 7.568 MB / 0.5239 GB, free: 2.133 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00018/0.3444, allocations: 15.89 kB / 0.524 GB, free: 2.117 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007846/0.3452, allocations: 232 kB / 0.5242 GB, free: 1.891 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003892/0.3456, allocations: 263.3 kB / 0.5244 GB, free: 1.633 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01586/0.3615, allocations: 6.119 MB / 0.5304 GB, free: 11.5 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04512/0.4066, allocations: 20.3 MB / 0.5502 GB, free: 6.621 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008195/0.4148, allocations: 3.93 MB / 0.5541 GB, free: 2.895 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004726/0.4195, allocations: 2.288 MB / 0.5563 GB, free: 0.6055 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01478/0.4343, allocations: 5.655 MB / 0.5618 GB, free: 10.9 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.808e-05/0.4343, allocations: 60.5 kB / 0.5619 GB, free: 10.83 MB / 474.7 MB Notification: Performance of pre-optimization done (n=238): time 5.41e-06/0.4344, allocations: 0 / 0.5619 GB, free: 10.83 MB / 474.7 MB Notification: Performance of matching and sorting (n=282): time 0.03855/0.4729, allocations: 13.18 MB / 0.5747 GB, free: 13.62 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.453e-05/0.473, allocations: 81.53 kB / 0.5748 GB, free: 13.52 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005751/0.4787, allocations: 3.074 MB / 0.5778 GB, free: 10.45 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003314/0.4791, allocations: 69.7 kB / 0.5779 GB, free: 10.37 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002698/0.4818, allocations: 2.786 MB / 0.5806 GB, free: 7.562 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00113/0.4829, allocations: 0.9954 MB / 0.5816 GB, free: 6.559 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001192/0.4841, allocations: 0.6414 MB / 0.5822 GB, free: 5.91 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.4842, allocations: 305.1 kB / 0.5825 GB, free: 5.609 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003131/0.4874, allocations: 1.545 MB / 0.584 GB, free: 4.062 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00463/0.492, allocations: 2.773 MB / 0.5867 GB, free: 0.75 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008011/0.5, allocations: 4.606 MB / 0.5912 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.41e-05/0.5, allocations: 12 kB / 0.5912 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of matching and sorting (n=472) (initialization): time 0.01141/0.5114, allocations: 5.312 MB / 0.5964 GB, free: 6.18 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.346e-05/0.5115, allocations: 24 kB / 0.5964 GB, free: 6.156 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.958e-05/0.5116, allocations: 36 kB / 0.5965 GB, free: 6.121 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001858/0.5134, allocations: 0.6875 MB / 0.5971 GB, free: 5.418 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003674/0.5171, allocations: 0.8541 MB / 0.598 GB, free: 4.562 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01301/0.5301, allocations: 9.868 MB / 0.6076 GB, free: 10.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00355/0.5337, allocations: 223.7 kB / 0.6078 GB, free: 10.08 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004064/0.5341, allocations: 168 kB / 0.608 GB, free: 9.914 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 175 * 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 (427): * Single equations (assignments): 417 * Array equations: 4 * 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 {(3,12,100.0%), (1,6,100.0%), (2,13,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003726/0.5378, allocations: 1.64 MB / 0.6096 GB, free: 8.262 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001048/0.5388, allocations: 377.6 kB / 0.61 GB, free: 7.891 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009321/0.5482, allocations: 4.248 MB / 0.6141 GB, free: 3.57 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.474e-05/0.5482, allocations: 32 kB / 0.6141 GB, free: 3.539 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.396e-05/0.5482, allocations: 15.92 kB / 0.6141 GB, free: 3.523 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.182e-05/0.5483, allocations: 11.95 kB / 0.6142 GB, free: 3.512 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01959/0.5679, allocations: 8.349 MB / 0.6223 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.437e-05/0.5679, allocations: 4 kB / 0.6223 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002384/0.5703, allocations: 0.4918 MB / 0.6228 GB, free: 10.49 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002181/0.5724, allocations: 0.7413 MB / 0.6235 GB, free: 9.73 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002637/0.5727, allocations: 75.95 kB / 0.6236 GB, free: 9.656 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2186/0.7914, allocations: 13.37 MB / 0.6366 GB, free: 146.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.106e-06/0.7914, allocations: 9.812 kB / 0.6367 GB, free: 146.1 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01134/0.8027, allocations: 6.336 MB / 0.6428 GB, free: 144 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002015/0.8047, allocations: 0.6722 MB / 0.6435 GB, free: 143.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009493/0.8057, allocations: 67.22 kB / 0.6436 GB, free: 143.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002339/0.808, allocations: 162.6 kB / 0.6437 GB, free: 143.7 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004778/0.8085, allocations: 220.8 kB / 0.6439 GB, free: 143.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001884/0.8087, allocations: 86.05 kB / 0.644 GB, free: 143.7 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002722/0.8114, allocations: 2.003 MB / 0.646 GB, free: 142.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8114, allocations: 0 / 0.646 GB, free: 142.9 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00402/0.8154, allocations: 1.092 MB / 0.647 GB, free: 142.8 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * 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,smeeE.phiMechanical,smeeE.idq_sr[1],smeeE.idq_sr[2],smeeE.idq_rr[2],smeeE.idq_dr[1]) * 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 (235): * Single equations (assignments): 225 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(2,13,100.0%), (1,5,100.0%), (1,8,100.0%), (3,12,100.0%), (1,6,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000657/0.8161, allocations: 291.2 kB / 0.6473 GB, free: 142.7 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00712/0.8232, allocations: 4.38 MB / 0.6516 GB, free: 140.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/0.8232, allocations: 4 kB / 0.6516 GB, free: 140.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003843/0.827, allocations: 2.732 MB / 0.6543 GB, free: 139.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003603/0.8307, allocations: 0.7436 MB / 0.655 GB, free: 139.2 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01482/0.8455, allocations: 10.32 MB / 0.6651 GB, free: 134.3 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003247/0.8487, allocations: 3.013 MB / 0.668 GB, free: 133.5 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002697/0.8514, allocations: 0.8074 MB / 0.6688 GB, free: 133.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007054/0.8521, allocations: 245 kB / 0.669 GB, free: 133.3 MB / 0.5261 GB Notification: Performance of SimCode: time 1.252e-06/0.8521, allocations: 0 / 0.669 GB, free: 133.3 MB / 0.5261 GB Notification: Performance of Templates: time 0.07349/0.9256, allocations: 45.67 MB / 0.7136 GB, free: 105.1 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.136584838153794]