Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.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.0008711/0.0008711, allocations: 91.5 kB / 20.93 MB, free: 3.613 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.0008785/0.0008785, allocations: 156.5 kB / 24.23 MB, free: 328 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.9646/0.9646, allocations: 177 MB / 204.5 MB, free: 5.617 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.2729/0.2729, allocations: 34.87 MB / 295.8 MB, free: 0.5703 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.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=151000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator") translateModel(ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=151000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 378.1 MB, free: 2.301 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.743e-05/1.893e-05, allocations: 3.016 kB / 378.1 MB, free: 2.297 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.03268/0.0327, allocations: 41.05 MB / 419.2 MB, free: 9.078 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02129/0.05399, allocations: 11.31 MB / 430.5 MB, free: 13.73 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004195/0.05818, allocations: 358.1 kB / 430.8 MB, free: 13.38 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01044/0.06862, allocations: 8.407 MB / 439.2 MB, free: 4.934 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006181/0.0748, allocations: 3.773 MB / 443 MB, free: 1.137 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1642/0.239, allocations: 2.328 MB / 445.3 MB, free: 48.42 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.01079/0.2498, allocations: 13.09 MB / 458.4 MB, free: 45.71 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01516/0.265, allocations: 15.59 MB / 474 MB, free: 40.01 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008955/0.2739, allocations: 9.753 MB / 483.8 MB, free: 35.49 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007888/0.2818, allocations: 6.783 MB / 490.5 MB, free: 33.37 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003906/0.2857, allocations: 1.823 MB / 492.4 MB, free: 33.37 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003725/0.2895, allocations: 2.258 MB / 494.6 MB, free: 33.28 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001683/0.2911, allocations: 3.781 MB / 498.4 MB, free: 30.88 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003891/0.295, allocations: 4.837 MB / 0.4914 GB, free: 28.55 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01226/0.3073, allocations: 11.67 MB / 0.5028 GB, free: 23.32 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.3073, allocations: 1.906 kB / 0.5028 GB, free: 23.32 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3073, allocations: 0 / 0.5028 GB, free: 23.32 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003571/0.3077, allocations: 0 / 0.5028 GB, free: 23.32 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: 3043 * Number of variables: 3043 Notification: Performance of Generate backend data structure: time 0.03071/0.3384, allocations: 15.17 MB / 0.5177 GB, free: 13.93 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.3384, allocations: 12.03 kB / 0.5177 GB, free: 13.92 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01695/0.3554, allocations: 6.788 MB / 0.5243 GB, free: 8.621 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01705/0.3724, allocations: 7.42 MB / 0.5316 GB, free: 2.445 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007181/0.3731, allocations: 0.8312 MB / 0.5324 GB, free: 1.625 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003747/0.3769, allocations: 1.098 MB / 0.5334 GB, free: 0.5391 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0188/0.3957, allocations: 9.321 MB / 0.5425 GB, free: 7.152 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001897/0.3959, allocations: 19.33 kB / 0.5426 GB, free: 7.137 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008094/0.3967, allocations: 458.6 kB / 0.543 GB, free: 6.699 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004333/0.3971, allocations: 0.5812 MB / 0.5436 GB, free: 6.113 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01086/0.408, allocations: 4.865 MB / 0.5483 GB, free: 1.23 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06203/0.47, allocations: 45.11 MB / 0.5924 GB, free: 3.809 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01116/0.4812, allocations: 6.449 MB / 0.5987 GB, free: 13.99 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002847/0.484, allocations: 1.568 MB / 0.6002 GB, free: 12.41 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01055/0.4946, allocations: 5.966 MB / 0.606 GB, free: 6.539 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.18e-05/0.4946, allocations: 72.39 kB / 0.6061 GB, free: 6.457 MB / 490.7 MB Notification: Performance of pre-optimization done (n=313): time 5.16e-06/0.4946, allocations: 0 / 0.6061 GB, free: 6.457 MB / 490.7 MB Notification: Performance of matching and sorting (n=340): time 0.2047/0.6994, allocations: 11 MB / 0.6168 GB, free: 148.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.408e-05/0.6994, allocations: 115.4 kB / 0.6169 GB, free: 148.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00515/0.7046, allocations: 4.447 MB / 0.6213 GB, free: 147.8 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003797/0.7049, allocations: 81.11 kB / 0.6214 GB, free: 147.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001883/0.7068, allocations: 5.624 MB / 0.6269 GB, free: 144.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006698/0.7075, allocations: 1.264 MB / 0.6281 GB, free: 144 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00123/0.7087, allocations: 1.386 MB / 0.6294 GB, free: 143.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 4.174e-05/0.7088, allocations: 480.7 kB / 0.6299 GB, free: 143.3 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001515/0.7103, allocations: 0.8818 MB / 0.6308 GB, free: 143.3 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002646/0.7129, allocations: 5.1 MB / 0.6357 GB, free: 138.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004733/0.7177, allocations: 6.505 MB / 0.6421 GB, free: 132.6 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.221e-05/0.7177, allocations: 25.75 kB / 0.6421 GB, free: 132.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=816) (initialization): time 0.007787/0.7255, allocations: 5.839 MB / 0.6478 GB, free: 131.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.082e-05/0.7255, allocations: 45.16 kB / 0.6479 GB, free: 131.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001156/0.7257, allocations: 93.72 kB / 0.648 GB, free: 131.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001719/0.7274, allocations: 0.8062 MB / 0.6487 GB, free: 131.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00289/0.7303, allocations: 1.463 MB / 0.6502 GB, free: 131.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006345/0.7366, allocations: 8.915 MB / 0.6589 GB, free: 123.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0032/0.7398, allocations: 393 kB / 0.6593 GB, free: 123.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004297/0.7402, allocations: 344.5 kB / 0.6596 GB, free: 123.8 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 431 * 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 (767): * Single equations (assignments): 762 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(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): 3 systems {(8,26,67.2%), (2,8,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002717/0.743, allocations: 0.5902 MB / 0.6602 GB, free: 123.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008439/0.7438, allocations: 0.6091 MB / 0.6608 GB, free: 122.9 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005118/0.7489, allocations: 3.33 MB / 0.664 GB, free: 121.8 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002123/0.7511, allocations: 1.501 MB / 0.6655 GB, free: 121.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.35e-05/0.7511, allocations: 9.625 kB / 0.6655 GB, free: 121.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.368e-05/0.7511, allocations: 19.89 kB / 0.6655 GB, free: 121.4 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01481/0.7659, allocations: 10.48 MB / 0.6757 GB, free: 116.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/0.7659, allocations: 5.188 kB / 0.6757 GB, free: 116.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001348/0.7673, allocations: 0.5843 MB / 0.6763 GB, free: 116.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001646/0.7689, allocations: 0.7631 MB / 0.6771 GB, free: 116.6 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001911/0.7691, allocations: 83.27 kB / 0.6771 GB, free: 116.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007191/0.7763, allocations: 13.07 MB / 0.6899 GB, free: 105.1 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/0.7763, allocations: 7.812 kB / 0.6899 GB, free: 105.1 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006217/0.7825, allocations: 4.322 MB / 0.6941 GB, free: 103.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001647/0.7842, allocations: 0.8448 MB / 0.695 GB, free: 102.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004972/0.7847, allocations: 69.17 kB / 0.695 GB, free: 102.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001184/0.7858, allocations: 185.4 kB / 0.6952 GB, free: 102.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006309/0.7865, allocations: 276.2 kB / 0.6955 GB, free: 102.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001669/0.7866, allocations: 104.1 kB / 0.6956 GB, free: 102.6 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003365/0.79, allocations: 2.143 MB / 0.6977 GB, free: 101.9 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.79, allocations: 0 / 0.6977 GB, free: 101.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006566/0.7966, allocations: 1.768 MB / 0.6994 GB, free: 101.8 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (smee.phiMechanical,smee.stator.zeroInductor.i0,smee.stator.core.Phi.im,smee.excitation.electroMagneticConverter.Phi.re,smeeQS.short.port_p.reference.gamma,mechanicalPowerSensorQS.relSpeedSensor.phi_rel) * 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 (298): * Single equations (assignments): 292 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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,8,100.0%), (1,4,100.0%), (1,8,100.0%), (3,4,77.8%), (8,26,64.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005164/0.7971, allocations: 266.5 kB / 0.6996 GB, free: 101.6 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006157/0.8032, allocations: 4.323 MB / 0.7039 GB, free: 98.88 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/0.8032, allocations: 0 / 0.7039 GB, free: 98.88 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002713/0.806, allocations: 2.505 MB / 0.7063 GB, free: 96.55 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002998/0.809, allocations: 1.09 MB / 0.7074 GB, free: 95.67 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02029/0.8292, allocations: 15.73 MB / 0.7227 GB, free: 81.01 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001889/0.8311, allocations: 2.688 MB / 0.7253 GB, free: 79.04 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003119/0.8343, allocations: 1.566 MB / 0.7269 GB, free: 78.05 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007287/0.835, allocations: 379.5 kB / 0.7272 GB, free: 77.7 MB / 490.7 MB Notification: Performance of SimCode: time 2.806e-06/0.835, allocations: 4 kB / 0.7272 GB, free: 77.7 MB / 490.7 MB Notification: Performance of Templates: time 0.07359/0.9086, allocations: 61.83 MB / 0.7876 GB, free: 17.82 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.272587118903175]